funute
Level 30 Chipist
 
bytebeat
1st/6

 
cool breeze 
58th Σ4.953

 
face melt 
30th Σ5.188

 
hawt night 
58th Σ4.881

 
sweaty morning 
85th Σ4.651

 
sun in pants 
63rd Σ4.555

 
frequency machine
 
  54th/230   Σ24.228   Jul 28th 2019 8:45am
 
 
another fm engine thingy, but more fully featured this time around. may put more details here in the comments later, haven't bothered cleaning up the code at all either lol

rendered with bytebeat.js nodejs interpreter, turn down SAMPLE_RATE or FEEDBACK_ITERATIONS if too laggy. greggman's tool doesn't work unfortunately, doesn't like parseInt for whatever reason

=====

Okay, more details since I've got time now:

Everything is stateless! No global/shared state across t's, everything is functional. Not that it's necessarily a requirement for bytebeat, but I figure it's a lot closer to the original spirit of it being a waveform defined as a function of time.

I sort of modeled the FM functions off the YM2612. It allows for any number/arrangement of operators but I stuck with 4OP configurations. I also implemented operator feedback, though I think it's more of an approximation (but it sounds close enough at least?). The instrument parameters were hand-written but closely based off of Streets of Rage (someone already tagged it lol).

Most of the time was spent implementing and fixing the FM functions via trial and error. Ended up actually writing the song part over a few hours after having the idea in my head for weeks, which is why everything past the OUTPUT block is just a hot mess. Most of the song data stuff could definitely be packed better, possibly defined in a more concise way as functions, but as much as I wanted to, it was getting late and I couldn't really be bothered to try to think it through, heheh.

The code is a mess, and I was being a bit minimalist about it, but my goal was to make it easy to define instruments at least, which I think worked out well. The implementation ended up being pretty simple too I think, yay recursion! Just pay no attention to the mess that is the song data.
271
12
126
4
19
 


previous entry
Galgox - Hyper Wonder Modulator


nextious entry
ASIKWUSpulse - Sunny Highway
 
113040
Level 18 Mixist
Blue_Christmas
 
 
 
post #113040 :: 2019.07.28 2:12pm
You can make actual music with this?
Teach me, wise one...
 
 
113785
Level 24 Chipist
th4 D34D
 
 
 
post #113785 :: 2019.08.29 8:17pm
I second Blue_Christmas request, so cool as always funute +)
 
 
133426
Level 7 Signalist
TomCat
 
 
post #133426 :: 2020.12.27 4:17am
that piano! 8-)
 
 
203292
Level 0 n00b
FunnyAhhByting
 
 
post #203292 :: 2024.12.07 4:13pm
behind le scene request
 
 

LOGIN or REGISTER to add your own comments!