Re: yoshimi falls asleep on padsynth load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Excerpts from cal's message of 2010-07-08 04:11:47 +0200:
> On 07/07/10 18:42, James Morris wrote:
> > Hi,
> >
> > Yoshimi 0.58 crashes when loading a padsynth instrument from instrument menu.
> >
> > The attached instrument fails, as does a simple test instrument with
> > default params.
> 
> 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, <http://www.graggrag.com/yoshimi/yoshimi-0.059-pre2.tar.bz2>
> 
> cheers, Cal

Thanks Cal, now it loads immediately.

I think I commented this once already, but as a reminder:
When you quit there's a popup. It says: "Save session state?".
There are three options to choose from. The keyboard action there is
reversed, when you use leftarrow the selection moves to the right, and
vice versa. It's just a nitpick, I'm almost used to it in the meanwhile
;)
-- 
Regards,
Philipp

--
"Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan

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



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux