player.connectTo(fft).connectTo(output);
and
player.connectTo(tap).connectTo(output);
work perfectly.
but
player.connectTo(tap).connectTo(fft).connectTo(output);
gives the error: /Users/jasonlevine/Code/of_v0.8.0_osx_release/apps/myApps/fileplayertest/src/testApp.cpp:10:19: Non-const lvalue reference to type 'ofxAudioUnit' cannot bind to a value of unrelated type 'ofxAudioUnitFftNode'
and
player.connectTo(fft).connectTo(tap).connectTo(output);
give the error: /Users/jasonlevine/Code/of_v0.8.0_osx_release/apps/myApps/fileplayertest/src/testApp.cpp:10:19: Non-const lvalue reference to type 'ofxAudioUnit' cannot bind to a value of unrelated type 'ofxAudioUnitTap'
Hello,
I'm a currently trying to get the waveform and FFT from a fileplayer.
Given: ofxAudioUnitFilePlayer player; ofxAudioUnitTap tap; ofxAudioUnitFftNode fft; ofxAudioUnitOutput output;
player.connectTo(fft).connectTo(output); and player.connectTo(tap).connectTo(output); work perfectly.
but player.connectTo(tap).connectTo(fft).connectTo(output); gives the error: /Users/jasonlevine/Code/of_v0.8.0_osx_release/apps/myApps/fileplayertest/src/testApp.cpp:10:19: Non-const lvalue reference to type 'ofxAudioUnit' cannot bind to a value of unrelated type 'ofxAudioUnitFftNode'
and player.connectTo(fft).connectTo(tap).connectTo(output); give the error: /Users/jasonlevine/Code/of_v0.8.0_osx_release/apps/myApps/fileplayertest/src/testApp.cpp:10:19: Non-const lvalue reference to type 'ofxAudioUnit' cannot bind to a value of unrelated type 'ofxAudioUnitTap'