[LAU] [ANN] XSL stylesheets for converting specimen banks to petri-foo banks

Thomas Mayer thomas at residuum.org
Sun Feb 2 17:02:14 UTC 2014


Hi,

I have just finished two XSL stylesheets for converting specimen banks
to the save format used by petri-foo, so a user can easily switch to
petri-foo:

https://github.com/residuum/specimen2petri-foo

There are two stylesheets, depending on your locale settings, i.e. if
your locale uses comma or dot as decimal separator (if 1/2 is saved as
0.5 or 0,5 on your system).

If there are any other decimal separators out there your copy
s2p_comma.xsl and replace strings "0," and "1," to your settings. Do not
do that with s2p_dot.xsl, because necessary version information for XML
and XSL use strings like "1.0" etc.

Standard sample rate is set to 44.1 kHz, if you want to change to
another value, just edit the value in line 6.

If you encounter any bugs, open an issue on Github or send me an email.

Thanks,
Thomas
-- 
"We left all that stuff out. If there's an error, we have this
routine called panic, and when it is called, the machine crashes,
and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
http://www.residuum.org/


More information about the Linux-audio-user mailing list