Playing a songĪudio samples are compiled by passing instrument, pattern and sequence data to zzfxM(). Once gzipped they're tiny - typically, a few hundred bytes.
Milkytracker stop note mod#
The song format is loosely based on the tracker MOD format, using sequences of repeating patterns to create long songs from small chunks of music data. ZzFXM was developed to create music for size-limited productions (i.e.
Milkytracker stop note generator#
The ZzFXM song generator function - 442 bytes (gzip) Instrument samples are created using a modified version of the super-tiny ZzFX sound generator by Frank Force.
ZzFXM is a tiny JavaScript function that generates stereo music tracks from patterns of note and instrument data.
Milkytracker stop note code#
i'm just going by how modplugtracker does it, it assumes you don't want legato unless you specifically put the commands in (it's even worse there because you have to use it for every single note you don't want retriggered, instead of famitracker's much better behaviour of toggling.) bear in mind though that a note stop should let the following note retrigger.Grab the code or contribute to the project at GitHub.
but anyway.Īs for having to turn on/off legato all the time, that's a problem too. seems like the first note gets messed up cuz of another issue, it's bending from some lower note that isn't there. so i think by default it should follow suit.Īttached another ftm for fun. I guess the other strange thing about the VRC7 behaviour at the moment is that 2A03/VRC6/FDS don't also do it, when really they could. many synthesizers/samplers have separate poly, mono and legato modes for this reason. sometimes you want retriggered notes with porta. plus, i guess it's just a matter of taste as well. You might not want legato in scenarios where the instrument you're using has a short release, and the sound dissipates quickly. The good part is that legato could be useful for other chips/expansions as well, even 2a03. that would be more complex using two different types of porta than using a switch for legato.) i think having a whole new 'legato portamento' effect may be redundant and maybe even more cumbersome (for instance, imagine a scenario where you are writing a passage of notes with portamento, but you want to switch legato on and off here and there. I'm thinking the most elegant solution here is to first change 3xx behaviour so it doesn't enable legato (new notes are always retriggered), and a new effect for enabling legato, which could just be an on/off effect, which can then be combined with 3xx for legato portamento as we have now. but basically, 3xx currently performs two functions on VRC7, which could be separated. I haven't messed with vrc7 much so i haven't noticed these things before. by the same token, you cannot use the portamento effect without FamiTracker also assuming you want legato. even using 3FF, there is still a slight bend between notes, so you cannot use it for legato without some portamento as well (very crap for manuel arps hernandez!) right now 3xx already activates legato mode for VRC7, so it can potentially be used as a makeshift legato-on.