NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
SAM9793 MPU-401 3755H MT-32 CM-64/32 CH-1705 1719B 06/01/0M - Datasheet Archive
. User Guide Table of Contents Section 1 MPU-401 and Serial
SAM9793 SAM9793 . User Guide Table of Contents Section 1 MPU-401 MPU-401 and Serial MIDI. 1-1 1.1 MPU-401 MPU-401 and Serial MIDI .1-1 1.1.1 Status Register .1-1 1.1.2 Standalone and UART Modes.1-1 1.1.2.1 Standalone Mode .1-1 1.1.2.2 UART Mode .1-2 Section 2 Configuration and Special MIDI Controls. 2-1 2.1 2.2 2.3 2.4 DAC Configuration .2-1 Configuration NRPN 3755H 3755H: Output Mode Select .2-1 Special MIDI Controls .2-2 Controls.2-3 2.4.1 Control Message Overview .2-3 2.4.2 System Message Overview .2-5 2.4.3 Configuration Messages.2-5 2.4.4 Spatial Effects Device.2-6 2.4.5 Routing Messages.2-6 2.4.6 MIDI Messages.2-7 2.4.7 Reverb Device .2-7 2.4.8 Chorus Device .2-8 2.4.9 Equalizer Device.2-9 Section 3 Detailed MIDI Implementation . 3-1 3.1 Detailed MIDI Implementation.3-1 Section 4 Sounds. 4-1 4.1 4.2 4.3 Main Sounds - General MIDI .4-1 MT-32 MT-32 Sound Variation #127 .4-2 Drumset Table .4-3 Section 5 Auto-test . 4-1 5.1 Auto-test.4-1 iii Table of Contents Section 6 Appendix. 5-1 6.1 iv Instruments Requiring Two Voices .5-1 Section 1 MPU-401 MPU-401 and Serial MIDI 1.1 MPU-401 MPU-401 and Serial MIDI The SAM9793 SAM9793 can be controlled both from the parallel MPU-401 MPU-401 interface (D0 - D7, CS, WR, RD, INT) and from the serial MIDI interface (MIDI IN). The MPU-401 MPU-401 interface consists of two byte registers and one interrupt request (IRQ) line: Table 1-1. MPU-401 MPU-401 Interface I/O Address Read to PC (IN) A0 = 0 DATA8 DATA8 A0 = 1 1.1.1 Write from PC (OUT) CONTROL STATUS Status Register TE RF x x x x x x TE: Transmit empty If 0, data from SAM9793 SAM9793 to host is pending and IRQ is high. Reading the data at A0 = 0 sets TE to 1 and clears IRQ. RF: Receiver full If 0, then SAM9793 SAM9793 is ready to accept CONTROL or DATA from host. 1.1.2 Stand-alone and UART Modes 1.1.2.1 Stand-alone Mode After power-up, hardware reset or MPU reset control, the SAM9793 SAM9793 is in stand-alone mode. In this mode, the MPU-401 MPU-401 interface is inactive and the IRQ line is floated. The serial MIDI IN is connected to the synthesis. No signal is sent to serial MIDI OUT. Stand-alone mode accepts two controls: 3Fh to switch to UART mode 3Fh control is acknowledged by receiving 0FEh as DATA8 SAM9793 SAM9793 User Guide BEh to send any control (see list of control messages below). BEh allows only one control to be sent, which means that each control sent in standalone mode should start with a BEh control 1-1 MPU-401 MPU-401 and Serial MIDI 1.1.2.2 UART Mode In UART mode, all data received by the serial MIDI IN is sent to MPU-401 MPU-401 DATA8 and all data received in MPU-401 MPU-401 DATA8 is MIDI data sent to the synthesis and serial MIDI OUT. UART mode accepts the standard MPU-401 MPU-401 control: Control 0FFh (MPU reset) switch back to stand-alone mode Additional non-standard controls can be sent to the control port when in UART mode. These additional controls, being independent of the MIDI data flow, allow easy insertion of MIDI commands in the middle of a MIDI data flow, thus avoiding MIDI merge type of operations in the host. Warning: MIDI OUT is disabled after any control other than 3Fh or 3Dh. This means that any control sent to the control port should be followed by a 3Dh control to restore MIDI out. Figure 1-1 and Figure 1-2 illustrate stand-alone and UART modes. Figure 1-1. Stand-alone Mode DATA8 IN (from PC) Serial MIDI OUT Synthesis Serial MIDI IN DATA8 OUT (to PC) Figure 1-2. USART Mode Serial MIDI OUT DATA8 IN (from PC) Synthesis Serial MIDI IN 1-2 DATA8 OUT (to PC) SAM9793 SAM9793 User Guide Section 2 Configuration and Special MIDI Controls 2.1 DAC Configuration IIS-format DAC (16 to 22 bits) VCC Configuration NRPN 3755h: Output Mode Select Configuration GND 2.2 DACSEL Sony-format DAC, 16 bits MIDI message code (in hexadecimal) : B0h 63h 37h, B0h 62h 55h, B0h 06h vv 7 6 5 4 3 2 1 0 0 0 0 0 1 OM 0 0 OM: If 0, spatial effects ON. Spatial effects parameters can be controlled using NRPN 3720h (volume), 372Ch (delay time), 372Dh (stereo/mono) and 372Eh (2/4 speaker mode) (see Section 2.3). If 1, 3DMIDITM mode, four-speaker MIDI output. Each MIDI channel can be output to front or rear speakers using NRPN 3800h to 380Fh, reverb and chorus can also be routed. NRPN 38xxh = 0h: MIDI channel xxh is front speaker output NRPN 38xxh = 7Fh: MIDI channel xxh is rear speaker output NRPN 3810h assigns all MIDI channels to front or rear speakers: - NRPN 3810h = 0h: all MIDI channels are front speaker output - NRPN 3810h = 07Fh: all MIDI channels are rear speaker output NRPN 3820h and 3821h control reverb output volume: - NRPN 3820h = 0h to 7Fh: reverb front speaker volume (Default value = 07Fh) - NRPN 3821h = 0h to 7Fh: reverb rear speaker volume (Default value = 0h) NRPN 3830h and 3831h control chorus output volume: - NRPN 3830h = 0h to 7F: chorus front speakers volume (Default value = 07Fh) - NRPN 3831h = 0h to 7F: chorus rear speakers volume (Default value = 0h) Default power-on value: OM = 0 (Spatial effects ON) SAM9793 SAM9793 User Guide 2-1 Configuration and Special MIDI Controls 2.3 Special MIDI Controls These controls are received on serial MIDI in standalone or on MPU-401 MPU-401 data port in UART mode. Table 2-1. NRPN MIDI Messages NRPN (high/low) Description Power-up Default 3700h 60h 3701h Equalizer Med Low band 0 = -12dB, 40h = 0dB, 7Fh = +12dB 40h 3702h Equalizer Med High band 0 = -12dB, 40h = 0dB, 7Fh = +12dB 40h 3703h Equalizer High band (treble) 0 = -12dB, 40h = 0dB, 7Fh = +12dB 60h 3707h Master Volume 0 to 7Fh 7Fh 3708h Equalizer Low cutoff freq 0 = 0Hz, 7Fh = 4.7 kHz 0Ch 3709h Equalizer Med Low cutoff freq 0 = 0Hz, 7Fh = 4.2 kHz 1Bh 370Ah Equalizer Med High cutoff freq 0 = 0Hz, 7Fh = 4.2 kHz 72h 370Bh Equalizer High cutoff freq 0 = 0Hz, 7Fh = 18.75 kHz 40h 3713h Clipping mode select 0 = soft clip, 7Fh = hard clip 00h 3715h General MIDI reverb send 0 = no send, 40h = default send, 7Fh = max 40h 3716h General MIDI chorus send 0 = no send, 40h = default send, 7Fh = max 40h 3718h Post effects applied on GM 0 = Post-effects not applied 7Fh = Post-effects applied 7Fh 371Ah Post effects applied on Reverb/Chorus 0 = Post-effects not applied 7Fh = Post-effects applied 7Fh 3720h Spatial effects volume 0 = no effect, 7Fh = maximum effect 00h 3722h General MIDI volume 0 to 7Fh 7Fh 3723h General MIDI pan 0 = left, 40h = center, 7Fh = right 40h 372Ch Spatial effects delay 0 = shortest to 7Fh = longest 1Dh 372Dh 2-2 Equalizer Low-band (bass) 0 = -12dB, 40h = 0dB, 7Fh = +12dB Spatial effects input 0 = stereo, 7Fh = mono 00h SAM9793 SAM9793 User Guide Configuration and Special MIDI Controls Table 2-1. NRPN MIDI Messages (Continued) NRPN (high/low) Power-up Default Description 372Eh Spatial effects output mode 0 = Two-speaker mode, 7Fh = four-speaker mode 00h 3751h Auto-test See Section 5.1. 3755h Effects on/off See Section 2.2. 3757h System Exclusive Device ID 0 to 1Fh, 20h = all accepted 20h 380xh h3DMIDI control, x = MIDI channel 0 = output channel to front speakers 7Fh h= output channel to rear speakers 00h 3810h 3DMIDI global control 0 = output all channels to front speakers 7Fh = output all channels to rear speakers 00h 3820h 3DMIDI reverb volume front speakers 0 to 7Fh 7Fh 3821h 3DMIDI reverb volume rear speakers 0 to 7Fh 00h 3830h 3DMIDI chorus volume front speakers 0 to 7Fh 7Fh 3831h 3DMIDI chorus volume rear speakers 0 to 7Fh 00h 2.4 Controls Controls are normally sent in UART mode. Individual controls can also be sent in standalone mode if proceeded by control 0BEh. 2.4.1 Control Message Overview A control message consists of one CONTROL byte followed by one DATA8 byte (parameter) followed by a CONTROL 3Dh to enable MIDI OUT. Table 2-2. Control Messages Control Number Control Name Action Compatible NRPN/SYSEX 7h MASTER_VOL Master volume Nrpn 3707h 10h EQ_LBL Equalizer low band left Nrpn 3700h 11h EQ_MLBL Equalizer med low band left Nrpn 3701h 12h EQ_MHBL Equalizer med high band left Nrpn 3702h 13h EQ_HBL Equalizer high band left Nrpn 3703h 14h EQ_LBR Equalizer low band right Nrpn 3700h 15h EQ_MLBR Equalizer med low band right Nrpn 3701h 16h EQ_MHBR Equalizer med high band right Nrpn 3702h 17h EQ_HBR Equalizer high band right Nrpn 3703h 18h EQF_LB Equalizer low band frequency Nrpn 3708h SAM9793 SAM9793 User Guide 2-3 Configuration and Special MIDI Controls Table 2-2. Control Messages (Continued) Control Number Control Name Action Compatible NRPN/SYSEX 19h EQF_MLB Equalizer med low band frequency Nrpn 3709h 1Ah EQF_MHB Equalizer med high band frequency Nrpn 370Ah 1Bh EQF_HB Equalizer high band frequency Nrpn 370Bh 25h GMREV_SEND General MIDI Reverb Send Nrpn 3715h 26h GMCHR_SEND General MIDI Chorus Send Nrpn 3716h 30h SUR_VOL Spatial effects volume Nrpn 3720h 31h SUR_DEL Spatial effects delay Nrpn 372Ch 32h SUR_INP Input mono/stereo select for spatial effects Nrpn 372Dh 33h SUR_24 Two- or four-speaker output select for spatial effects Nrpn 372Eh 38h GM_VOL General MIDI volume SysEx 40h 00h 04h 39h GM_PAN General MIDI pan SysEx 40h 00h 06h 3Ah REV_VOL Reverb general volume SysEx 40h 01h 33h 3Bh CHR_VOL Chorus general volume SysEx 40h 01h 3Ah 3Dh EN_MIDOUT Enable MIDI out 3Fh UART_MOD Switch to UART mode 62h GM_POST Post effects applied on general MIDI(1) (1) Nrpn 3718h 66h EFF_POST Post effects applied on Reverb-chorus Nrpn 371Ah 69h REV_TYPE Reverb program select SysEx 40h 01h 30h 6Ah CHR_TYPE Chorus program select SysEx 40h 01h 38h 6Bh EQU_TYPE Equalizer on/off Nrpn 3755h 6Ch REV_ONOFF Reverb on/off Nrpn 3755h 6Dh CHR_ONOFF Chorus on/off Nrpn 3755h 6Eh SUR_ONOFF Spatial effects on/off Nrpn 3755h 6Fh AUD_ONOFF Mike/aux on/off Nrpn 3756h 74h CHR_DEL Chorus delay SysEx 40h 01h 3Ch 75h CHR_FEED Chorus feedback SysEx 40h 01h 3Bh 76h CHR_RATE Chorus rate SysEx 40h 01h 3Dh 77h CHR_DEPTH Chorus depth SysEx 40h 01h 3Eh 78h REV_TIME Reverb time SysEx 40h 01h 34h 79h REV_FEED Reverb feedback SysEx 40h 01h 35h 7Eh CLIP_MODE Clipping mode Nrpn 3713h BEh EN_CONTROL Enable dream control in stand-alone mode FFh RESET Reset UART mode Note: 2-4 1. Post effects are spatial effects and equalizer. SAM9793 SAM9793 User Guide Configuration and Special MIDI Controls 2.4.2 System Message Overview Table 2-3. System Messages Control Number Control Name Parameters (Data) Action 07h MASTER_VOL Data (byte 0 - FFh, FFh) Master volume BEh EN_CONTROL None Enable dream control in standalone mode FFh RESET None Reset UART mode 3Fh UART_MODE None Switch to UART mode Answer Id = 00 Data = 0FEh MASTER_VOL: Master volume. Data range: 0 - FFh. Default = 0FFh. EN_CONTROL: This control has been implemented to enable sending any control even in stand-alone mode. It allows only one control to be sent, which means that each control sent in stand-alone mode should start with EN_CONTROL control. RESET: Switch SAM9793 SAM9793 to stand-alone mode UART_MODE: Switch SAM9793 SAM9793 to UART mode 2.4.3 Configuration Messages Control Number Control Name Parameters (Data) Action 6Eh SUR_ONOFF Data (byte 0/7Fh, 7Fh) Spatial effects on/off Answer SUR_ONOFF: 40h MIDI 4 speaker output mode 7Fh (Default) Spatial effects on 1) SUR_ONOFF = 7Fh: In this mode, left channel - right channel signal (or left channel + right channel) goes through a delay line and is output on front or rear speakers. SUR_INP (control 32h) selects left - right or left + right mode SUR_DEL (control 31h) selects delay time SUR_24 (control 33h) selects output on front or rear speakers 3) SUR_ONOFF = 40h : 3DMIDITM, any MIDI channels can be output to front or rear speakers. Reverb and chorus can be simultaneously output on front and rear. Nrpn 3800h, 3801h . till 380Fh assign MIDI channels 0, 1 . till 0Fh to front or rear nrpn 38xxh = 0h: MIDI channel xxh is front speaker output nrpn 38xxh = 7Fh: MIDI channel xxh is rear speaker output Nrpn 3810h assign all MIDI channels to front or rear speakers: nrpn 3810h = 0h: all MIDI channels are front speaker output nrpn 3810h = 07Fh: all MIDI channels are rear speaker output Nrpn 3820h and 3821h control reverb output volume: SAM9793 SAM9793 User Guide 2-5 Configuration and Special MIDI Controls nrpn 3820h = 0h to 7Fh: reverb front speaker volume (Default value = 07Fh) nrpn 3821h = 0h to 7Fh: reverb rear speaker volume (Default value = 0h) Nrpn 3830h and 3831h control chorus output volume: nrpn 3830h = 0h to 7Fh: chorus front speaker volume (Default value = 07Fh) nrpn 3831h = 0h to 7Fh: chorus rear speaker volume (Default value = 0h) 2.4.4 Spatial Effects Device Spatial effects must be set ON to use these 4 controls. Send SUR_ONOFF (control 6Eh) = 07Fh. Table 2-4. Control Number Control Name Parameters (Data) Action 30h SUR_VOL Data (byte 0 - FFh, 0) Spatial effects volume 31h SUR_DEL Data (byte 0 - 7Fh, 1Dh) Spatial effects delay 32h SUR_INP Data (byte 0/7Fh, 0) Input mono/stereo select for spatial effects 33h SUR_24 Data (byte 0/7Fh, 0) 2 or 4 speakers output select for spatial effects Answer SUR_VOL: Spatial effects volume. Default = 0 SUR_DEL: Delay time Default = 1Dh SUR_INP: Input type select 0 Stereo (default), Stereo wide, 7Fh Mono, Pseudo stereo Input to delay line is left - right. Input to delay line is left + right. SUR_24: Output type select 0 2 speakers(default) 7Fh 4 speakers 2.4.5 Spatial effects output on front speakers Spatial effects output on rear speakers Routing Messages Control Number Control Name Parameters (Data) Action 62h GM_POST Data (byte 0/7Fh, 7Fh) Post effects applied on general MIDI 66h EFF_POST Data (byte 0/7Fh, 7Fh) Post effects applied on Reverb-chorus Answer xxx_POST: Post effects are spatial effects and equalizer. Post effects can be separately applied on each module. However, general settings of post effects (EQ_xxx, EQF_xxx, EQU_TYPE, SUR_VOL, SUR_DEL, SUR_INP and SUR_24) are common for all modules. Data = 0: Post effects not applied on module. Data = 7Fh: Post effects applied on module. Default value = 07Fh 2-6 SAM9793 SAM9793 User Guide Configuration and Special MIDI Controls 2.4.6 MIDI Messages Control Number Control Name Parameters (Data) Action 38h GM_VOL Data (byte 0 - FFh, FFh) General MIDI volume 39h GM_PAN Data (byte 0 - 7Fh, 40h) General MIDI pan 3Dh EN_MIDOUT None Enable MIDI out Answer EN_MIDOUT: Each general device control (except 3Fh = UART_MOD) disables MIDI out. To reenable MIDI out, EN_MIDOUT must be sent before sending MIDI data to MPU port. GM_VOL: Range 0-FFh, linear scale. Default value: GM_VOL = 0FFh GM_PAN: 0 = hard left, 40h = center, 7Fh = hard right. Pseudo logarithmic scale. Same as GM system, exclusive message "40h 00h 06h" Default value: GM_PAN = 040h 2.4.7 Reverb Device Control Number Control Name Parameters (Data) Action 69h REV_TYPE Data (byte 0 - 7, 4) Reverb program select 3Ah REV_VOL Data (byte 0 - FFh) Reverb general volume 78h REV_TIME Data (byte 0 - 7Fh) Reverb time 79h REV_FEED Data (byte 0 - 7Fh) Reverb feedback 25h GMREV_SEND Data (byte 0 - FFh, 80h) General MIDI Reverb Send REV_TYPE: Answer Reverb program Same as GM system exclusive message "40h 01h 30h" or GM control 80. room1 room2 room3 Hall1 Hall2 plate delay pan delay 0h 1h 2h 3h 4h 5h 6h 7h Default = 4 (Hall2) REV_VOL: Reverb volume Same as GM system exclusive message "40h 01h 33h" Default values: room1 room3 Hall1 Hall2 plate delay pan delay 90h SAM9793 SAM9793 User Guide room2 90h 90h C0h 90h 90h FFh FFh 2-7 Configuration and Special MIDI Controls REV_TIME: Reverb time Same as GM system exclusive message "40h 01h 34h" Default values: room1 room2 room3 Hall1 Hall2 plate delay pan delay 7Fh 7Fh 7Fh 7Fh 7Fh 7Fh 18h 7Fh REV_FEED: Reverb delay feedback Only if reverb number = 6 or 7 (delays) Same as GM system exclusive message "40h 01h 34h" Default values: delay pan delay 22h 26h GMREV_SEND: Modify reverb send level for General MIDI 80h: 0 to 7Fh: 81h to FFh: Default = 80h 2.4.8 Original reverb send levels of MIDI sequence not modified Original reverb send levels decreased Original reverb send levels increased Chorus Device Control Number Control Name Parameters (Data) Action 6Ah CHR_TYPE Data(byte 0 - 7,2) Chorus program select 3Bh CHR_VOL Data(byte 0 - FFh) Chorus general volume 74h CHR_DEL Data(byte 0 - 7Fh) Chorus delay 75h CHR_FEED Data(byte 0 - 7Fh) Chorus feedback 76h CHR_RATE Data(byte 0 - 7Fh) Chorus rate 77h CHR_DEPTH Data(byte 0 - 7Fh) Chorus depth 26hh GMCHR_SEND Data(byte 0 - FFh, 80h) General MIDI Chorus Send CHR_TYPE : Answer Chorus program hSame as GM system exclusive message "40h 01h 38h" or GM control 81. chorus1 chorus2 chorus3 chorus4 00h 01h 02h 03h FB chorus 04h flanger 05h short del FB delay 06h 07h Default = 2 (chorus3) CHR_VOL: Chorus Volume Same as GM system exclusive message "40h 01h 3Ah" CHR_DEL: Chorus delay Same as GM system exclusive message "40h 01h 3Ch" 2-8 SAM9793 SAM9793 User Guide Configuration and Special MIDI Controls CHR_FEED: Chorus feedback Same as GM system exclusive message "40h 01h 3Bh" CHR_RATE: Chorus rate Same as GM system exclusive message "40h 01h 3Dh" CHR_DEPTH: Chorus depth Same as GM system exclusive message "40h 01h 3Eh" GMCHR_SEND: Data = 080h: Data = 0 to 07Fh: Data = 081h to 0ffh: Default = 80h Modify chorus send level for General MIDI. Original chorus send levels of MIDI sequence not modified Original chorus send levels decreased Original chorus send levels increased Table 2-5. Default Values chorus1 chorus 2 chorus3 chorus4 FB chorus flanger short del FB delay CHR_VOL 90h 90h 90h 90h 90h 90h FFh FFh CHR_DEL 4Bh 40h 40h 2Bh 7Fh 56h 7Fh 7Fh CHR_FEED 00h 07h 09h 0Ch 48h 7Fh 00h 50h CHR_RATE 03h 09h 03h 09h 02h 01h 00h 00h CHR_DEPTH 05h 13h 13h 10h 0Ch 03h 00h 00h 2.4.9 Equalizer Device Table 2-6. Equalizer Device Control Number Control Name Parameters (Data) Action 10h EQ_LBL Level (byte 0 - 7Fh, 60h) Equalizer low band left 11h EQ_MLBL Level (byte 0 - 7Fh, 40h) Equalizer med low band left 12h EQ_MHBL Level (byte 0 - 7Fh, 40h) Equalizer med high band left 13h EQ_HBL Level (byte 0 - 7Fh, 60h) Equalizer high band left 14h EQ_LBR Level (byte 0 - 7Fh, 60h) Equalizer low band right 15h EQ_MLBR Level (byte 0 - 7Fh, 40h) Equalizer med low band right 16h EQ_MHBR Level (byte 0 - 7Fh, 40h) Equalizer med high band right 17h EQ_HBR Level (byte 0 - 7Fh, 60h) Equalizer high band right 18h EQF_LB Data (byte 0 - 7Fh, 0Ch) Equalizer low band frequency 19h EQF_MLB Data (byte 0 - 7Fh, 1Bh) Equalizer med low band frequency 1Ah EQF_MHB Data (byte 0 - 7Fh, 72h) Equalizer med high band frequency 1Bh EQF_HB Data (byte 0 - 7Fh, 40h) Equalizer high band frequency SAM9793 SAM9793 User Guide Answer 2-9 Configuration and Special MIDI Controls hEQ_xxx: Band level 00h 20h 40h 60h 7Fh -12 dB -6 dB 0 dB +6 dB +12 dB Default = 060h (+ 6dB) for LB - hB, = 040h (0dB) for MLB - MhB EQF_xxx: Band frequency (0 - 7Fh), linear scale Band Default LB 0 - 4.7 kHz 0Ch MLB 0 - 4.2 kHz 1Bh MHB 0 - 4.2 kHz 72h HB 2-10 Range 0 - 18.75 kHz 40h SAM9793 SAM9793 User Guide Section 3 Detailed MIDI Implementation Detailed MIDI Implementation MIDI messages are received by the built-in wavetable synthesizer from: Serial MIDI IN port in standalone mode (MPU UART mode = OFF) 3.1 Parallel data port (MPU UART mode = ON) Table 3-1. Detailed MIDI Implementation MIDI Message Hex Code Description Compatibility NOTE ON 9nh kk vv MIDI channel n(0 - 15) note ON #kk(1-127), velocity vv(1-127). vv = 0 means NOTE OFF MIDI NOTE OFF 8nh kk vv MIDI channel n(0 - 15) note OFF #kk(1 - 127), vv is don't care. MIDI PITCH BEND Enh bl bh Pitch bend as specified by bh|bl (14 bits). Maximum swing is ±1 tone (power-up). Can be changed using "pitch bend sensitivity". Center position is 00h 40h. GM PROGRAM CHANGE Cnh pp Program (patch) change. Specific action on channel 10 (n = 9): select drumset. Refer to sounds /drumset list. Drumsets can be assigned to other channels (see SYSEX MIDI channel-to-part assign and part-to-rhythm allocation) GM/GS CHANNEL AFTERTOUCH Dnh vv vv pressure value. Effect set using Sys. Ex. 40h 2nh 20h-26hh MIDI MIDI RESET FFh Reset to power-up condition CTRL 00 Bnh 00h cc Bank select: Refer to sounds list. No action on drumset. GS CTRL 01 Bnh 01h cc Modulation wheel. Rate and maximum depth can be set using SYSEX. MIDI CTRL 05 Bnh 05h cc Portamento time. MIDI CTRL 06 Bnh 06h cc Data entry: provides data to RPN and NRPN MIDI CTRL 07 Bnh 07h cc Volume (default = 100) MIDI CTRL 10 Bnh 0Ah cc Pan (default = 64 center) MIDI CTRL 11 Bnh 0Bh cc Expression (default = 127) MIDI/GM CTRL 64 Bnh 40h cc Sustain (damper) pedal MIDI CTRL 65 Bnh 41h cc Portamento on/off MIDI CTRL 66 Bnh 42h cc Sostenuto pedal MIDI CTRL 67 Bnh 43h cc Soft pedal MIDI SAM9793 SAM9793 User Guide 3-1 Detailed MIDI Implementation Table 3-1. Detailed MIDI Implementation (Continued) MIDI Message Hex Code Description Compatibility CTRL 80 Bnh 50h vv Reverb program vv = 00h to 07h (default 04h) 00h: Room1 01h: Room2 02h: Room3 03h: Hall1 04h: Hall2 05h: Plate 06h: Delay 07h: Pan delay DREAM CTRL 81 Bnh 51h vv Chorus program vv = 00h to 07h (default 02h) 00h: Chorus1 01h: Chorus2 02h: Chorus3 03h: Chorus4 04h: Feedback 05h: Flanger 06h: Short Delay 07h: FB Delay DREAM CTRL 91 Bnh 5Bh vv Reverb send level vv = 00h to 7Fh GS CTRL 93 Bnh 5Dh vv Chorus send level vv = 00h to 7Fh GS CTRL 120 Bnh 78h 00h All sound off (abrupt stop of sound on channel n) MIDI CTRL 121 Bnh 79h 00h Reset all controllers MIDI CTRL 123 Bnh 7Bh 00h All notes off MIDI CTRL 126 Bnh 7Eh 00h Mono on MIDI CTRL 127 Bnh 7Fh 00h Poly on (default power-up) MIDI CTRL CC1 Bnh cch vvh Assignable Controller 1. cc = Controller number (0 - 5Fh), vv = Control value (0 - 7Fh). Control number (cch) can be set on CC1 CONTROLLER NUMBER (Sys. Ex 40 1x 1F). The resulting effect is determined by CC1 controller function (Sys.Ex. 40 2x 40-4A). GS CTRL CC2 Bnh cch vvh Assignable Controller 2. cc = Controller number (00h - 5Fh), vv = control value (0 - 7Fh). Control number can be set on CC2 CONTROLLER NUMBER (Sys.Ex. 40 1x 20). The resulting effect is determined by CC2 controller function (Sys.Ex.40 2x 50-5A). GS RPN 0000h Bnh 65h 00h 64h 00h 06h vv Pitch bend sensitivity in semitones (default = 2) MIDI/GM RPN 0001h Bnh 65h 00h 64h 01h 06h vv Fine tuning in cents (vv = 00 -100, vv = 40h 0, vv = 7Fh +100) MIDI RPN 0002h Bnh 65h 00h 64h 02h 06h vv Coarse tuning in half-tones (vv = 00 -64, vv = 40h 0, vv =7Fh +64) MIDI NRPN 0108h Bnh 63h 01h 62h 08h 06h vv Vibrate rate modify (vv = 40h -> no modif) GS NRPN 0109h Bnh 63h 01h 62h 09h 06h vv Vibrate depth modify (vv = 40h -> no modif) GS NRPN 010Ah BnN 63h 01h 62h 0Ah 06h vv Vibrate delay modify (vv = 40h -> no modif) GS 3-2 SAM9793 SAM9793 User Guide Detailed MIDI Implementation Table 3-1. Detailed MIDI Implementation (Continued) MIDI Message Hex Code Description Compatibility NRPN 0120h Bnh 63h 01h 62h 20h 06h vv TVF cutoff freq modify(vv = 40h -> no modif) GS NRPN 0121h Bnh 63h 01h 62h 21h 06h vv TVF resonance modify (vv = 40h -> no modif) GS NRPN 0163h Bnh 63h 01h 62h 63h 06h vv Env. attack time modify (vv = 40h ->no modif) GS NRPN 0164h Bnh 63h 01h 62h 64h 06h vv Env. decay time modify (vv = 40h -> no modif) GS NRPN 0166h Bnh 63h 01h 62h 66h 06h vv Env. release time modif (vv = 40h ->no modif) GS NRPN 18rrh Bnh 63h 18h 62h rr 06h vv Pitch coarse of drum instr. note rr in semitones (vv = 40h -> no modif) GS NRPN 1Arrh Bnh 63h 1Ah 62h rr 06h vv Level of drum instrument note rr (vv = 00 to 7Fh) GS NRPN 1Crrh Bnh 63h 1Ch 62h rr 06h vv Pan of drum instrument note rr (40h = middle) GS NRPN 1Drrh Bnh 63h 1Dh 62h rr 06h vv Reverb send level of drum instrument note rr (vv = 00 to 7Fh) GS NRPN 1Errh Bnh 63h 1Eh 62h rr 06h vv Chorus send level of drum instrument note rr (vv = 00 to 7Fh) GS NRPN 37xxh Bnh 63h 37h 62h xx 06h vv Special Synthesis features controls (see Section 2.3) DREAM NRPN 38xxhh Bnh 63h 38h 62h xx 06h vv 3DMIDI control (see Section 2.3) DREAM Standard Sysex F0h 7Eh 7Fh 09h 01h F7h General MIDI reset GM Standard Sysex F0h 7Fh 7Fh 04h 01h 00h ll F7h Master volume (ll = 0 to 127, default 127) GM SYSEX F0h 41h 00h 42h 12h 40h 00h 00h dd dd dd dd xx F7h Master tune (default dd = 00h 04h 00h 00h) -100.0 to +100.0 cents. Nibblized data should be used (always four bytes). For example, to tune to +100.0 cents, sent data should be 00h 07h 0Eh 08h GS SYSEX F0h 41h 00h 42h 12h 40h 00h 04h vv xx F7h Master volume (default vv = 7Fh) GS SYSEX F0h 41h 00h 42h 12h 40h 00h 05h vv xx F7h Master key-shift (default vv = 40h, no transpose) GS SYSEX F0h 41h 00h 42h 12h 40h 00h 06h vv xx F7h Master pan (default vv = 40h, center) SYSEX F0h 41h 00h 42h 12h 40h 00h 7Fh 00h xx F7h GS reset GS SYSEX F0h 41h 00h 42h 12h 40 01h 10h vv1 vv2 vv3 vv4 vv5 vv6 vv7 vv8 vv9 vv10 vv11 vv12 vv13 vv14 vv15 vv16 xx F7h Voice reserve : vv1 = Part 10 (Default vv = 2) vv2 to vv10 = Part 1 to 9 (Default vv = 2) vv11 to vv16 = Part 11 to 16 (Default vv = 0) GS SAM9793 SAM9793 User Guide 3-3 Detailed MIDI Implementation Table 3-1. Detailed MIDI Implementation (Continued) MIDI Message Hex Code Description Compatibility SYSEX F0h 41h 00h 42h 12h 40h 01h 30h vv xx F7h Reverb type (vv = 0 to 7), default = 04h 00h: Room1 01h: Room2 02h: Room3 03h: Hall1 04h: Hall2 05h: Plate 06h: Delay 07h: Pan delay GS SYSEX F0h 41h 00h 42h 12h 40h 01h 31h vv xx F7h Reverb character, default 04h GS SYSEX F0h 41h 00h 42h 12h 40h 01h 33h vv xx F7h Reverb master level, default = 64 GS SYSEX F0h 41h 00h 42h 12h 40h 01h 34h vv xx F7h Reverb time GS SYSEX F0h 41h 00h 42h 12h 40h 01h 35h vv xx F7h Reverb delay feedback. Only if reverb number = 6 or 7 (delays). GS SYSEX F0h 41h 00h 42h 12h 40h 01h 38h vv xx F7h Chorus type (vv = 0 to 7), default = 02h 00h: Chorus1 01h: Chorus2 02h: Chorus3 03h: Chorus4 04h: Feedback 05h: Flanger 06h: Short delay 07h: FB delay GS SYSEX F0h 41h 00h 42h 12h 40h 01h 3Ah vv xx F7h Chorus master level, default = 64 GS SYSEX F0h 41h 00h 42h 12h 40h 01h 3Bh vv xx F7h Chorus feedback GS SYSEX F0h 41h 00h 42h 12h 40h 01h 3Ch vv xx F7h Chorus delay GS SYSEX F0h 41h 00h 42h 12h 40h 01h 3Dh vv xx F7h Chorus rate GS SYSEX F0h 41h 00h 42h 12h 40h 01h 3Eh vv xx F7h Chorus depth GS SYSEX F0h 41h 00h 42h 12h 40h 1ph 02h nn xx F7h MIDI channel to part assign, p is part (0 to 15), nn is MIDI channel (0 to 15, 16 = OFF). This SYSEX allows several parts to be assigned to a single MIDI channel or to mute a part. Part 0, MIDI channel 9 (DRUMS) Part 1 - 9, MIDI channel 0 - 8 (DRUMS) Part 10 - 15, MIDI channel 10 - 15 (DRUMS) GS SYSEX F0h 41h 00h 42h 12h 40h 1ph 15h vv xx F7h Part-to-rhythm allocation, p is part (0 to 15), vv is 00 (sound part) or 01 (rhythm part). This SYSEX allows a part to play sound or drumset. There is no limitation of the number of parts playing drumset. Default assignment: part 0 plays drums (default MIDI channel 9), all other parts play sound. GS 3-4 SAM9793 SAM9793 User Guide Detailed MIDI Implementation Table 3-1. Detailed MIDI Implementation (Continued) MIDI Message Hex Code Description Compatibility SYSEX F0h 41h 00h 42h 12h 40h 1nh 40h v1 v2 . v12 xx F7h Scale tuning, n is MIDI channel (0 to 15), v1 to v12 are 12 semi-tones tuning values (C, C#, D, . A#, B), in the range -64 (00h) 0 (40h) +63(7Fh) cents. This SYSEX allows non chromatic tuning of the musical scale on a given MIDI channel. Default v1, v2, . ,v12 = 40h, 40h,.,40h (chromatic tuning). Scale tuning has no effect if the part is assigned to a rhythm channel or if the sound played is not of chromatic type. GS SYSEX F0h 41h 00h 42h 12h 40h 1nh 1Ah vv xx F7h Velocity slope from 00h to 7Fh (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 1nh 1Bh vv xx F7h Velocity offset from 00h to 7Fh (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 1nh 1Fh vv xx F7h CC1 Controller number (00-5Fh) (default = 10h) GS SYSEX F0h 41h 00h 42h 12h 40h 1nh 20h vv xx F7h CC2 Controller number (00-5Fh) (default = 11h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 00h vv xx F7h Mod pitch control (-24, +24 semitone) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 01h vv xx F7h Mod tvf cutoff control (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 02h vv xx F7h Mod Amplitude control (-100% ± 100%) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 03h vv xx F7h Mod lfo1 rate control (default = 40h). n is don't care. Rate is common on all channels. GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 04h vv xx F7h Mod lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 05h vv xx F7h Mod lfo1 tvf depth (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 06h vv xx F7h Mod lfo1 tva depth (0 - 100%) (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 10h vv xx F7h Bend pitch control (-24, +24 semitone) (default = 42h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 11h vv xx F7h Bend tvf cutoff control (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 12h vv xx F7h Bend Amplitude control (-100% ± 100%) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 14h vv xx F7h Bend lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 15h vv xx F7h Bend lfo1 tvf depth (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 16h vv xx F7h Bend lfo1 tva depth (0 - 100%) (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 20h vv xx F7h CAF pitch control (-24, +24 semitone) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 21h vv xx F7h CAF tvf cutoff control (default = 40h) GS SAM9793 SAM9793 User Guide 3-5 Detailed MIDI Implementation Table 3-1. Detailed MIDI Implementation (Continued) MIDI Message Hex Code Description Compatibility SYSEX F0h 41h 00h 42h 12h 40h 2nh 22h vv xx F7h CAF Amplitude control (-100% ± 100%) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 24h vv xx F7h CAF lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 25h vv xx F7h CAF lfo1 tvf depth (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 26h vv xx F7h CAF lfo1 tva depth (0 - 100%) (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 40h vv xx F7h CC1 pitch control (-24, +24 semitone) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 41h vv xx F7h CC1 tvf cutoff control (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 42h vv xx F7h CC1 Amplitude control (-100% ± 100%) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 44h vv xx F7h CC1 lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 45h vv xx F7h CC1 lfo1 tvf depth (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 46h vv xx F7h CC1 lfo1 tva depth (0 - 100%) (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 50h vv xx F7h CC2 pitch control (-24, +24 semitone) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 51h vv xx F7h CC2 tvf cutoff control (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 52h vv xx F7h CC2 Amplitude control (-100% ± 100%) (default = 40h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 54h vv xx F7h CC2 lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 55h vv xx F7h CC2 lfo1 tvf depth (default = 0h) GS SYSEX F0h 41h 00h 42h 12h 40h 2nh 56h vv xx F7h CC2 lfo1 tva depth (0 - 100%) (default = 0h) GS Note: Note: 3-6 NPRN sending method: CTRL#99 = high byte, CTRL#98 = low byte, CTRL#6 = vv Example: NRPN 0108h = 40h->CTRL#99 = 1, CTRL#98 = 8, CTRL#6 = 64 x or xx = "don't care" SAM9793 SAM9793 User Guide Section 4 Sounds 4.1 Main Sounds General MIDI All channels except 10. PC = Program change Table 4-1. Main Sounds PC General MIDI PC General MIDI PC General MIDI PC General MIDI 1 (Grand) Piano 1 33 Acoustic Bass 65 Soprano Sax 97 FX 1 (rain) 2 (Bright) Piano 2 34 Finger Bass 66 Alto Sax 98 FX 2 (soundtrack) 3 (El. Grd) Piano 3 35 Picked Bass 67 Tenor Sax 99 FX 3 (crystal) 4 Honky-tonk Piano 36 Fretless Bass 68 Baritone Sax 100 FX 4 (atmosphere) 5 El. Piano 1 37 Slap Bass 1 69 Oboe 101 FX 5 (brightness) 6 El. Piano 2 38 Slap Bass 2 70 English Horn 102 FX 6 (goblins) 7 Harpsichord 39 Synth Bass 1 71 Bassoon 103 FX 7 (echoes) 8 Clavi 40 Synth Bass 2 72 Clarinet 104 FX 8 (sci-fi) 9 Celesta 41 Violin 73 Piccolo 105 Sitar 10 Glockenspiel 42 Viola 74 Flute 106 Banjo 11 Music Box 43 Cello 75 Recorder 107 Shamisen 12 Vibraphone 44 Contrabass 76 Pan Flute 108 Koto 13 Marimba 45 Tremolo Strings 77 Blown Bottle 109 Kalimba 14 Xylophone 46 Pizzicato Strings 78 Shakuhachi 110 Bagpipe 15 Tubular Bells 47 Orchestral Harp 79 Whistle 111 Fiddle 16 Santur 48 Timpani 80 Ocarina 112 Shanai 17 Drawbar Organ 49 String Ensemble 1 81 Lead 1 (square) 113 Tinkle Bell 18 Percussive Organ 50 String Ensemble 2 82 Lead 2 (sawtooth) 114 Agogo 19 Rock Organ 51 Synth Strings 1 83 Lead 3 (calliope) 115 Steel Drums 20 Church Organ 52 Synth Strings 2 84 Lead 4 (chiff) 116 Woodblock 21 Reed Organ 53 Choir Aahs 85 Lead 5 (charang) 117 Taiko Drum 22 Accordion (French) 54 Voice Oohs 86 Lead 6 (voice) 118 Melodic Tom SAM9793 SAM9793 User Guide 4-1 Sounds Table 4-1. Main Sounds (Continued) PC General MIDI PC General MIDI PC General MIDI PC General MIDI 23 Harmonica 55 Synth Voice 87 Lead 7 (fifths) 119 Synth Drum 24 Tango Accordion 56 Orchestra Hit 88 Lead 8 (bass + lead) 120 Reverse Cymbal 25 Ac. Guitar (nylon) 57 Trumpet 89 Pad 1 (fantasia) 121 Gt. Fret Noise 26 Ac. Guitar (steel) 58 Trombone 90 Pad 2 (warm) 122 Breath Noise 27 El. Guitar (jazz) 59 Tuba 91 Pad 3 (polysynth) 123 Seashore 28 El. Guitar (clean) 60 Muted Trumpet 92 Pad 4 (choir) 124 Bird Tweet 29 El. Guitar (muted) 61 French Horn 93 Pad 5 (bowed) 125 Telephone Ring 30 Overdriven Guitar 62 Brass Section 94 Pad 6 (metallic) 126 Helicopter 31 Distortion Guitar 63 Synth Brass 1 95 Pad 7 (halo) 127 Applause 32 Guitar Harmonics 64 Synth Brass 2 96 Pad 8 (sweep) 128 Gunshot 4.2 MT-32 MT-32 Sound Variation #127 All channels except 10. To select variation, send CTRL 0 = 127, then PC. PC = Program change C0 = controller 0 value (zero for General MIDI capital sounds) Table 4-2. MT-32 MT-32 Sound Variation #127 PC Number Instrument Name PC Number Instrument Name PC Number Instrument Name PC Number Instrument Name 1 Piano 1 2 Piano 2 3 Piano 3 4 Detuned EP 1 5 E.Piano 1 6 E.Piano 2 7 Detuned EP 2 8 Honky-Tonk 9 Organ 1 10 Organ 2 11 Organ 3 12 Detuned Or. 1 13 Church Org. 2 14 Church Org. 15 Church Org. 16 Accordion Fr. 17 Harpsichord 18 Coupled Hps. 19 Coupled Hps. 20 Clav. 21 Clav. 22 Clav. 23 Celesta 24 Celesta 25 Synth Brass 1 26 Synth Brass 2 27 Synth Brass 3 28 Synth Brass 4 29 Synth Bass1 30 Synth Bass 2 31 Synth Bass 3 32 Synth Bass 4 33 Fantasia 34 Syn Calliope 35 Choir Aahs 36 Bowed Glass 37 Soundtrack 38 Atmosphere 39 Crystal 40 Bagpipe 41 Tinkle Bell 42 Ice Rain 43 Oboe 44 Pan Flute 45 Saw Wave 46 Charang 47 Tubular Bells 48 Square Wave 49 Strings 50 Tremolo Str. 51 Slow Strings 52 Pizzicato Str. 53 Violin 54 Viola 55 Cello 56 Cello 57 Contrabass 58 Harp 59 Harp 60 Nylon-str. Gt 61 Steel-Str. Gt 62 Chorus Gt. 63 Funk Gt. 64 Sitar 65 Acoustic Bs. 66 Fingered Bs. 67 Picked Bs. 68 Fretless Bs. 69 Slap Bs. 1 70 Slap Bs. 2 71 Fretless Bs. 72 Fretless Bs. 73 Flute 74 Flute 75 Piccolo 76 Piccolo 4-2 SAM9793 SAM9793 User Guide Sounds Table 4-2. MT-32 MT-32 Sound Variation #127 (Continued) PC Number Instrument Name PC Number Instrument Name PC Number Instrument Name PC Number Instrument Name 77 Recorder 78 Pan Flute 79 Soprano Sax 80 Alto Sax 81 Tenor Sax 82 Baritone Sax 83 Clarinet 84 Clarinet 85 Oboe 86 English Horn 87 Bassoon 88 Harmonica 89 Trumped 90 Muted Trumpet 91 Trombone 92 Trombone 93 French Horn 94 French Horn 95 Tuba 96 Brass 97 Brass 2 98 Vibraphone 99 Vibraphone 100 Kalimba 101 Tinkle Bell 102 Glockenspiel 103 Tubular Bell 104 Xylophone 105 Marimba 106 Koto 107 Taisho Koto 108 Shakuhachi 109 Whistle 110 Whistle 111 Bottle Blow 112 Pan Flute 113 Timpani 114 Melo Tom 115 Concert BD 116 Synth Drum 117 Melo Tom 118 Taiko 119 Taiko 120 Reverse Cym. 121 Castanets 122 Tinkle Bell 123 Orchestra Hit 124 Telephone 125 Bird 126 Helicopter 127 Bowed Glass 128 Ice Rain 4-3 SAM9793 SAM9793 User Guide Sounds 4.3 Drumset Variations MIDI Channel 10 Note: * = No sound. Blank = Same sound as "Standard Set". [EXC] = Sounds with same EXC number are mutually exclusive. Table 4-3. Drumset Variations Prog 1: Standard Set Prog 17: Power Set Prog 41: Brush Prog 49: Orchestra Prog 127: CM-64/32 CM-64/32 (Partial) 27 - D#1 Closed Hi-Hat * 28 - E1 Pedal Hi-Hat * 29 - F1 Open Hi Hat * 30 - F#1 Ride Cymbal * 31 - G1 * 32 - G#1 * 33 - A1 * 34 - A#1 * 35 - B1 Kick drum2 Jazz BD 2 Kick drum 36 - C2 Kick drum1 Jazz BD 1 Kick drum 37 - C#2 Side Stick 38 - D2 Snare Drum 1 39 - D#2 Rim Shot Brush Tap Snare Drum 2 Snare Drum Hand Clap Brush Slap Castanets Hand Clap 40 - E2 Snare Drum 2 Brush Swirl Snare Drum 2 Elec Snare Drum 41 - F2 Low Floor Tom Timpani F Acoustic Low Tom 42 - F#2 Closed Hi-Hat [EXC1] Timpani F# Closed Hi-Hat [EXC1] 43 - G2 High Floor Tom Timpani G Acoustic Low Tom 44 - G#2 Pedal Hi-Hat [EXC1] Timpani G# Open Hi-Hat 2 45 - A2 Low Tom Timpani A Acoustic Middle Tom 46 - A#2 Open Hi-Hat [EXC1] Timpani A# Open Hi-Hat 1 [EXC1] 47 - B2 Low-Mid Tom Timpani B Acoustic Middle Tom 48 - C3 Hi Mid Tom Timpani C Acoustic High Tom 49 - C#3 Crash Cymbal 1 Timpani C# Crash Cymbal 50 - D3 High Tom Timpani D Acoustic High Tom 51 - D#3 Ride Cymbal 1 Timpani D# Ride Cymbal 52 - E3 Chinese Cymbal Timpani E * 53 - F3 Ride Bell Timpani F * 54 - F#3 Tambourine Tambourine 55 - G3 Splash Cymbal * 56 - G#3 Cowbell Cowbell 57 - A3 Crash Cymbal 2 * 58 - A#3 Vibraslap * 4-4 Gated Snare SAM9793 SAM9793 User Guide Sounds Table 4-3. Drumset Variations (Continued) Prog 1: Standard Set Prog 17: Power Set Prog 41: Brush Prog 49: Orchestra Prog 127: CM-64/32 CM-64/32 (Partial) 59 - B3 Ride Cymbal 2 * 60 - C4 Hi Bongo 61 - C#4 Low Bongo 62 - D4 Mute Hi Conga 63 - D#4 Open Hi Conga 64 - E4 Low Conga 65 - F4 High Timbale 66 - F#4 Low Timbale 67 - G4 High Agogo 68 - G#4 Low Agogo 69 - A4 Cabasa 70 - A#4 Maracas 71 - B4 Short Whistle [EXC2] 72 - C5 Long Whistle [EXC2] 73 - C#5 Short Guiro [EXC3] Vibra Slap 74 - D5 Long Guiro [EXC3] * 75 - D#5 Claves Claves 76 - E5 Hi Wood Block * 77 - F5 Low Wood Block * 78 - F#5 Mute Cuica [EXC4] * 79 - G5 Open Cuica [EXC4] * 80 - G#5 Mute Triangle [EXC5] * 81 - A5 Open Triangle [EXC5] * 82 - A#5 Applause 83 - B5 * 84 - C6 * 85 - C#6 * 86 - D6 * 87 - D#6 * 88 - E6 Applause * 89 - F6 * 90 - F#6 * 91 - G6 * 92 - G#6 * 93 - A6 * 94 - A#6 Helicopter SAM9793 SAM9793 User Guide 4-5 Sounds Table 4-3. Drumset Variations (Continued) Prog 1: Standard Set Prog 17: Power Set Prog 41: Brush Prog 49: Orchestra Prog 127: CM-64/32 CM-64/32 (Partial) 95 - B6 * 96 - C7 Gunshot 97 - C#7 * 98 - D7 * 99 - D#7 * 100 - E7 * 101 - F7 * 102 - F#7 Birds 103 - G7 * 104 - g#7 * 105 - A7 * 106 - A#7 Seashore 4-6 SAM9793 SAM9793 User Guide Section 5 Auto-test 5.1 Overview A built-in auto-test program is included and can be used for board production testing. To start auto-test, send NRPN 3751h = 23h. Sine waveforms at different frequencies will be output to the DAC to indicate the test in progress as indicated in Table 5-1. Table 5-1. Test in Progress and Output Frequency Test in Progress Output Frequency On-chip RAM 1.18 kHz On-chip ROM 876 Hz PASS 295 Hz If PASS frequency is detected, this means that part is OK. SAM9793 SAM9793 User Guide 5-1 Auto-test 5-2 SAM9793 SAM9793 User Guide Section 6 Appendix 6.1 Instruments Requiring Two Voices Table 6-1. Two-layer Instruments PC PC Name 4 Honky-tonk Piano 88 Lead8 (bass + lead) 19 Rock Organ 89 Pad 1 (new age) 22 Accordion (French) 91 Pad 3 (polysynth) 24 Tango Accordion 93 Pad 5 (bowed) 40 Synth Bass 2 94 Pad 6 (metallic) 52 Synth Strings 2 95 Pad 7 (halo) 56 Orchestra Hit 97 FX 1 (rain) 61 French Horn 98 FX 2 (soundtrack) 63 Synth Brass 1 99 FX 3 (crystal) 64 Synth Brass 2 100 FX4 (atmosphere) 81 Lead 1 (square wave) 101 FX 5 (brightness) 82 Lead 2 (saw wave) 102 FX 6 (goblins) 83 Lead 3 (calliope) 104 FX 8 (sci-fi) 84 Lead 4 (chiff) 123 Seashore 85 Lead 5 (charang) 124 Bird 86 Lead 6 (voice) 127 Applause 87 SAM9793 SAM9793 User Guide Name Lead 7 (fifths) 6-1 Atmel Headquarters Atmel Operations Corporate Headquarters Atmel Colorado Springs 2325 Orchard Parkway San Jose, CA 95131 TEL (408) 441-0311 FAX (408) 487-2600 Europe Atmel SarL Route des Arsenaux 41 Casa Postale 80 CH-1705 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL (719) 576-3300 FAX (719) 540-1759 Atmel Rousset Zone Industrielle 13106 Rousset Cedex France TEL (33) 4-4253-6000 FAX (33) 4-4253-6001 Atmel Smart Card ICs Scottish Enterprise Technology Park East Kilbride, Scotland G75 0QR TEL (44) 1355-803-000 FAX (44) 1355-242-743 Atmel Grenoble Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex France TEL (33) 4-7658-3243 FAX (33) 4-7658-3320 Atmel Japan K.K. 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 Fax-on-Demand North America: 1-(800) 292-8635 International: 1-(408) 441-0732 e-mail literature@atmel.com Web Site http://www.atmel.com BBS 1-(408) 436-4309 © Atmel Corporation 2001. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in Atmel's Terms and Conditions located on the Company's web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel's products are not authorized for use as critical components in life suppor t devices or systems. ATMEL ® is the registered trademark of Atmel Corporation; 3DMIDI is a trademark of Atmel Corporation. Terms and product names in this document may be trademarks of others. Printed on recycled paper. 1719B 1719B06/01/0M 06/01/0M