0
0

hiho :)

i recorded sample with
FSOUND_Record_StartSample(smpl,false);
and finished with
FSOUND_Record_Stop();

the whole program works great, but now i need to set the volume of the sample higher. But whenever i read the Volume with FSOUND_Sample_GetDefaults(….), i get the value 255 as volume, even when i recorded, while not speaking anything in my microphone.
But setting the Volume with
FSOUND_Sample_SetDefaults(….), to lower values than 255 makes the sample more quiet. So that works.
What is my mistake?
How can i set the Volume higher? (make the sample louder)

EDIT: I use Win2k, and Borland Cbuilder6

thanks for helping 😉

toby

  • You must to post comments
0
0

you cant make sound louder using fmod, you need to implement a dps callback which amplifies the sound

  • You must to post comments
0
0

ok i’ll try it in that way, but what i am thinking about is, that i never had a VolumeValue different to 255. Is it possible that 255 is always the value if you load an audiofile into a FMOD_SAMPLE, and not a real absolute value.

  • You must to post comments
0
0

the default of 255 volume means that the sample is played at its normal volume, any lower means that the volume is reduced. volume does not idicate the actual volume of a sample use FSOUND_GetCurrentLevels for that

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.