http://nocash.emubase.de/fullsnes.htm#s ... brrsamples
Look on the note about creating BRR Samples:
Um Ok, thanks FullSnes!! However...
and most importantly these two lines:
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ????
He flipped the signs, contrary to what the first line anticipates. (but clipped to +3FFFh below). Also, if you follow the common sense of "Clip 15 bit" to $7fff, you will get +$3fff as a result. So I think that's a mistake, you probably don't want to make that negative like it suggests. Please clarify it.
Look on the note about creating BRR Samples:
Quote:
When creating BRR data, take care that "new" does never exceed -3FFAh..+3FF8h, otherwise a number of hardware glitches will occur:
Um Ok, thanks FullSnes!! However...
Quote:
If new>+7FFFh then new=+7FFFh (but, clipped to +3FFFh below) ;\clamp 16bit
If new<-8000h then new=-8000h (but, clipped to ZERO below) ;/(dirt-effect)
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ;\clip 15bit
If new=(-8000h..-4001h) then new=(-0..-3FFFh) ;/(lost-sign)
If new>+3FF8h OR new<-3FFAh then overflows can occur in Gauss section
If new<-8000h then new=-8000h (but, clipped to ZERO below) ;/(dirt-effect)
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ;\clip 15bit
If new=(-8000h..-4001h) then new=(-0..-3FFFh) ;/(lost-sign)
If new>+3FF8h OR new<-3FFAh then overflows can occur in Gauss section
and most importantly these two lines:
Quote:
If new>+7FFFh then new=+7FFFh (but, clipped to +3FFFh below) ;\clamp 16bit
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ;\clip 15bit
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ;\clip 15bit
If new=(+4000h..+7FFFh) then new=(-4000h..-1) ????
He flipped the signs, contrary to what the first line anticipates. (but clipped to +3FFFh below). Also, if you follow the common sense of "Clip 15 bit" to $7fff, you will get +$3fff as a result. So I think that's a mistake, you probably don't want to make that negative like it suggests. Please clarify it.