1 |
<html> |
2 |
<head> |
3 |
<title>lscp2idf</title> |
4 |
<meta name="author" content="Andrew Coughlan"> |
5 |
<meta name="description" content="Scripts for converting from LinuxSampler's LSCP to the MusE sequencer's IDF format."> |
6 |
<link rel="stylesheet" href="http://doc.linuxsampler.org/css/preview.css"> |
7 |
<script type="text/javascript" src="http://doc.linuxsampler.org/js/preview.js"></script> |
8 |
</head> |
9 |
<body> |
10 |
<h1>LSCP2IDF</h1> |
11 |
<p> |
12 |
<a href="https://www.linuxsampler.org/misc/lscp2idf/lscp2idf.tar.bz2">LSCP2IDF</a> |
13 |
is a set of scripts which extracts the midi instruments from an LSCP |
14 |
file and then converts it to MusE sequencer's IDF format for patches changes |
15 |
in that sequencer. |
16 |
</p> |
17 |
|
18 |
<h3>Requirements</h3> |
19 |
<p> |
20 |
<ul> |
21 |
<li><a href="https://www.gnu.org/software/sed/">GNU sed</a></li> |
22 |
<li><a href="https://www.gnu.org/software/coreutils/manual/html_node/csplit-invocation.html">GNU csplit</a></li> |
23 |
</ul> |
24 |
</p> |
25 |
|
26 |
<h3>How to use</h3> |
27 |
<p> |
28 |
Place your target lscp in the same directory as these scripts and edit |
29 |
the first line in <cod>1SplitLSCP.sh</code>, then run |
30 |
</p> |
31 |
<code> |
32 |
1SplitLSCP.sh |
33 |
</code> |
34 |
<p> |
35 |
This will split the midi banks into seperate files. |
36 |
Bank name of the midi is the first entry, followed by the instruments in the midi map. |
37 |
Next run |
38 |
</p> |
39 |
<code> |
40 |
2GenerateIDF.sh |
41 |
</code> |
42 |
<p> |
43 |
This will generate idf files from the above files in a folder called 'idf'. |
44 |
Finally copy the generated files to ~/.config/MusE/instruments . |
45 |
</p> |
46 |
|
47 |
<h3>Known Limitations / Bugs</h3> |
48 |
<p> |
49 |
<ol> |
50 |
<li><b>Limitation:</b> Only 1 bank inside the instrument map is supported. YMMV with more banks per instrument map (untested).</li> |
51 |
<li><b>Limitation:</b> Currently only 'ON_DEMAND' gig loaded instruments are processed properly, but adding support for the other gig loading modes should be easy.</li> |
52 |
<li><b>Bug:</b> Special characters in the midi map name like '/' cause the script to ignore these banks.<br> |
53 |
<br> |
54 |
<b>Workaround:</b> You can use <code>+</code> instead like <code>'Guitars+Keyboards'</code> in the midi instrument map name. |
55 |
</li> |
56 |
</ol> |
57 |
</p> |
58 |
|
59 |
<h3>TODO</h3> |
60 |
<p> |
61 |
Cleanup idf output. It works, just needs to be alot cleaner visually |
62 |
</p> |
63 |
|
64 |
<h3>License</h3> |
65 |
<p> |
66 |
These scripts are licensed under <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GPL V2</a> or <a href="https://www.gnu.org/licenses/gpl.html">later</a>. |
67 |
</p> |
68 |
|
69 |
</body> |
70 |
</html> |