Hello everyone.
I am using the latest version of nvgt found on GitHub.
I would like to know how to use the new effects system to apply reverb, compression, and other effects.
Hello everyone.
I am using the latest version of nvgt found on GitHub.
I would like to know how to use the new effects system to apply reverb, compression, and other effects.
Hi,
Adding effects to a sound is remarkably easy, though we're still working on adding more effects.
For example if you want to filter a sound, you can do:
my_sound.effects_chain.add_node(audio_high_pass_filter(2000, 2));
If you run the other/generate_engine_dump.nvgt script you can get if you download the repository source code, you can look at classes/audio_node_chain.txt to see a reference of all functions you can call on the my_sound.effect_chain object.
Reverb is a bit more complicated in a 3d space. This is because the signal for each sound that reaches the reverb needs to have it's volume adjusted based on the distance of the sound to the listener, at least with the current workflow, whatever happens the audio must be split off for reverb processing before it gets attenuated by distance. NVGT has a way to achieve this. Again if you download the repository source code, you can see how it's done in test/interact/sound_verb.nvgt.
Please note that the interface is still under development and as such, some bits of it might change before the final release.
Hope this helps and please don't hesitate to ask more questions!
Thank you very much!
if I have more questions, i will write again.