Atmel SAM9773 User Manual

SAM9773
.............................................................................
User Guide
Table of Contents
Section 1
Configuration and Special MIDI Controls.............................................. 1-1
1.1 DAC Configuration ....................................................................................1-1
1.3 Special MIDI Controls ...............................................................................1-2
Section 2
Detailed MIDI Implementation .............................................................. 2-1
2.1 Detailed MIDI Implementation...................................................................2-1
Section 3
Sounds.................................................................................................. 3-1
3.1 Main Sounds – General MIDI....................................................................3-1
3.2 MT-32 Sound Variation #127 ....................................................................3-2
3.3 Drumset Variations (MIDI Channel 10) .....................................................3-4
Section 4
Auto-test ...............................................................................................4-1
4.1 Overview ...................................................................................................4-1
Section 5
Appendix............................................................................................... 5-1
5.1 Instruments Requiring Two Voices ...........................................................5-1
i
Table of Contents
ii

1.1 DAC Configuration

Section 1

Configuration and
Special MIDI Controls
DACSEL Configuration
GND IIS-format DAC (16 to 22 bits)
VCC Sony-format DAC, 16 bits

1.2 Configuration NRPN 3755h: Output Mode Select

MIDI message code (in hexadecimal): B0h 63h 37h, B0h 62h 55h, B0h 06h vv
76543210
00001OM00
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 1.3).
If 1, 3DMIDI 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 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 :
- 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 speakers volume (Default value = 07Fh)
- NRPN 3831h = 0h to 7Fh: chorus rear speakers volume (Default value = 0h)
Default power-on value: OM = 0 (Spatial effects ON)
mode, four-speaker MIDI output. Each MIDI channel can be output to
SAM9773 User Guide 1-1
Configuration and Special MIDI Controls

1.3 Special MIDI Controls

Various features of the SAM9773 are controlled by NRPN MIDI messages.
Table 1-1. NRPN MIDI Messages
NRPN (High/Low) Description
3700h Equalizer low band (bass)
0 = -12 dB, 40h = 0 dB, 7Fh = +12 dB
3701h Equalizer med Llw band
0 = -12 dB, 40h = 0 dB, 7Fh = +12 dB
3702h Equalizer med high band
0 = -12 dB, 40h = 0 dB, 7Fh = +12 dB
3703h Equalizer high band (treble)
0 = -12 dB, 40h = 0 dB, 7Fh = +12 dB
3707h Master volume
0 to 7Fh
3708h Equalizer low cutoff freq
0 = 0 Hz, 7Fh = 4.7 kHz
3709h Equalizer med low cutoff freq
0 = 0 Hz, 7Fh = 4.2 kHz
370Ah Equalizer med high cutoff freq
0 = 0 Hz, 7Fh = 4.2 kHz
Power-up Default
60h
40h
40h
60h
7Fh
0Ch
1Bh
72h
370Bh Equalizer high cutoff freq
0 = 0 Hz, 7Fh = 18.75 kHz
3713h Clipping mode select
0 = soft clip, 7Fh = hard clip
3715h General MIDI reverb send
0 = no send, 40h = default send, 7Fh = max
3716h General MIDI chorus send
0 = no send, 40h = default send, 7Fh = max
3718h Post-effects applied on GM
0 = Post-effects not applied, 7Fh = Post-effects applied
371Ah Post-effects applied on reverb/chorus
0 = Post-effects not applied, 7Fh = Post-effects applied
3720h Spatial effects volume
0 = no effect, 7Fh = maximum effect
3722h General MIDI volume
0 to 7Fh
3723h General MIDI pan
0 = left, 40h = center, 7Fh = right
372Ch Spatial effects delay
0 = shortest to 7Fh = longest
372Dh Spatial effects input
0 = stereo, 7Fh = mono
372Eh Spatial effects output mode
0 = 2-speaker mode, 7Fh = 4-speaker mode
40h
00h
40h
40h
7Fh
7Fh
00h
7Fh
40h
1Dh
00h
00h
1-2 SAM9773 User Guide
Configuration and Special MIDI Controls
Table 1-1. NRPN MIDI Messages (Continued)
NRPN (High/Low) Description
3751h Auto-test
See Section 4.
3755h Effects on/off
See Section 1.2.
3757h System Exclusive Device ID
0 to 1Fh, 20h = all accepted
380xh 3DMIDI control, x = MIDI channel
0 = output channel to front speakers, 7Fh = output channel to rear speakers
3810h 3DMIDI global control
0 = output all channels to front speakers, 7Fh = output all channels to rear speakers
3820h 3DMIDI reverb volume front speakers
0 to 7Fh
3821h 3DMIDI reverb volume rear speakers
0 to 7Fh
3830h 3DMIDI chorus volume front
0 to 7Fh speakers
3831h 3DMIDI chorus volume rear speakers
0 to 7Fh
Power-up Default
20h
00h
00h
7Fh
00h
7Fh
00h
SAM9773 User Guide 1-3
Configuration and Special MIDI Controls
1-4 SAM9773 User Guide

