Hi all
I'm trying to implement an equalizer in my audio playback program, and because I've never done that before, I'm using Winamps Equalizer as an inspiration to how it should look and work. The equalizer bands are no problem, but winamps equalizer also has two other features that I don't know how to implement. And I can't off hand locate anything in the documentation either:
I'm talking about the Pre-amplifier slider and the Right/Left Balance slider.
Does anybody know how to do that?
Also, Winamp has an Auto setting for the equalizer that can be on or off. Does anybody know what that button does?
And last but not least: Winamp uses a preset file format called EQF and Audio DJ Studio uses XML files with an EDJ extension. Does anybody know if it's possible to convert EQF files to EDJ or the other way around and/or load and save presets to EQF format. I'm asking because I wanted to implement an import/export funktion to and from Winamp...
Sorry for having so many questions. I would be grateful if I could at least get a push in the right direction... ;-)
Cheers,
Johnny J.
BTW: I was struggling to find out how to implement the standard Winamp presets, but luckily that is already included in the control, so that turned out much easier than I could have imagined. Thanks a lot Multimediasoft!
Hi Johnny,
the Active DJ Studio component comes with a set of methods for implementing the pre-amplifier:
- PreAmplifierEnable
- PreAmplifierGetValue / PreAmplifierSetValue
- PreAmplifierGetSpeakerValue / PreAmplifierSetSpeakerValue
An existing equalizer can be enabled/disabled through the EqualizerEnable method. See the "How to create and use an Equalizer" tutorial available inside the documentation for further details.
Unfortunately EQF files are not supported directly and their internal format is currently unknown to us.
Hope this helps.
Kind Regards
Severino Delaurenti
MultiMedia Soft
Thanks a lot Severino. That was a big help! :D
Cheers,
Johnny
Just one more question, Severino:
You can set the Equalizer enabled using the EqualizerEnableMethod, but how do you GET whether or not it is enabled (for the purpose of updating an enabled checkbox with the current status)?
Cheers,
Johnny
Hi Johnny,
there is no method for reporting the current enabled state for the equalizer but, by default, each instanced player comes with its own equalizer already enabled so, at the beginning of the application's life, you may already set the checkbox in checked state.
Kind Regards
Severino Delaurenti
MultiMedia Soft
OK, The problem is that I have my AudioDjStudio (with equalizer) on one form, and I want to open another form with the controls for editing the equalizer settings. When I do that, I need to set the control values correctly, and I do that by reading the settings and values from the AudioDjStudios Equalizer properties. When the properties are edited, I close the form and apply the new settings.
That means the I have to keep track of the enabled state on the main form the whole time. Not a 100% ideal solution, but I guess I can do that.
I just can't understand, however, why you haven't made a boolean EqualizerEnabled setting to turn it on/off and get the current state (The way it is with all .NET controls). May I suggest in a future version? ;)
Hi Johnny,
certain specific features are usually added after a specific request or after hearing customers feedback, as in this case: we will certainly add this feature in our to-do list for the next minor version of the component.
Kind regards
Severino Delaurenti
MultiMedia Soft
Thanks, I'm happy with that! ;)