Hi,
is it currently possible to convert Hydrogen drumkits to sf2? It doesn't
work for me on Mint MATE 17.1. I downloaded the script and its
associated .py files, checked for flac and sox being installed, and
tried to use the script on a drumkit. It created an output file but it
doesn't see to contain sounds. I received the following error in the
console:
./hydroToSf2 3355606kit.h2drumkit
bank name: 3355606kit
designer: Artemio <http_//artemio.net>
copyright: 2006, David Konsumer <david.konsumer@xxxxxxxxx>
comment: Based on sounds from famous and classic beatboxes of 1970s and
1980s - Roland TR-606, TR-33 and Boss DR-55.
Layer: 1 loV: 0 hiV: 127 atten(cB): 0 16
Copying sample data:LLLLLLLLLLLLLLLL
Traceback (most recent call last):
File "./hydroToSf2", line 243, in <module>
main(sys.argv)
File "./hydroToSf2", line 238, in main
hydrogenToSf(drumkitDir,sf2,stereo,tempDir)
File "./hydroToSf2", line 168, in hydrogenToSf
sf.writeFromKmap()
File "/home/temcat/Downloads/hydro2sf2/hydro2sf2-read-only/jMksf.py",
line 851, in writeFromKmap
self.riffLen += self.writePdta()
File "/home/temcat/Downloads/hydro2sf2/hydro2sf2-read-only/jMksf.py",
line 837, in writePdta
dlen += self.writeIgen()
File "/home/temcat/Downloads/hydro2sf2/hydro2sf2-read-only/jMksf.py",
line 713, in writeIgen
), self.outf)
File "/home/temcat/Downloads/hydro2sf2/hydro2sf2-read-only/jtype.py",
line 188, in writeval
slen += field.type.writeval(val[ix], outf)
File "/home/temcat/Downloads/hydro2sf2/hydro2sf2-read-only/jtype.py",
line 33, in writeval
outf.write(struct.pack(self.fmt, val))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
Any clues?
Artem
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user