Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:scripts_and_tools [2012/04/09 01:40] – [convert sound files with libsndfile] emrum | wiki:scripts_and_tools [2012/04/30 18:07] – sfz to hydrogen emrum | ||
---|---|---|---|
Line 22: | Line 22: | ||
* [[/ | * [[/ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | ==== SFZ (sound-bank-definition) to Hydrogen (drumkit xml-file) ==== | ||
+ | |||
+ | |||
+ | * [[/ | ||
+ | |||
\\ | \\ | ||
Line 147: | Line 157: | ||
=== convert all FLAC files in a directory to OGA format (vorbis-encoded stream in ogg-container) === | === convert all FLAC files in a directory to OGA format (vorbis-encoded stream in ogg-container) === | ||
+ | \\ | ||
+ | ** Note: ** There is a simple and excellent GUI tool available for audio conversion: [[http:// | ||
+ | It is included in the ubuntu repository. | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
+ | |||
+ | ## UPDATE: sndfile-convert -vorbis | ||
+ | ## there are no options to control that, or compression rate. | ||
+ | ## so rather use " | ||
+ | ## there is also a py-script called " | ||
# initial code by Emanuel Rumpf 2012-04 | # initial code by Emanuel Rumpf 2012-04 | ||
Line 204: | Line 224: | ||
</ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | < | ||
+ | # There is a possilbe alternative, | ||
+ | # | ||
+ | # warning: this is not verbose | ||
+ | |||
+ | # for all files in current directory (.) execute libsndfile-convert | ||
+ | # | ||
+ | find . -name " | ||
+ | |||
+ | </ | ||
. | . |