<br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 4:27 AM, Oliver Jaun <span dir="ltr"><<a href="mailto:olijaun@yahoo.com">olijaun@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:black"><div>Hello<br><br><span>I bought the natural drum samples (<a href="http://www.naturaldrum.com/" target="_blank">http://www.naturaldrum.com/</a>). It contains WAVs and presets for Kontakt and Halion. Now I'd like to create some gigasampler files in order to use it with linuxsampler.</span><br>

<br>The documentation of the natural drum sample library is quite good. The only thing missing is the "loudness" of each sample in order to map each sample to a velocity level from 0-127.<br><br>What would you  recommend in order to calculate the "peek" of each drum sample automatically? Is there a library which could do this? I would also be happy with a command line tool like this:<br>

<br>$ peek bla.wav<br>Peek value: 12345<br><br>I could then write a C++-App using libgig.<br>Any ideas? Libraries?
 Algorithms?<br><br>Thanks!<br>Oliver<br></div>
</div><br>







      </div><br>_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
<br></blockquote></div><br><div>You might try looking at Vamp Plugins: <a href="http://www.vamp-plugins.org/index.html">http://www.vamp-plugins.org/index.html</a></div><div><br></div><div>More specifically, the developer tools seem to allow you to use a vamp plugin easily from the command line: <a href="http://www.vamp-plugins.org/develop.html">http://www.vamp-plugins.org/develop.html</a>  I'm sure there's one to do RMS measurement, or whatever.</div>

<div><br></div><div>Jeremy</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8">