summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README13
-rw-r--r--example-drums/config.txt4
-rw-r--r--example-drums/patches.txt53
-rw-r--r--example-instruments/config.txt48
-rw-r--r--example-instruments/groups.txt17
-rw-r--r--example-instruments/patches.txt128
6 files changed, 263 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..c1487b1
--- /dev/null
+++ b/README
@@ -0,0 +1,13 @@
+this program can be used to rip your synthesizer's sound:
+it plays configured notes and records the result.
+
+have a look at the files under example-drums and example-instruments
+for the syntax
+
+for switching between instrument and drum mode, you must edit
+midirip.c and set/unset the #define DRUM_MODE!
+
+Disclaimer: this program has been written in a great hurry,
+ within less than ~5 hours of pure coding!
+ Expect appropriate buggyness.
+
diff --git a/example-drums/config.txt b/example-drums/config.txt
new file mode 100644
index 0000000..efbae76
--- /dev/null
+++ b/example-drums/config.txt
@@ -0,0 +1,4 @@
+24-84) 0
+31,33,35,36,38,42,44,46,53,56) 8, 16, 24, 32
+71,72,29) 0 120 3000
+ \ No newline at end of file
diff --git a/example-drums/patches.txt b/example-drums/patches.txt
new file mode 100644
index 0000000..85684cb
--- /dev/null
+++ b/example-drums/patches.txt
@@ -0,0 +1,53 @@
+29 Wirbel
+30 Click
+31 Snare
+32 Sticks
+33 BassDrum0
+34 Side
+35 AcBassDrum
+36 BassDrum1
+37 SideStick
+38 AcSnare
+39 HandClap
+40 ElSnare
+41 LowFloorTom
+42 ClosedHiHat
+43 HighFloorTom
+44 PedalHiHat
+45 LowTom
+46 OpenHiHat
+47 LowMidTom
+48 HighMidTom
+49 CrashCymbal1
+50 HighTom
+51 RideCymbal1
+52 ChineseCymbal
+53 RideBell
+54 Tambourine
+55 SplashCymbal
+56 Cowbell
+57 CrashCymbal2
+58 Vibraslap
+59 RideCymbal2
+60 HighBongo
+61 LowBongo
+62 MuteHiConga
+63 OpenHiConga
+64 LowConga
+65 HighTimbale
+66 LowTimbale
+67 HighAgogo
+68 LowAgogo
+69 Cabasa
+70 Maracas
+71 ShortWhistle
+72 LongWhistle
+73 ShortGuiro
+74 LongGuiro
+75 Claves
+76 HiWoodBlock
+77 LoWoodBlock
+78 MuteCuica
+79 OpenCuica
+80 MuteTriangle
+81 OpenTriangle
diff --git a/example-instruments/config.txt b/example-instruments/config.txt
new file mode 100644
index 0000000..5638489
--- /dev/null
+++ b/example-instruments/config.txt
@@ -0,0 +1,48 @@
+0,1,3) a1 40 2500, a1 120 2500, a3 40 2500, a3 120 2500, a3 80 2500
+0,1,3) a1 40 75, a1 120 75, a3 40 75, a3 120 75, a3 80 75
+2,4,5,6,7) a1 80 1500, a3 80 1500
+8-13) a4 80
+14) a3 80
+15) a3 80, a4 80
+16-23) a3 80 1500
+19) a1 80 2500, a1 a2 80 2500
+21) a2 80 2500, a2 80 75
+24-31) a2 80 1500
+32-39) a1 80 1500
+40) a3 80
+40-42) a2 80
+43) a1 80
+44-46) a3 80
+45) a1 80, a1 a2 80
+48-51) a1 120 75, a1 e2 120 75, a1 a2 120 75, a2 120 75, a2 e3 120 75, a2 a3 120 75, a3 120 75, a3 a4 120 75, a4 120 75
+48-51) a1 120 2000, a1 e2 120 2000, a1 a2 120 2000, a2 120 2000, a2 e3 120 2000, a2 a3 120 2000, a3 120 2000, a3 a4 120 2000, a4 120 2000
+52-54) a1 120 2000, a2 120 2000, a3 120 2000
+55) a2 120, a3 120
+56,57,60-62) a2 120 2000, a3 120 2000
+57,58,60,61) a1 120 2000
+64,65) a2 80
+68,69) a3 80
+69) a2 80
+70) a1 80
+71) a2 80, a3 80
+72) a4 80 2000
+73,75) a3 80
+76) a3 80, a4 80 2000
+80-87) a3 80 1500
+88-91) a2 80 1500
+90) a1 80 1500
+91) a3 80 1500
+92-94) a3 80
+98) a3 80
+104) a3 80
+105) a2 80, a3 80
+109) e2 80 2000, a3 80 2000
+110,111) a2 80 2000, a3 80 2000
+110) a2 80 150, a3 80 150
+112,114) a3 80
+116) e2 80
+119) a1 80 2000, a2 80 2000
+122-127) e3 80 2000
+
+
+
diff --git a/example-instruments/groups.txt b/example-instruments/groups.txt
new file mode 100644
index 0000000..5b25603
--- /dev/null
+++ b/example-instruments/groups.txt
@@ -0,0 +1,17 @@
+0-7 00Piano
+8-15 01Chromatic
+16-23 02Organ
+24-31 03Guitar
+32-39 04Bass
+40-47 05Strings
+48-55 06Ensemble
+56-63 07Brass
+64-71 08Reed
+72-79 09Pipe
+80-87 10SynLead
+88-95 11SynPad
+96-103 12SynFX
+104-111 13Ethnic
+112-119 14Perc
+120-127 15FX
+
diff --git a/example-instruments/patches.txt b/example-instruments/patches.txt
new file mode 100644
index 0000000..2e0eebd
--- /dev/null
+++ b/example-instruments/patches.txt
@@ -0,0 +1,128 @@
+0 AcPiano
+1 BrPiano
+2 ElPiano
+3 Honkytonk
+4 ElPiano1
+5 ElPiano2
+6 Harps
+7 Clavi
+8 Celesta
+9 Glockenspiel
+10 MusicBox
+11 Vibraphone
+12 Marimba
+13 Xylophone
+14 TubBells
+15 Dulcimer
+16 DrawOrg
+17 PercOrg
+18 RockOrg
+19 ChurchOrg
+20 ReedOrg
+21 Accordion
+22 Harmonica
+23 TangoAcc
+24 NylonGuit
+25 SteelGuit
+26 JazzGuit
+27 CleanGuit
+28 MutedGuit
+29 OvDrGuit
+30 DistGuit
+31 GuitHarm
+32 AcBass
+33 FingerBass
+34 PickBass
+35 Fretless Bass
+36 SlapBass1
+37 SlapBass2
+38 SynBass1
+39 SynBass2
+40 Violin
+41 Viola
+42 Cello
+43 Contrabass
+44 TremStr
+45 PizzStr
+46 Harp
+47 Timpani
+48 Strings1
+49 Strings2
+50 SynStrings1
+51 SynStrings2
+52 Aahs
+53 Oohs
+54 SynVoice
+55 OrchHit
+56 Trumpet
+57 Trombone
+58 Tuba
+59 MutedTrumpet
+60 FrenchHorn
+61 BrassSect
+62 SynBrass1
+63 SynBrass2
+64 SopSax
+65 AltSax
+66 TenSax
+67 BariSax
+68 Oboe
+69 EngHorn
+70 Bassoon
+71 Clarinet
+72 Piccolo
+73 Flute
+74 Recorder
+75 PanFlute
+76 Bottle
+77 Shakuhachi
+78 Whistle
+79 Ocarina
+80 SqLead
+81 SawLead
+82 CallLead
+83 ChiffLead
+84 CharLead
+85 VoiceLead
+86 FifthsLead
+87 BassLead
+88 NewAgePad
+89 WarmPad
+90 Polysynth
+91 ChoirPad
+92 BowedPad
+93 MetalPad
+94 HaloPad
+95 SweepPad
+96 FXRain
+97 FXSndTrck
+98 FXCrystal
+99 FXAtmo
+100 FXBright
+101 FXGoblins
+102 FXEchoes
+103 FXSciFi
+104 Sitar
+105 Banjo
+106 Shamisen
+107 Koto
+108 Kalimba
+109 Bagpipe
+110 Fiddle
+111 Shanai
+112 TinkBell
+113 Agogo
+114 SteelDrums
+115 Woodblock
+116 TaikoDrum
+117 MelTom
+118 SynDrum
+119 RevCymbal
+120 GuitFret
+121 Breath
+122 Seashore
+123 Bird
+124 Telephone
+125 Helicopter
+126 Applause
+127 Gunshot