Import a midi file easily in SuperCollider

Import a midi file on 3 Arrays : notes, durations & dates.

// notes, durations, dates <=
# n, d, t = ImportMidiFile(« ~/Desktop/bwv772.mid »);

> importMidiFile.sc <

Publicités