Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

More calls per second for more accurate timing, sequencer, threads

$
0
0

thanks arturo,

I am now using the ofSopundStream to trigger my trigger.

works great so far!

//--------------------------------------------------------------
void ofApp::audioOut(ofSoundBuffer &outBuffer) {

        timepertick = (buffersize*1000)/samplerate; //in milliseconds
        now = tickCount * timepertick;
	myTrigger.call(now);
}

Viewing all articles
Browse latest Browse all 40524

Latest Images

Trending Articles



Latest Images