I’m trying to create a bass and treble buttons in my application. For that I’m using de DSP_TYPE effects (Lowpass and Highpass).
I can make already the music file sound "thinner" or "thicker", but I’m having problems with the undoing of effects on it. I want to be able to continuously increase and decrease the frequencies on the file and be able to listen to the results of those actions.
For example if I continuously increase the frequency and listen to the sound file getting "thinner", I want to be able to undo it and put it back to normal.
Is that possible?
I’ll appreciate any help you can give me.
- Sacotram asked 7 years ago
[quote="peter":2vbxdv0s]Hi there Sacotram, welcome to the FMOD Forum. It’s not entirely clear what you mean when you describe the sound as "thinner" or "thicker". You also talk about changing the frequency of the file, are you actually calling setFreqency or are you just talking using the high and low pass filters?[/quote:2vbxdv0s]
Thank you Peter for your answer!
I didn’t explain myself well, I’m sorry! 😕
What I want is to create two buttons in my application, bass and treble, like those in an audio system. For example, if I want to continuously increase/decrease the bass in my music I use the bass button.
So I am using the low pass filter in order to filter high frequencies and getting the music file to sound bassier than the normal.
I have successfully managed to increase the bass to a certain value (range) but my problem is that I can’t undo it. I can’t decrease the bass till its normal/default value (range/frequency). The music file keeps sounding bassier even when I decrease the bass.
I am using this to create the bass effect: [i:2vbxdv0s] «result = system.createDSPByType(FMOD.DSP_TYPE.LOWPASS, ref dsplowpass)»[/i:2vbxdv0s] and using the following to change the values of the latter [i:2vbxdv0s] «result = dsplowpass.setParameter(number, buttonBass.Value);»[/i:2vbxdv0s]. Any help on this please?
The same happens with the treble button (filtering low frequencies).
I hope I made myself clear this time.
- Sacotram answered 6 years ago
Hi there Sacotram, welcome to the FMOD Forum. It’s not entirely clear what you mean when you describe the sound as "thinner" or "thicker". You also talk about changing the frequency of the file, are you actually calling setFreqency or are you just talking using the high and low pass filters?
- Guest answered 6 years ago
Please login first to submit.