Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

SoundCipher - how can I access the notes in an imported midi score?

$
0
0

Using the example MidiFilePlayer,pde in the SoundCipher Library examples: How would I go about accessing the numerical midi note data/array contained in sc.score?

Example:

import arb.soundcipher.*;

SoundCipher sc = new SoundCipher(this);
sc.score.addMidiStream(sc.app.createInput("minimalism.mid"));
sc.score.play();
println(sc.score);    // how do we access individual note values as pitch/volume etc from this?

Viewing all articles
Browse latest Browse all 2896

Trending Articles