0
0

I’m doing my Beat Detection in DSP chain after FSOUND_Stream_Play.

But, it’s so [edit]SLOW[/edit] . I want to accelerate the DSP chain.

Anything I can do for it?

[added] I want to do whole music data processing in 5 sec. My BPM detection module with .wav works in that time. But this module have to wait until the DSP chain send samples to them.

  • You must to post comments
0
0

I found one way.

[code]int chan = FSOUND_PlaySoundEx(FSOUND_FREE, sample, 0, TRUE);
FSOUND_SetFrequency(chan, 44100 * x);
FSOUND_SetPaused(chan, FALSE);[/code]

Thanks

  • You must to post comments
0
0

Suppose there is a mp3 file with 44100freq total 1sec, stereo. And it is loaded and FSOUND_SetFrequency( ~, 44100 * 10).

First Question)

        It's total 44100 * 1 sec * 2 (stereo) datas will be input to DSP chain with 10 times speed. Right? or DSP-input-data-number does not changed by FSOUND_SetFrequency?

Second Question)

        When I do FSOUND_SetFrequency( ~, 44100*10000), "FSOUND_Stream_GetPosition" and "FSOUND_Stream_GetTime" has large disconsistency especially when I set output freq over 44100.  Why?
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.