// RMT envelope distortion parameters is 0-7 which allows for a maximum of 8 tables [distortion] $00, $20, $40, $c0, $80, $a0, $c0, $c0 // original order: $00, $20, $40, $c0, $80, $a0, $c0, $c0 // actual order of distortion settings? matches what I noticeed in RMT.exe with HEX editing [FrequencyTables8Bit] //$60? duplicate of $C0... fallback for 16-bit $BF,$B6,$AA,$A1,$98,$8F,$89,$80,$F2,$E6,$DA,$CE,$BF,$B6,$AA,$A1, $98,$8F,$89,$80,$7A,$71,$6B,$65,$5F,$5C,$56,$50,$4D,$47,$44,$3E, $3C,$38,$35,$32,$2F,$2D,$2A,$28,$25,$23,$21,$1F,$1D,$1C,$1A,$18, $17,$16,$14,$13,$12,$11,$10,$0F,$0E,$0D,$0C,$0B,$0A,$09,$08,$07, //$E0? Tuning could be improved... $FF,$F1,$E4,$D8,$CA,$C0,$B5,$AB,$A2,$99,$8E,$87,$7F,$79,$73,$70, $66,$61,$5A,$55,$52,$4B,$48,$43,$3F,$3C,$39,$37,$33,$30,$2D,$2A, $28,$25,$24,$21,$1F,$1E,$1C,$1B,$19,$17,$16,$15,$13,$12,$11,$10, $0F,$0E,$0D,$0C,$0B,$0A,$09,$08,$07,$06,$05,$04,$03,$02,$01,$00, //$00? Noise, cannot really be tuned... could use some special combination...? $F3,$E6,$D9,$CC,$C1,$B5,$AD,$A2,$99,$90,$88,$80,$79,$72,$6C,$66, $60,$5B,$55,$51,$4C,$48,$44,$40,$3C,$39,$35,$32,$2F,$2D,$2A,$28, $25,$23,$21,$1F,$1D,$1C,$1A,$18,$17,$16,$14,$13,$12,$11,$10,$0F, $0E,$0D,$0C,$0B,$0A,$09,$08,$07,$06,$05,$04,$03,$02,$01,$00,$00, //$20? Needs 1.79mhz mode to actually be useful... 0A (B... actually C) and higher are out of tune $D8,$CD,$C1,$B5,$AB,$A1,$98,$8F,$87,$7F,$79,$71,$6A,$64,$5E,$58, $53,$4F,$4A,$46,$41,$3E,$39,$37,$33,$2F,$2D,$2B,$28,$26,$23,$21, $1F,$1D,$1A,$19,$17,$16,$14,$13,$11,$10,$0F,$0E,$0D,$0C,$0B,$0A, $09,$08,$07,$06,$05,$04,$03,$02,$01,$00,$00,$00,$00,$00,$00,$00, //$40? Mix of buzzy and smooth to make the whole scale, needs 1.79mhz... 3B (F#) and above are wrong $72,$6C,$64,$61,$5A,$55,$F8,$E9,$DA,$CB,$C2,$B9,$AD,$A4,$9B,$8F, $89,$80,$77,$71,$6B,$68,$5F,$5C,$53,$50,$4A,$44,$41,$3E,$3B,$0F, $35,$32,$0D,$0C,$0B,$0A,$09,$08,$07,$06,$05,$04,$03,$02,$01,$00, $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00, //$80? Could use Poly9 and 1.79mhz...? to revisit $F3,$E6,$D9,$CC,$C1,$B5,$AD,$A2,$99,$90,$88,$80,$79,$72,$6C,$66, $60,$5B,$55,$51,$4C,$48,$44,$40,$3C,$39,$35,$32,$2F,$2D,$2A,$28, $25,$23,$21,$1F,$1D,$1C,$1A,$18,$17,$16,$14,$13,$12,$11,$10,$0F, $0E,$0D,$0C,$0B,$0A,$09,$08,$07,$06,$05,$04,$03,$02,$01,$00,$00, //$A0? Well... normal square wave lol, tuning could be improved $F3,$E6,$D9,$CC,$C1,$B5,$AD,$A2,$99,$90,$88,$80,$79,$72,$6C,$66, $60,$5B,$55,$51,$4C,$48,$44,$40,$3C,$39,$35,$32,$2F,$2D,$2A,$28, $25,$23,$21,$1F,$1D,$1C,$1A,$18,$17,$16,$14,$13,$12,$11,$10,$0F, $0E,$0D,$0C,$0B,$0A,$09,$08,$07,$06,$05,$04,$03,$02,$01,$00,$00, //$C0? Tuning could be improved... $BF,$B6,$AA,$A1,$98,$8F,$89,$80,$F2,$E6,$DA,$CE,$BF,$B6,$AA,$A1, $98,$8F,$89,$80,$7A,$71,$6B,$65,$5F,$5C,$56,$50,$4D,$47,$44,$3E, $3C,$38,$35,$32,$2F,$2D,$2A,$28,$25,$23,$21,$1F,$1D,$1C,$1A,$18, $17,$16,$14,$13,$12,$11,$10,$0F,$0E,$0D,$0C,$0B,$0A,$09,$08,$07, [FrequencyTables16Bit] //frqtabbasshi --- high byte order, uses the AUDC setting used for $60? $0D,$0D,$0C,$0B,$0B,$0A,$0A,$09,$08,$08,$07,$07,$07,$06,$06,$05, $05,$05,$04,$04,$04,$04,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02, $02,$02,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$00,$00, $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00, //frqtabbasslo --- low byte order, uses the AUDC setting used for $60? $F2,$33,$96,$E2,$38,$8C,$00,$6A,$E8,$6A,$EF,$80,$08,$AE,$46,$E6, $95,$41,$F6,$B0,$6E,$30,$F6,$BB,$84,$52,$22,$F4,$C8,$A0,$7A,$55, $34,$14,$F5,$D8,$BD,$A4,$8D,$77,$60,$4E,$38,$27,$15,$06,$F7,$E8, $DB,$CF,$C3,$B8,$AC,$A2,$9A,$90,$88,$7F,$78,$70,$6A,$64,$5E,$00,