forked from electronoora/esqbank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
136 lines (91 loc) · 4.85 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
esqbank - ESQ-1/SQ-80 program/bank MIDI transmit/convert tool for MacOS X
(c) 2012 Jani Halme <[email protected]>
This little command line tool can be used to transmit programs and complete
banks via MIDI to an Ensoniq ESQ-1 or SQ-80 synthesizer. It reads bank dump
files in the format used by SQ80toolkit by Rainer Buchty. It can also be
used to list the contents of a bank dump and convert programs and banks into
raw SysEx format (ie. *.syx) used by SysEx Librarian.
The latest binary and source code is available on Google Code:
http://code.google.com/p/esqbank/
Do also take a look at Rainer Buchty's website for soundbanks, manuals
and lots of other useful information:
http://www.buchty.net/ensoniq/
* * *
Usage: esqbank [-lorvqh] [-m destination] [-c channel] [-p program] <bankfile>
Options:
-l List the programs in the bank only
-o Output sysex to stdout instead of sending via MIDI
-r Read input file as raw sysex data
-m destination MIDI destination index (see list below)
-c channel MIDI channel number (1 to 16)
-p program Send a single program from the bank (number 1 to 40)
-v Increase verbosity
-q Quiet mode - print only errors
-h Display this help message and list destinations
When you run the program without command line arguments or with the '-h'
option, you're also presented with a list of MIDI destinations that might
look something like this:
Destinations:
1: UM-2G 1
2: UM-2G 2
3: Waldorf Blofeld out
These are the MIDI output ports available on your computer. You can use the
number in front of them to select which you want to use by specifying the
'-m' option on the command line. You can also specify the MIDI channel
number using the '-c' option.
If you have raw sysex files (*.syx) and want to transmit those via MIDI, you
can use the '-r' option to tell that the bankfile is, in fact, a sysex dump.
Note that in this case '-p' option has no effect, as the whole sysex file is
always transmitted.
Before transmitting, make sure your ESQ-1/SQ-80 is listening to sysex data
by pressing 'MIDI' and then enabling "KEYS+CT+PC+SS+SX" ('SX' is the
important one here). Then leave the synthesizer on a program select page
to await the transfer. Once the transfer is complete, you should see the
program names change on the display.
* * *
Here's some examples on how to use esqbank.
esqbank -m 1 -c 2 banks/esq-001
Sends all 40 programs in the bank dump 'banks/esq-001' to an ESQ-1/SQ-80
connected to MIDI destination 1 using MIDI channel 2.
esqbank -m 1 -c 2 -p 1 banks/esq-001
Sends program 1 in the bank dump 'banks/esq-001' to an ESQ-1/SQ-80 connected
to MIDI destination 1 using MIDI channel 2.
esqbank -l banks/esq-001
Lists all the program names and their ESQ-1/SQ-80 compatibility from the
bank dump.
esqbank -o banks/esq-001 > sysex/esq-001.syx
Converts all 40 programs in the bank dump into raw SysEx data and saves it
to the file 'sysex/esq-001.syx'.
esqbank -r -m 1 -c 2 sysex/esq-001.syx
Transmits the raw sysex dump from 'sysex/esq-001.syx' to MIDI destination 1
using MIDI channel 2.
If you have a lot of SQ80toolkit banks which you'd like to use in, for
example, SysEx Librarian, you can use esqbank to batch convert the bank dumps
into raw sysex data. Here's an example bash script what would convert all the
bank dumps in directory 'banks' into .syx files in 'sysex'.
for I in banks/*;
do
BANK=`echo $I | cut -d/ -f2`
esqbank -o banks/$BANK > sysex/$BANK.syx
done
* * *
esqbank uses the MIT license so you are free to modify it as you please. I
am also open to any contributions you may have. Drop me an email of you have
diff patches or would like to request additional features. Below is the full
license text:
Copyright (C) 2012 Jani Halme <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.