Minim cannot find BufferedAudio
in
Core Library Questions
•
6 months ago
I'm trying to load the samples from an audio recording into a float array, using the method suggested from the Minim library. However, I'm getting the error "Cannot find anything named 'BufferedAudio'".
Argh! Any suggestions?
Argh! Any suggestions?
- import ddf.minim.*;
- String filename = "jingle.mp3";
- AudioSample song;
- Minim minim;
- float[] samples;
- void setup() {
- minim = new Minim(this);
- song = minim.loadSample(filename);
- samples = song.getChannel(BufferedAudio.LEFT);
- }
1