Skip to content
Snippets Groups Projects
Commit 41dfe14c authored by William Fish's avatar William Fish
Browse files

adding

parent edc6e914
Branches
No related merge requests found
......@@ -12,20 +12,17 @@
void Visualizer::setup() {
// Setup the audio component
song.loadSound("C:/Users/Billy/Desktop/house.mp3");
//song.loadSound("C:/Users/Billy/Desktop/house.mp3");
song.setVolume(1.0f);
//ofSoundStreamListDevices();
/*ofSoundStreamListDevices();
ofSoundStream soundStream;
soundStream.setDeviceID(0);
soundStream.setup(2, 2, 44100,256 ,4);
soundStream.setOutput(this);
soundStream.setInput(this);*/
//soundStream.setDeviceID(4);
//soundStream.getNumInputChannels();
ofSoundStream soundStream;
soundStream.printDeviceList();
ofSoundStream soundStream;
soundStream.setup(this, 0, 2, 44100, 256, 4);
soundStream.getSampleRate();
......@@ -70,8 +67,8 @@ void Visualizer::setup() {
particles.push_back(mid1);
// Start the song
song.setLoop(true);
song.play();
/*song.setLoop(true);
song.play();*/
}
//-------------------------------------------
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment