On Tue, Jan 05, 2010 at 09:41:14PM +0000, Jacob Meuser wrote:
> On Tue, Jan 05, 2010 at 11:08:27AM -0800, Bryan Linton wrote:
> > On 2009-12-30 10:59:34, Jacob Meuser <jake...@sdf.lonestar.org> wrote:
> > > lmms-0.4.6, with sndio(7) audio and midi support.
> > > 
> > > LMMS is a music production program.  This includes the creation of
> > > melodies and beats, the synthesis and mixing of sounds, and arrangement
> > > of samples.  You can have fun with your MIDI keyboard and much more.
> > > 
> > 
> > I played around with it for a while. No major problems on i386.
> > 
> > I did notice that after lmms has been open for a few minutes the sound will 
> > start to stutter. It gets progressively worse the longer it stays open.
> > The more CPU I cause lmms to use (by dragging a window around in circles or
> > enabling the realtime waveform visualization above the CPU usage bar) the
> > faster and worse it will stutter.
> > 
> > This happens running with a nice -20ed aucat -l. 
> > 
> > Running with aucat at nice 0 causes lmms to stutter more quickly. Running
> > it without aucat causes it to massively stutter immediately.

forgot to say, you can probably fix that even on slower systems by using
a larger buffer.  the default is fairly small (256 frames iirc).  it
works better with aucat because aucat adds a little more buffering
than using the hardware directly.

if you're using aucat for more than just a desktop sound server, you
should get used to configuring aucat so that blocksizes in aucat match,
or are whole number multiples or factors, of the application block
sizes.  pretty much all "music production" software lets you configure
the blocksize.  there is a caveat though.  since OSS only allows
blocksizes to be a power of two, there are several applications that
will only let you use a blocksize that is a power of two.

I would suggest trying starting aucat with 'aucat -l -b 1024 -z 512'
and then configuring lmms to use 512 frame blocks.  if that still
stutters, double those values.  lather, rinse, repeat as necessary.

> > I'm assuming that my system is just too slow for lmms. 
> > 
> > cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2 cache) 
> > 1.01 GHz
> > 
> 
> basically, yes.  I never had problems with continual stutter with
> 1.5+GHz machines.  scratchy noises when moving the mouse over the GUI,
> yes.  but I just built a new system, 2x3.0GHz, and I'm running lmms on
> aucat with 2x512 frame blocks (though telling lmms itself to use 128
> frame blocks), and I have no scratchiness unless I'm actually twisting
> a knob while sounds are playing, which is probably expected.  played
> the keyboard with that setup for a couple hours last night.
> 
> -- 
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to