Tucsky/aggr

what is sound effect on website?

efeint01 opened this issue · 4 comments

hello, maybe this question can be considered absurd.
but where can I find the .mp3 file of the sound effects playing on the site?

I know the audio is generated dynamically, but is it taken from any .mp3 file?

That's a good question actually. Sound effects are 100% generated by default. It's just frequencies. But you can use your own mp3/wav/ogg audio file if you want

Thanks. Can you share the method you used to create the sound? what are frequency settings

Sure, it's all here

For the most part it's a combination of sine wave audio signals that goes through Tuna.js to make it easy on the ears / more sophisticated
The gain used for each sound is relative to the trade volume / significant trade volume