-
cpsmidi convert cycles per second to MIDI note a.cpsmidi cpsmidi(a) 440.cpsmidi.postln
-
midicps convert MIDI note to cycles per second a.midicps midicps(a) ( { Saw.ar(Line.kr(24,108,10).midicps, 0.2) }.play)
-
Pattern control by external device Control of parameters by MIDI or HID To get pattern values from a HID device, use the PhidKey or PhidSlot pattern. For MIDI, the best approach is to save an incoming value into a variable, and then use Pfu ...
-
... to set up this aggregate device only once. To do so, you have to open the Audio MIDI Setup application (in /Applications/Utilities) "open -a 'Audio MIDI Setup'" .unixCmd; // execute this to launch it – you should do this from an user accoun ...
-
... ver will send an OSC bundle setting the "note" and "velocity" parameters when a MIDI noteon or noteoff message is received. For this to work you need a host that supports Midi effect AudioUnits and sends them MIDI mesages. - BeatDiv: For li ...
-
... ines how the data will be streamed. For example, we used this routine to output MIDI note numbers to play a couple of phrases from 'Over the Rainbow.' r = Routine ({ [60, 72, 71, 67, 69, 71, 72, 60, 69, 67].do({ |midi| midi.yield }); }); wh ...
-
NoteOnResponder see also MIDIResponder NoteOnResponder(function, src, chan, num, value, install = true,swallowEvent = false) ( c = NoteOnResponder ({ |src,chan,note,vel| [src,chan,note,vel].postln; }, nil , // any source nil , // any channe ...
-
... e built-in microphone or input may require creating an aggregate device in AudioMIDI Setup. "open -a 'Audio MIDI Setup'" .unixCmd; // execute this to launch it See also: In , ServerOptions // world's most expensive patchcord (use headphones ...
-
... y 72 notes ) + LFNoise1 .kr([3,3], 0.04) // add some low freq stereo detuning ).midicps, // convert midi notes to hertz 0, 0.1) // drone 5ths + RLPF .ar( LFPulse .ar([48,55].midicps, 0.15), SinOsc .kr(0.1, 0, 10, 72).midicps, 0.1, 0.1); // ...
-
... addAction durEvent // duration, tempo and articulation ampEvent // volume, pan, MIDI velocity pitchEvent // pitch specified in many different ways bufferEvent // buffers on the server midiEvent // defines the sending of midi messages Useful ...