Hi,

first of all thanks for your efforts.

That said, could you take into account the sample_rate value passed to the LV2 instantiate function? I work in 48KHz and DrumGizmo is in 44.1KHz and nothing else. (I use the LV2 version within my own host, some kind of minimalist DAW, to be released at some point in the future.)

Digging a bit into the code, I see very few places where this value of 44100 is used. But it's just a quick look. Maybe things are not that simple.

You can use libsamplerate (see http://www.mega-nerd.com/SRC/) or zita-resampler (see http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html) (I would personnaly suggest the second one.)

If you are interested I can volunteer to hack something. I guess that resampling at loading time is enough, and adapt the code to use a variable “sample_rate” where 44100 is hardcoded.

Let me know what you think.

Thanks again for DrumGizmo.

Regards, Cédric.

roadmap/samplerates.txt · Last modified: 2013/08/22 08:32 by deva
Trace: samplerates
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0