[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Some 3.3 work
Just to know and to bring some ideas from a user pov:
- What about mapping audio buses as synth controls for 3.3?
<http://sourceforge.net/tracker/index.php?func=detail&aid=1991641&group_id=54622&atid=474251>http://sourceforge.net/tracker/index.php?func=detail&aid=1991641&group_id=54622&atid=474251
here is a solution, a bit of a hack, but works as long as there is no
change in the synthDef format.
(
q = ();
q.audioBusses = Bus.control(s, s.options.numAudioBusChannels);
q.audioBusses.setn((0..s.options.numAudioBusChannels-1));
q.mapAudio = { |q, node, key, bus|
node.set(key, bus);
};
q.audioControl = { |q, key, numChannels|
In.ar(Control.names(key).kr(0), numChannels)
};
)
(
a = {
SinOsc.ar(q.audioControl(\freq, 2)) * 0.1
}.play;
b = { Out.ar(62, LFNoise2.ar(1.dup).exprange(800, 1700)) }.play;
);
q.mapAudio(a, \freq, 62);
I'll see if I can implement it in JITLib, so that it can be used easily.
--
.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/