Section 2

Detailed MIDI Implementation

2.1 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)
Parallel data port (MPU UART mode = ON)
Table 2-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
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.
PROGRAM CHANGE
CHANNEL AFTERTOUCH
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
CTRL 05 Bnh 05h cc Portamento time. MIDI
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)
Dnh vv vv pressure value. Effect set using Sys. Ex. 40h 2nh 20h-26h MIDI
SYSEX.
MIDI
GM
GM/GS
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 User Guide 2-1
Detailed MIDI Implementation
Table 2-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
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
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
DREAM
DREAM
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).
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).
RPN 0000h Bnh 65h 00h 64h 00h
06h vv
RPN 0001h Bnh 65h 00h 64h 01h
06h vv
RPN 0002h Bnh 65h 00h 64h 02h
06h vv
NRPN 0108h Bnh 63h 01h 62h 08h
06h vv
NRPN 0109h Bnh 63h 01h 62h 09h
06h vv
NRPN 010Ah BnN 63h 01h 62h 0Ah
06h vv
Pitch bend sensitivity in semitones (default = 2) MIDI/GM
Fine tuning in cents (vv = 00 -100, vv = 40h 0, vv = 7Fh +100) MIDI
Coarse tuning in half-tones (vv = 00 -64, vv = 40h 0, vv =7Fh +64)
Vibrate rate modify (vv = 40h -> no modif) GS
Vibrate depth modify (vv = 40h -> no modif) GS
Vibrate delay modify (vv = 40h -> no modif) GS
GS
GS
MIDI
2-2 SAM9793 User Guide
Detailed MIDI Implementation
Table 2-1. Detailed MIDI Implementation (Continued)
MIDI Message Hex Code Description Compatibility
NRPN 0120h Bnh 63h 01h 62h 20h
06h vv
NRPN 0121h Bnh 63h 01h 62h 21h
06h vv
NRPN 0163h Bnh 63h 01h 62h 63h
06h vv
NRPN 0164h Bnh 63h 01h 62h 64h
06h vv
NRPN 0166h Bnh 63h 01h 62h 66h
06h vv
NRPN 18rrh Bnh 63h 18h 62h rr 06h vvPitch coarse of drum instr. note rr in semitones
NRPN 1Arrh Bnh 63h 1Ah 62h rr 06h vvLevel of drum instrument note rr (vv = 00 to 7Fh) GS
NRPN 1Crrh Bnh 63h 1Ch 62h rr 06h vvPan of drum instrument note rr (40h = middle) GS
NRPN 1Drrh Bnh 63h 1Dh 62h rr 06h vvReverb send level of drum instrument note rr (vv = 00 to 7Fh) GS
NRPN 1Errh Bnh 63h 1Eh 62h rr 06h vvChorus send level of drum instrument note rr (vv = 00 to 7Fh) GS
NRPN 37xxh Bnh 63h 37h 62h xx
06h vv
NRPN 38xxh Bnh 63h 38h 62h xx
06h vv
TVF cutoff freq modify(vv = 40h -> no modif) GS
TVF resonance modify (vv = 40h -> no modif) GS
Env. attack time modify (vv = 40h ->no modif) GS
Env. decay time modify (vv = 40h -> no modif) GS
Env. release time modif (vv = 40h ->no modif) GS
GS
(vv = 40h -> no modif)
Special Synthesis features controls (see Section 1.3) DREAM
3DMIDI control (see Section 1.3) DREAM
Standard Sysex F0h 7Eh 7Fh 09h 01h
F7h
Standard Sysex F0h 7Fh 7Fh 04h 01h
00h ll F7h
SYSEX F0h 41h 00h 42h 12h
40h 00h 00h dd dd dd dd xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 00h 04h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 00h 05h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 00h 06h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 00h 7Fh 00h xx F7h
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
General MIDI reset GM
Master volume (ll = 0 to 127, default 127) GM
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
Master volume (default vv = 7Fh) GS
Master key-shift (default vv = 40h, no transpose) GS
Master pan (default vv = 40h, center)
GS reset GS
Voi ce 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
GS
SAM9793 User Guide 2-3
Detailed MIDI Implementation
Table 2-1. Detailed MIDI Implementation (Continued)
MIDI Message Hex Code Description Compatibility
SYSEX F0h 41h 00h 42h 12h
40h 01h 30h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 31h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 33h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 34h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 35h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 38h 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
Reverb character, default 04h GS
Reverb master level, default = 64 GS
Reverb time GS
Reverb delay feedback. Only if reverb number = 6 or 7 (delays). GS
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
GS
SYSEX F0h 41h 00h 42h 12h
40h 01h 3Ah vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 3Bh vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 3Ch vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 3Dh vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 01h 3Eh vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 1ph 02h nn xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 1ph 15h vv xx F7h
Chorus master level, default = 64 GS
Chorus feedback GS
Chorus delay GS
Chorus rate GS
Chorus depth GS
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)
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
GS
2-4 SAM9793 User Guide
Detailed MIDI Implementation
Table 2-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
SYSEX F0h 41h 00h 42h 12h
40h 1nh 1Ah vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 1nh 1Bh vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 1nh 1Fh vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 1nh 20h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 00h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 01h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 02h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 03h vv 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.
Velocity slope from 00h to 7Fh (default = 40h) GS
Velocity offset from 00h to 7Fh (default = 40h) GS
CC1 Controller number (00-5Fh) (default = 10h) GS
CC2 Controller number (00-5Fh) (default = 11h) GS
Mod pitch control (-24, +24 semitone) (default = 40h) GS
Mod tvf cutoff control (default = 40h) GS
Mod Amplitude control (-100% ± 100%) (default = 40h) GS
Mod lfo1 rate control (default = 40h). n is don't care. Rate is common on all channels.
GS
GS
SYSEX F0h 41h 00h 42h 12h
40h 2nh 04h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 05h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 06h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 10h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 11h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 12h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 14h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 15h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 16h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 20h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 21h vv xx F7h
Mod lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS
Mod lfo1 tvf depth (default = 0h) GS
Mod lfo1 tva depth (0 - 100%) (default = 0h) GS
Bend pitch control (-24, +24 semitone) (default = 42h) GS
Bend tvf cutoff control (default = 40h) GS
Bend Amplitude control (-100% ± 100%) (default = 40h) GS
Bend lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS
Bend lfo1 tvf depth (default = 0h) GS
Bend lfo1 tva depth (0 - 100%) (default = 0h) GS
CAF pitch control (-24, +24 semitone) (default = 40h) GS
CAF tvf cutoff control (default = 40h) GS
SAM9793 User Guide 2-5
Detailed MIDI Implementation
Table 2-1. Detailed MIDI Implementation (Continued)
MIDI Message Hex Code Description Compatibility
SYSEX F0h 41h 00h 42h 12h
40h 2nh 22h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 24h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 25h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 26h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 40h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 41h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 42h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 44h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 45h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 46h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 50h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 51h vv xx F7h
CAF Amplitude control (-100% ± 100%) (default = 40h) GS
CAF lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS
CAF lfo1 tvf depth (default = 0h) GS
CAF lfo1 tva depth (0 - 100%) (default = 0h) GS
CC1 pitch control (-24,+24 semitone) (default = 40h) GS
CC1 tvf cutoff control (default = 40h) GS
CC1 Amplitude control (-100% ± 100%) (default = 40h) GS
CC1 lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS
CC1 lfo1 tvf depth (default = 0h) GS
CC1 lfo1 tva depth (0 - 100%) (default = 0h) GS
CC2 pitch control (-24, +24 semitone) (default = 40h) GS
CC2 tvf cutoff control (default = 40h) GS
SYSEX F0h 41h 00h 42h 12h
40h 2nh 52h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 54h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 55h vv xx F7h
SYSEX F0h 41h 00h 42h 12h
40h 2nh 56h vv xx F7h
CC2 Amplitude control (-100% ± 100%) (default = 40h) GS
CC2 lfo1 pitch depth (0 - 600 cents) (default = 0Ah) GS
CC2 lfo1 tvf depth (default = 0h) GS
CC2 lfo1 tva depth (0 - 100%) (default = 0h) GS
Note: 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 Note: x or xx = “dont care
2-6 SAM9793 User Guide
Detailed MIDI Implementation
SAM9793 User Guide 2-7
Detailed MIDI Implementation
2-8 SAM9793 User Guide

