Re: [LAU] yoshimi falls asleep on padsynth load

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: cal <cal@...>
To: <linux-audio-user@...>
Date: Thursday, July 8, 2010 - 2:11 am

On 07/07/10 18:42, James Morris wrote:

hi James, well that turned out to be more interesting than a boring little
deadlock. With plinky-plank's sample-quality->samplesize of 5, it sets about
prepping an fft plan on 512K, and any way you go about that I figure that's
going to take a finite chunk of time. My terminology use here is no doubt way
off, I don't pretend to understand as much as I'd like on the subject of fft
processing.

The "problem" was that somewhere way back there I switched the planner flag
from FFTW_ESTIMATE to FFTW_MEASURE, and as the docs put it, "FFTW_MEASURE
tells FFTW to find an optimized plan by actually computing several FFTs and
measuring their execution time. Depending on your machine, this can take some
time (often a few seconds)". On my AMD250/4G ram, plinky-plank took all of
1'24" to come to life. And wasn't it worth the wait!

By switching the planner flag back to FFTW_ESTIMATE, things happen a whole lot
quicker. This one is just further evidence that when it comes to the core
synth stuff, Paul (original zyn author) actually knew what he was doing, and
every time I've tried to vary things in that area I've stuffed it up! I think
this little item might also account for comments along the way that instrument
loading in general was taking longer than it used to.

And so there's ...
0.059-pre2 switch fftw planner flag from FFTW_MEASURE back to FFTW_ESTIMATE,
enabling plinky-plank to load in realistic time.

Let me know if it works for you,

cheers, Cal

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] yoshimi falls asleep on padsynth load, James Morris, (Wed Jul 7, 8:42 am)
Re: [LAU] yoshimi falls asleep on padsynth load, cal, (Thu Jul 8, 2:11 am)
Re: [LAU] yoshimi falls asleep on padsynth load, James Morris, (Thu Jul 8, 8:31 am)
Re: [LAU] yoshimi falls asleep on padsynth load, Philipp Überbacher, (Thu Jul 8, 8:07 am)
Re: [LAU] yoshimi falls asleep on padsynth load, Philipp Überbacher, (Thu Jul 8, 8:45 am)
Re: [LAU] yoshimi falls asleep on padsynth load, Jeremy Jongepier, (Wed Jul 7, 9:14 am)
Re: [LAU] yoshimi falls asleep on padsynth load, Philipp Überbacher, (Wed Jul 7, 9:12 am)
Re: [LAU] yoshimi falls asleep on padsynth load, James Morris, (Wed Jul 7, 9:34 am)
Re: [LAU] yoshimi falls asleep on padsynth load, James Morris, (Wed Jul 7, 9:36 am)