nesbox / TIC-80

TIC-80 is a fantasy computer for making, playing and sharing tiny games.
https://tic80.com
MIT License
5.03k stars 489 forks source link

[Suggestion] Add Volume parameter to music() function #2286

Open Magicmaan opened 1 year ago

Magicmaan commented 1 year ago

Reason for this: inputting a volume parameter is already featured in the SFX() command, and can be manipulated through both the music editor and RAM addresses for the music tracks. It seems strange that even though music tracks already allow for changing of volumes, through RAM, that it can be done with a simple command.

For implementation, keep it inline with the SFX command whereby you input a value of 0-15 (or decimal). This would be converted to multiply the Mxy values by that amount to increase / decrease

rodigu commented 11 months ago

would really appreciate this feature