-
Get started using midi controllers with this script to easily output note on/off and continuous controller messages. // A simple script to help you get started with midi controllers // It will dump midi note on, off, and continuous contro ...
-
This snippet is a proof of concept showing how to map MIDI CC to MIDI Sysex messages. It can be improved by filtering MIDI source, and routing channel and control number in a neater way. unfortunately i couldn't test this code on my s ...
-
simple MIDI data recorder. records MIDI into an array. Save data as ".mid" file (readable e.g. by Ableton Live). // requires SimpleMIDI from wslib quark "wslib".include; MIDIClient.init; MIDIIn.connectAll; /* MIDIFunc.trace; // sho ...
-
Basic example - how to use a MIDI keyboard with a simple synth MIDIIn.connectAll; // MIDIClient.init; ( // A SynthDef with ADSR envelope SynthDef("quick2", {arg freq = 440, amp = 0.1, gate = 1; var snd, env; env = Env.adsr(0.01, ...
-
s.boot; MIDIClient.init; // check the array of midi destinations for the device you are using, and then create a MIDIOut // at the index of the destination you plan on using // in the case that the midi destination you are using is ...
-
... req,amp,pan; var out, env; env = Env.perc(0.01,0.5); out = SinOsc.ar(freq.midicps,0,1.0) * EnvGen.kr(env, doneAction: 2); out = Pan2.ar(out, pan); out = FreeVerb.ar(out, 0.3,0.3,0.1,amp); Out.ar(0, out); }).send(s); ) /*T ...
-
Load a MIDI file and play it with your own SynthDef. Examples of how to use it with Pbindf // you can create your midi file using MuseScore, Finale, Sibelius, Logic, etc. // TIP: create one separate midi file per layer (melodies, chords, e ...
-
Simple example showing how to listen for MIDI control messages // connect will connect to all midi in devices // if you need to specify one, // check the sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) ...
-
... trying to emulate gui and behaviour of osculator. Ended up being just a OSC to MIDI CC converter... but it's open to other things. Feel free to enhance and complement, or even make a class for this (and a future Quark?) Goal was to use ...
-
it avoids jump of value when the value on your GUI and the value of your midi controller are differents. In other words your midi controller take control only when it reaches the value of your GUI. Thanks to sludgefree and alberto de campo ...