No.942
1
1x1.png
(95B, 1x1)
%3Ca%20href%3D%22%2Fbtb%2Fsrc%2F1682435727081-0.png%22%20onclick%3D%22return%20expandFile%28event%2C%209420%29%3B%22%3E%3Cimg%20src%3D%22%2Fbtb%2Fsrc%2F1682435727081-0.png%22%20width%3D%221%22%20style%3D%22max-width%3A%20100%25%3B%20height%3A%20auto%3B%22%3E%3C%2Fa%3E
I've looked at some bytebeats with reverb and I've tried to understand how it works. From what I understand, it seems to me that it works something like this:
- Declare an Array object and fill it with 0s
- Take your "melody" or whatever and add <Array>.shift() to it
- Push that divided by a number??? (like 3) maybe??? into the array
- Set the output to the "melody"
I still don't have a good idea of this. I tried doing this myself:
t?0:d=Array(2000).fill(0),main=sin(t/4)/4+d.shift(),d.push(main),main
Dollchan
it's messy lol xD
Dividing main by 2 or larger in d.push(main) gives a
different result: I hear a bit of bounciness and the tone comes back. I turned the ample rate down to 8000 and I heard it wasn't a smooth decrease; it seems to "step". Lastly, I
decided to use a number between 1 and 2 and the fading is slower, but I could still tell I did it wrong because of the "stepping".
Could someone please correct me on whatever I may have messed up, explain reverb properly, and give a basic example of using it?