Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (23) Code (6) Doc (1) Quark (16) SCDoc ↗ Forum ↗ Google ↗
  1. Import midinote, dur, amp and sustain from midi file using SimpleMIDIFile by 0-2U (grirgz) Code

    ... ://sccode.org/1-5aT) but here is also a way to retrieve the values directly m = SimpleMIDIFile.read( "~/Téléchargements/Super Mario Bros 2 - Mario Dreams.mid" ); ( TempoClock.default.tempo = m.tempo/60; Pdef(\bla, Pbin ...

  2. Import a midi file easily by sebastienclara (sebastienclara) Code

    ... iFile; var notes, durees, dates; var on, off, datesIndex; midiFile = SimpleMIDIFile.read(file); if (typeMidi == 0,{ midiFile.noteEvents.do({ |i| if(i[2] == \noteOn, {on = on.add(i)}, {off = off.add(i)}) }); ...

  3. MIDIFile player with CC capability by lfsaw (LFSaw) Code

    ... http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/simpleMIDIfile-play-via-MIDIOut-including-CC-td7632193.html ( // create a MIDI file m = SimpleMIDIFile("~/output.mid"); m.init1; m.timeMode_( \seconds ); // ...

  4. SimpleMIDIFile help by wingel-prez-mendoza (Wingel Pérez Mendoza) Code

    ... code doesn´t play the rhythm, could you help me, please??? Greetings, ( m = SimpleMIDIFile.read("C:/Users/WM/Documents/Peter code/Midi/Croatia.mid"); m.timeMode_('seconds'); // convert ticks to seconds ); ( MIDIClient.init; // check ...

  5. MIDI value recorder by lfsaw (LFSaw) Code

    ... # val, chan, src = args; }); // correct message type to correspond to SimpleMIDIFile format // [msgType, val, ctlNum, chan, src].postln; // for first element, set startTime to current raw seconds q.startTime.isNil.if({ ...

  6. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    ... wser (one click only), "copy" it (ctrl+C), paste (ctrl+V) path here: ~melody = SimpleMIDIFile.read( "/home/sclork/Downloads/melody.mid" ); // you can load as many midi files as you want, just create other variables for them (~melody1, ~ ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow