Rezmason / matrix

matrix (web-based green code rain, made with love)
https://rezmason.github.io/matrix
MIT License
3.29k stars 212 forks source link

Feature Request: add an appropriate sound effect for falling digital rain #42

Open MatrixFr opened 1 year ago

MatrixFr commented 1 year ago

Do you have the possibility of including the sound which would correspond to the passage of the rain chars ?

57r31 commented 1 year ago

how exactly you want to hear chars?

MatrixFr commented 1 year ago

add audio like in film when char fall, it's more imersive !

57r31 commented 1 year ago

example please?

Rezmason commented 1 year ago

Actually, I have a branch called audio_system that introduces this. Rather than emitting a sound for each glyph, the audio system tries to emulate the sounds heard in the franchise when code rain falls. It's very distinctive, but because audio isn't my specialty, I've asked someone else to create a sound file to replace my placeholder file used by the current effect.

Anyway, the sound is emitted multiple times, over and over, overlapping itself. Each instance is pitch-shifted slightly to introduce variation, and is assigned a random volume and pan (within certain parameters).

Once I have a finished sound effect added, I'll merge this into the main branch.