[LAU] Convert Hydrogen drumkits to sf2? hydro2sf2 doesn't work on Mint 17.1

From: Artem Vakhitov <temcat@email-addr-hidden>
Date: Fri Jan 30 2015 - 15:36:21 EET

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@email-addr-hidden>
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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Jan 30 16:15:03 2015

This archive was generated by hypermail 2.1.8 : Fri Jan 30 2015 - 16:15:03 EET