Next is my Beat Detection Process
[code:12n9psy1] 1. Detect BPM in DSP chain
2. Estimate Next beat by latest beat and BPM
3. Add SyncPoint before it played.
( I do FSOUND_Stream_AddSyncPoint in the LowPassCallback of fmod sample. )
4. Beat Out by the function which is set by FSOUND_Stream_SetSyncCallback
But SyncCallBack does not called at the set point. I Add SyncPoint at the far next position from currently streamming point( even far from currently file reading point)
However SyncCallBack is called when it rewind it, and play again.
Ofcourse I do it without NONBLOCKING flag. And maybe all settings are right.
Can anyone tell me the reason?
- kiplring asked 15 years ago
- You must login to post comments