NY6 User Manual
Ver 1.3 2019/03/28
51
3.17.4 Melody Playback, Head+Tail Mode
3.17.4.1 Flow Chart
The flow chart of Head+Tail melody playback is depicted as graph below.
3.17.4.2 Programming Procedure
1. Setup Initial Starting Address of Patch File to Be Played.
The starting address must be aligned with specific address whose last 4 bits must be all zeros.
ORGALIGN $, 0x10
L_Head:
#INCLUDATA "Piano_Head.v6x"
ORGALIGN $, 0x10
L_Tail:
#INCLUDATA "Piano_Tail.v6x"
2. Setup Total Playback Channel
The total number of playback channel can be 2, 4, 6 or disable, and this value will determine PH
setting and volume setting accordingly. Once playback channel is set to non-disable, the audio
output will be ready in 16us. Users have to wait the audio is fully turned on and execute “PLAY”.