SoundCipher library question: playMidiFile() generates error

edited September 2014 in Library Questions

hi, i have a simple piece of code that uses the SoundCipher library to play a MIDI file that runs into an error:

import arb.soundcipher.*;
SoundCipher sc = new SoundCipher();
sc.playMidiFile("bag6_3.mid", 220);

The file bag6_3.mid is in the data folder of the sketch as instructed on http://explodingart.com/soundcipher/tutes/midi_player/midi_player_tute.html. But when I run the sketch, I get the following error:

"SoundCipher IO error: in playMidiFile(): null"

What am I missing?

Thanks!

Tagged:
Sign In or Register to comment.