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. UMIDIFile Quark

    ... if( this.exists ) { if( reload or: { all[ rawPath.asSymbol ].isNil }) { file = SimpleMIDIFile.read( rawPath ); if( file.midiEvents.size > 0 ) { all[ rawPath.asSymbol ] = SimpleMIDIFile.read( rawPath ); UMIDIFile.changed( \added ); } { "% : ...

  3. SimpleMIDIFile Doc

    SimpleMIDIFile: Filter: Description Class methods new fromPattern read tempoScale Inherited class methods Instance methods core methods pathName midiEvents metaEvents tempo timeMode division format tracks pitchBendMode init init0 init1 read ...

  4. SimpleMIDIFile Quark

    SimpleMIDIFile part of wslib a MIDI file implementation capable of reading and writing all types of MIDI data (except sysex messages). first an example: ( m = SimpleMIDIFile ( "~/Desktop/midifiletest.mid" ); // create empty file m.init1( 3 ...

  5. 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)}) }); ...

  6. wslib-history Quark

    ... aledUserView ScaledUserView.keepRatio now works (also for ScaledUserViewWindow) SimpleMIDIFile.p added (creates a Ppar'ed set of Pbinds) -> call .p.play to play as pattern added dependancies folder added PlayBufCF and PlayBufAlt classes (no ...

  7. 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 ); // ...

  8. extSimpleMIDIFile-asEvents Quark

    // requires SimpleMIDIFile.sc from wslib + SimpleMIDIFile { playNotesWithFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track ...

  9. 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 ...

  10. extSimpleMIDIFile-checkWrite Quark

    // write file using the wslib file management options + SimpleMIDIFile { checkWrite { arg newFileName, overwrite= false, ask= true; var theFile; newFileName = newFileName ?? pathName; newFileName = newFileName.standardizePath; newFileName = ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow