Say I want to have 2 instrument samples, a square and a triangle wave.
Is this currect?
I am hearing sounds, but neither sound like a square nor a triangle, and one has a different pitch than the other.
Am I messing this up anywhere?
Is this currect?
Code:
directory:
dw square
dw square
dw triangle
dw triangle
square:
db $00,$00,$00,$00,$00,$00,$00,$00,$00
db $02,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
triangle:
db $00,$01,$23,$45,$67,$89,$ab,$cd,$ef
db $02,$fe,$dc,$ba,$98,$76,$54,$32,$10
dw square
dw square
dw triangle
dw triangle
square:
db $00,$00,$00,$00,$00,$00,$00,$00,$00
db $02,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
triangle:
db $00,$01,$23,$45,$67,$89,$ab,$cd,$ef
db $02,$fe,$dc,$ba,$98,$76,$54,$32,$10
I am hearing sounds, but neither sound like a square nor a triangle, and one has a different pitch than the other.
Am I messing this up anywhere?