Section 3

Sounds

3.1 Main Sounds – General MIDI

Table 3-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
All channels except 10.
PC = Program Change
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
SAM9773 User Guide 3-1
Sounds
Table 3-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

3.2 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 3-2. MT-32 Sound Variation #127
PC Instrument Name PC Instrument Name PC Instrument Name PC 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 Bras s2 27 Synth Brass 3 28 Synth Brass 4
29 Synth Bass 1 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
77 Recorder 78 Pan Flute 79 Soprano Sax 80 Alto Sax
3-2 SAM9773 User Guide
Table 3-2. MT-32 Sound Variation #127 (Continued)
PC Instrument Name PC Instrument Name PC Instrument Name PC Instrument Name
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
Sounds
SAM9773 User Guide 3-3
Sounds

3.3 Drumset Variations (MIDI Channel 10)

* = No sound Blank = Same sound as Standard Set [EXC] = Sounds with same EXC number are mutually exclusive
Table 3-3. Drumset Variations
Prog 1: Standard Set
27 - D#1 Closed Hi Hat *
28 - E1 Pedal H i-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 Rim Shot
38 - D2 Snare Drum 1 Gated Snare Brush Tap Snare Drum 2 Snare Drum
Prog 17: Power Set
Prog 41: Brush
Prog 49: Orchestra
Prog 127: CM -64/32 (Partial)
39 - D#2 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]
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
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
Timpani F# Closed Hi-Hat
[EXC1]
[EXC1]
55 - G3 Splash Cymbal *
56 - G#3 Cowbell Cowbell
57 - A3 Crash Cymbal 2 *
3-4 SAM9773 User Guide
Table 3-3. Drumset Variations (Continued)
Sounds
Prog 1: Standard Set
58 - A#3 Vibraslap *
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
Prog 17: Power Set
Prog 41: Brush
Prog 49: Orchestra
Prog 127: CM -64/32 (Partial)
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 *
SAM9773 User Guide 3-5
Sounds
Table 3-3. Drumset Variations (Continued)
Prog 1: Standard Set
93 - A6 *
94 - A#6 Helicopter
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
Prog 17: Power Set
Prog 41: Brush
Prog 49: Orchestra
Prog 127: CM -64/32 (Partial)
3-6 SAM9773 User Guide

Section 4

Auto-test

4.1 Overview 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. Refer to Table 4-1.
Table 4-1. Test in Progress/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 functional.
SAM9773 User Guide 4-1
Auto-test
4-2 SAM9773 User Guide

5.1 Instruments Requiring Two Voices

Section 5

Appendix

Table 5-1. Two-layer Instruments
PC Name 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 Lead 7 (fifths)
SAM9773 User Guide 5-1
Atmel Headquarters Atmel Operations
Corporate Headquarters
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 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
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
Atmel Colorado Springs
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
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 Companys standard war­ranty which is detailed in Atmels Terms and Conditions located on the Companys 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 prop­erty of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmels products are not authorized for use as critical components in life support devices or systems.
ATM EL® is the registered trademark of Atmel Corporation; 3DMIDI is a trademark of Atmel Corpora­tion.
Terms and product names in this document may be trademarks of others.
Printed on recycled paper.
1718B–06/01/0M
Loading...