background image

Detailed MIDI Implementation

SAM9793 User Guide

2-5

 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

Table 2-1.  

Detailed MIDI Implementation (Continued)

MIDI Message

Hex Code

Description

Compatibility

Summary of Contents for SAM9773

Page 1: ...SAM9773 User Guide ...

Page 2: ......

Page 3: ...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 ...

Page 4: ...Table of Contents ii ...

Page 5: ... 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 ...

Page 6: ...alizer med high cutoff freq 0 0 Hz 7Fh 4 2 kHz 72h 370Bh Equalizer high cutoff freq 0 0 Hz 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...

Page 7: ...eakers 7Fh 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 0 to 7Fh speakers 7Fh 3831h 3DMIDI chorus volume rear speakers 0 to 7Fh 00h Table 1 1 NRPN MIDI Me...

Page 8: ...Configuration and Special MIDI Controls 1 4 SAM9773 User Guide ...

Page 9: ...rogram 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 26h MIDI MIDI RESET FFh Reset to power up condition CTRL 00 Bnh 00h cc Bank select Refer to sounds list N...

Page 10: ...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...

Page 11: ...l Synthesis features controls see Section 1 3 DREAM NRPN 38xxh Bnh 63h 38h 62h xx 06h vv 3DMIDI control see Section 1 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...

Page 12: ...ault 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 Thi...

Page 13: ... 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 2...

Page 14: ...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 ...

Page 15: ...Detailed MIDI Implementation SAM9793 User Guide 2 7 ...

Page 16: ...Detailed MIDI Implementation 2 8 SAM9793 User Guide ...

Page 17: ...ynth 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...

Page 18: ...MIDI 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 Celest...

Page 19: ...l 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 Table 3 2 MT 32 Sound Var...

Page 20: ...and 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 B...

Page 21: ...stle 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 Table 3 3 Drumset Variations Continued Prog 1 Standard Set Pro...

Page 22: ...copter 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 Table 3 3 Drumset Variations Continued Prog 1 Standard Set Prog 17 Power Set Prog 41 Brush Prog 49 Orchestra Prog 127 CM 64 32 Partial ...

Page 23: ...art 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 If PASS frequency is detected this means that part is functional 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 ...

Page 24: ...Auto test 4 2 SAM9773 User Guide ...

Page 25: ...go 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 ...

Page 26: ...sa 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 Color...

Reviews: