0
0

I was read ALL the documents and Tutorial, see examples, download Directx 9, change buffersize, etc. But I CANT DO EQUALIZER WORKS IN MY PLAYER, nothings happens! PLEASE HELP ME!!!

see my code:

Private Sub cmdInit_Click()
Dim result As Boolean
Call FSOUND_SetBufferSize(100)
result = FSOUND_Init(44100, 16, FSOUND_INIT_GLOBALFOCUS)
end sub

Private Sub cmdPlayStream_Click()
streamChannel = FSOUND_Stream_PlayEx(0, streamHandle, 0, False)
end sub

Private Sub cmdEQU_Click()
Dim SI
FSOUND_SetPaused FSOUND_SYSTEMCHANNEL, True
SI = FSOUND_FX_Enable(0, FSOUND_FX_PARAMEQ)
Call FSOUND_FX_SetParamEQ(SI, 12000, 18, 4)
FSOUND_SetPaused FSOUND_SYSTEMCHANNEL, False
MsgBox SI
end sub

ALLWAYS SI = -1

  • You must to post comments
0
0

where do you open your stream? You didnt show that bit. Did you use FSOUND_ENABLEFX flag?
Also try calling FSOUND_Stream_SetBufferSize to a bigger number than default, as directsound fx require a certain size buffer to work (i dont know why) I think the docs mention this.

For effects I would recommend FMOD Ex, it is a lot more flexible and just works straight away without having to rely on directx.

  • You must to post comments
0
0

Thanks for the answer bro!!!!
I play like this:

CANCION = FSOUND_Stream_Open(CUAL, FSOUND_ENABLEFX, 0, 0)

this play the song, do spectrum, time, everything!, and i put buffersize to 200 and nothing happen with efect.

THANKS FOR YOUR HELP, your are my PANA (my friend in venezuelan spanish).

  • You must to post comments
0
0

FSOUND_Stream_BufferSize? I think 200 is too small, the default is 400.. try 1000

  • You must to post comments
0
0

Thanks bro…

i put buffersize 1000, nothing happen, i do another player in other computer with vb fmod sample, write the code:

‘ON LOAD::::::::::::::::::
Dim result As Boolean
result = FSOUND_Init(44100, 32, FSOUND_INIT_ENABLESYSTEMCHANNELFX)
FSOUND_SetBufferSize (1000)

‘PLAY::::::::::::::::::
streamhandle = FSOUND_Stream_Open(CommonDialog1.filename, FSOUND_NORMAL, 0, 0)

streamChannel = FSOUND_Stream_PlayEx(0, streamhandle, 0, False)

‘BUTON:::::::
Dim SI
FSOUND_SetPaused FSOUND_SYSTEMCHANNEL, True
SI = FSOUND_FX_Enable(0, FSOUND_FX_PARAMEQ)
Call FSOUND_FX_SetParamEQ(SI, 12000, 18, 4)
FSOUND_SetPaused FSOUND_SYSTEMCHANNEL, False
MsgBox SI

And SI = -1 like the other player. I only want to do a simple equalizer to my player, i have all done with fmod 3.75, fastfordward, trackbar, time, playlist, tagID3v1 and v2, control panel, random, etc. I dont want do everything again! help me men.

  • You must to post comments
0
0

CAN SOMEBODY HELP ME WITH THIS???? PLEASE!!!!

I ONLY NEED A LITTLE EXAMPLE, FOR AN EQUALIZER TO MY PLAYER WITH FMOD 3.75

  • You must to post comments
0
0

Alright, Use FSOUND_SetBuffer before using FSOUND_INIT….

  • You must to post comments
0
0

No men, nothing……………..

I DONT UNDERSTAND, ENABLE_FX DONT WORK!!!!

HELP MEEEEEEEEEEEEEEEEEEE!!!!!!!

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.