Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipHazel committed Nov 24, 2021
0 parents commit a815cab
Show file tree
Hide file tree
Showing 687 changed files with 174,988 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Public .gitignore file for PMW

*.o
*~

INSTALL
Makefile
config.guess
config.log
config.status
configure
doc/spec.pdf
doc/spec.ps
doc/spec.xml
doc/postscript
fontextra
src/config.h
src/pmw
testdist/test*
testing/test*

# End
35 changes: 35 additions & 0 deletions Detrail
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/perl

# This is a script for removing trailing whitespace from lines in files that
# are listed on the command line.

# This subroutine does the work for one file.

sub detrail {
my($file) = $_[0];
my($changed) = 0;
open(IN, "$file") || die "Can't open $file for input";
@lines = <IN>;
close(IN);
foreach (@lines)
{
if (/\s+\n$/)
{
s/\s+\n$/\n/;
$changed = 1;
}
}
if ($changed)
{
open(OUT, ">$file") || die "Can't open $file for output";
print OUT @lines;
close(OUT);
}
}

# This is the main program

$, = ""; # Output field separator
for ($i = 0; $i < @ARGV; $i++) { &detrail($ARGV[$i]); }

# End
339 changes: 339 additions & 0 deletions LICENCE

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions MIDIperc
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# This file contains translations between names and MIDI "pitches"
# for untuned percussion voices. Lines that begin with #, and blank
# lines, are ignored.

# The default file supplied with PMS contains associations that
# correspond to the General MIDI specification.

# Lines must begin with three digits, followed by a space, and then
# the instrument name, without any trailing spaces.



# The following appear on the Yamaha TG100:

029 scratch push
030 scratch pull
031 stick
032 click noise
033 metronome click
034 metronome bell

# General MIDI:

035 acoustic bass drum
036 bass drum 1
037 side stick
038 acoustic snare
039 hand clap
040 electric snare
041 low floor tom
042 closed hi hat
043 high floor tom
044 pedal hi hat
045 low tom
046 open hi hat
047 low mid tom
048 hi mid tom
049 crash cymbal 1
050 high tom
051 ride cymbal 1
052 chinese cymbal
053 ride bell
054 tambourine
055 splash cymbal
056 cowbell
057 crash cymbal 2
058 vibraslap
059 ride cymbal 2
060 hi bongo
061 low bongo
062 mute hi conga
063 open hi conga
064 low conga
065 high timbale
066 low timable
067 high agogo
068 low agogo
069 cabasa
070 maracas
071 short whistle
072 long whistle
073 short guiro
074 long guiro
075 claves
076 hi wood block
077 low wood block
078 mute cuica
079 open cuica
080 mute triangle
081 open triangle

# The following are not listed as General Midi but are on the
# Casio CTK-650 keyboard (names invented):

082 shake
083 morris bells
084 drumsticks
085 short disc wipe
086 double disc wipe
087 long disc wipe

# The following are on the Yamaha TG100:

082 shaker
085 castanets
086 taiko-drum high
087 taiko-drum low

# End of MIDI names file.
225 changes: 225 additions & 0 deletions MIDIvoices
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# This file contains translations between names and MIDI voice
# numbers. Lines that begin with #, and blank lines, are ignored.

# The default file supplied with PMS contains associations that
# correspond to the General MIDI specification. However, the names
# of the instruments don't seem to be standardised, especially
# for some of the "effects". Hence more than one name is given for
# some of them. I have used the names from the Casio CTK-650 for the
# effects.

# ...Names from the Yamaha TG100 added by Richard Hallas.

# Lines must begin with three digits, followed by a space, and then
# the instrument name, without any trailing spaces.

001 piano
001 acoustic grand piano
002 hard piano
002 bright acoustic piano
003 studio piano
003 electric grand piano
004 honky-tonk piano
005 electric piano 1
006 electric piano 2
007 harpsichord
008 clavelectro
008 clavichord

009 celesta
010 glockenspiel
011 music box
012 vibraphone
013 marimba
014 xylophone
015 tubular bells
016 dulcimer

017 electric organ
017 drawbar organ
018 jazz organ
018 percussion organ
019 rock organ
020 church organ
021 reed organ
022 accordion
023 harmonica
024 bandoneon
024 tango accordion

025 gut guitar
025 acoustic nylon guitar
026 acoustic guitar
026 acoustic steel guitar
027 jazz guitar
027 electric jazz guitar
028 electric guitar
028 electric clean guitar
029 mute guitar
029 electric muted guitar
030 overdriven guitar
030 distortion guitar 1
031 distortion guitar 2
032 guitar harmonics

033 wood bass
033 acoustic bass
034 electric bass 1
034 electric bass fingered
035 electric bass 2
035 electric bass picked
036 fretless bass
037 slap bass 1
038 slap bass 2
039 synth bass 1
040 synth bass 2

041 violin
042 viola
043 cello
044 contrabass
045 tremolo strings
046 pizzicato strings
047 harp
047 orchestral harp
048 timpani

049 strings 1
049 strings ensemble 1
050 strings 2
050 strings ensemble 2
051 synth strings 1
052 synth strings 2
053 choir
053 choir aahs
054 moon voice
054 voice oohs
054 choir oohs
055 synth voice
056 orchestra hit
056 orchestral hit

057 trumpet
058 trombone
059 tuba
060 mute trumpet
060 muted trumpet
061 french horn
062 brass
062 brass section
063 synth brass 1
064 synth brass 2

065 soprano sax
065 soprano saxophone
066 alto sax
066 alto saxophone
067 tenor sax
067 tenor saxophone
068 baritone sax
068 baritone saxophone
069 oboe
070 english horn
071 bassoon
072 clarinet

073 piccolo
074 flute
075 recorder
076 pan flute
077 blown bottle
077 bottle blow
078 shakuhachi
079 whistle
080 ocarina

081 synth lead 1
081 square
082 synth lead 2
082 saw tooth
083 synth lead 3
083 calliope
084 synth lead 4
084 power lead
084 chiff
085 synth lead 5
085 metal lead
085 charang
086 synth lead 6
086 angel choir
086 voice
087 synth lead 7
087 fifth lead
087 fifths
088 synth lead 8
088 bass lead
088 bass+lead

089 fantasy
089 new age
090 warm strings
090 warm
091 synth ensemble
091 polysynth
092 space chorus
092 choir
093 glass harmonica
093 bowed
094 illusion
094 metallic
095 country farm
095 halo
096 synth pad
096 sweep

097 pearl drop
097 rain
098 soundtrack
099 crystal
100 atmosphere
101 brightness
102 labyrinth
102 goblins
103 echoes
104 cosmic sound
104 sci-fi

105 sitar
106 banjo
107 shamisen
108 koto
109 thumb piano
109 kalimba
110 bagpipe
110 bag pipe
111 fiddle
112 shanai

113 bells
113 tinkle bell
114 agogo
115 steel drum
116 wood block
116 woodblock
117 taiko
117 taiko drum
118 tom
118 melodic tom
119 electric tom
119 synth drum
120 reverse cymbal

121 guitar fret noise
122 breath
122 breath noise
123 seashore
124 bird
124 bird tweet
125 telephone
125 telephone ring
126 helicopter
127 applause
128 gunshot
128 gun shot

# End of MIDI voice names file.
Loading

0 comments on commit a815cab

Please sign in to comment.