blargg wrote:
The high-pass filter in the NES should help compensate somewhat, depending on where you encounter the issue. I haven't looked very closely at how you do this (just listened to the NSFs quickly), but I'm assuming you basically have several looped DMC samples at differen frequencies so that in combination with the DMC rates you can hit every note for a couple of octaves.
well "several" being two per octave. since on the $0-$7 scale, the notes (relative to C) you get are C D E F G A B, this leaves out sharps... so with C-sharp as a base, you get C# D# F F# G# A# >C which fills in those gaps nicely. all i did for the next octave is make a sample at one octave higher (one could argue that i could have simply gone higher with the low-octave C and C# notes and added in D and D# as new bases to keep the volume consistent, but D and D# wouldn't have sounded quite as smooth.. C# was a bit rougher than C was, so i didn't stick with that idea). and yeah they're looped, but they loop every 1 second or so (some are shorter).
blargg wrote:
If this is the case, for the lower frequency samples can you simulate zero samples by alternating between +2 and -2? This would result in a faint tone which might be reduced by randomizing the order of alternations.
huh? what about +2 and -2? if you mean resetting the wave or anything, with mml and the way the music is written, i'm pretty limited to 60hz, so anything screwy like that isn't too viable. if that's what you meant.
blargg wrote:
With the MML integration it will be a useful technique for freeing up the triangle channel for higher notes of another melody line.
which is pretty much how i used it in absolution.nsf