Umm... Or you could just buy an outboard sound module like the Emu 1820 (or a number of others) which has it's own processor that handles all DSP data so your CPU is left relaxed... I have just about zero latency with the thing fully loaded with effects and synths... 

On Sun, Aug 28, 2011 at 5:43 AM, <lmms-users-request@lists.sourceforge.net> wrote:
Send Lmms-users mailing list submissions to
       lmms-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/lmms-users
or, via email, send a message with subject or body 'help' to
       lmms-users-request@lists.sourceforge.net

You can reach the person managing the list at
       lmms-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Lmms-users digest..."


Today's Topics:

  1. Re: Annoying time delay on MIDI in (Jonathan Aquilina)
  2. Re: Annoying time delay on MIDI in (Nikos Chantziaras)
  3. Re: Annoying time delay on MIDI in (Nikos Chantziaras)
  4. Re: Annoying time delay on MIDI in (David Gerard)
  5. Re: Annoying time delay on MIDI in (Nikos Chantziaras)
  6. Re: Annoying time delay on MIDI in (David Gerard)
  7. Re: Annoying time delay on MIDI in (Arnout Engelen)


----------------------------------------------------------------------

Message: 1
Date: Sat, 27 Aug 2011 20:54:22 +0200
From: Jonathan Aquilina <eagles051387@gmail.com>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: Nikos Chantziaras <realnc@arcor.de>
Cc: lmms-users@lists.sourceforge.net
Message-ID:
       <CAHdpx629Bdb5rMEtnaxDWbxcHhRw8uYkEC-OCZ3sQ3TxJ6gWuA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

nikos you can also get jack on windows too

On Sat, Aug 27, 2011 at 7:08 PM, Nikos Chantziaras <realnc@arcor.de> wrote:

> On 08/27/2011 05:08 PM, David Gerard wrote:
> > So, I've hooked my girlfriend's cheap'n'cheerful Casio keyboard
> > (CTK-2100) to my netbook running LMMS 0.4.10.
> >
> > The MIDI input works great ... unfortunately, it has an annoying time
> > delay of something like 1/8 or 1/16 second on input. This is enough to
> > make trying to record to piano-roll from MIDI very annoying and
> > difficult.
> >
> > What would be causing this? Does anyone else get this? Is there any
> > way to disable it? Is it actually the keyboard itself?
>
> This is a problem everyone has on all operating systems.  It's called
> "latency".  If you're on Linux, you solve that by using JACK instead of
> ALSA or PulseAudio.  To bring latency down even further, you then either
> use an RT kernel (overkill) or a standard kernel patched with BFS
> (recommended.)
>
> If you're on Windows, you need to install an ASIO driver for your sound
> card.  If there isn't one, you can use the asio4all driver (google it.)
>  But I don't know if LMMS supports ASIO.  If not, you will have to live
> with the latency and there's nothing you can do short of using something
> other than LMMS.
>
>
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Lmms-users mailing list
> Lmms-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lmms-users
>



--
Jonathan Aquilina
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sat, 27 Aug 2011 22:36:39 +0300
From: Nikos Chantziaras <realnc@arcor.de>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: lmms-users@lists.sourceforge.net
Message-ID: <j3bgv6$nbq$1@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Can it use ASIO?  Because otherwise it won't do much latency-wise.

On 08/27/2011 09:54 PM, Jonathan Aquilina wrote:
> nikos you can also get jack on windows too
>
> On Sat, Aug 27, 2011 at 7:08 PM, Nikos Chantziaras <realnc@arcor.de
> <mailto:realnc@arcor.de>> wrote:
>
>     On 08/27/2011 05:08 PM, David Gerard wrote:
>      > So, I've hooked my girlfriend's cheap'n'cheerful Casio keyboard
>      > (CTK-2100) to my netbook running LMMS 0.4.10.
>      >
>      > The MIDI input works great ... unfortunately, it has an annoying time
>      > delay of something like 1/8 or 1/16 second on input. This is
>     enough to
>      > make trying to record to piano-roll from MIDI very annoying and
>      > difficult.
>      >
>      > What would be causing this? Does anyone else get this? Is there any
>      > way to disable it? Is it actually the keyboard itself?
>
>     This is a problem everyone has on all operating systems.  It's called
>     "latency".  If you're on Linux, you solve that by using JACK instead of
>     ALSA or PulseAudio.  To bring latency down even further, you then either
>     use an RT kernel (overkill) or a standard kernel patched with BFS
>     (recommended.)
>
>     If you're on Windows, you need to install an ASIO driver for your sound
>     card.  If there isn't one, you can use the asio4all driver (google it.)
>       But I don't know if LMMS supports ASIO.  If not, you will have to live
>     with the latency and there's nothing you can do short of using something
>     other than LMMS.





------------------------------

Message: 3
Date: Sat, 27 Aug 2011 22:49:39 +0300
From: Nikos Chantziaras <realnc@arcor.de>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: lmms-users@lists.sourceforge.net
Message-ID: <j3bhni$rmt$1@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 08/27/2011 10:36 PM, Nikos Chantziaras wrote:
> Can [JACK] use ASIO?  Because otherwise it won't do much latency-wise.

OK, it seems it does.  So to the OP, go here:

http://www.asio4all.com/

Download and install the driver.  Then go here:

http://jackaudio.org/download

Download the Windows installer, run JACK, configure it to use ASIO, then
configure LMMS to use JACK, and restart it.




------------------------------

Message: 4
Date: Sat, 27 Aug 2011 22:37:33 +0100
From: David Gerard <dgerard@gmail.com>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: lmms-users@lists.sourceforge.net
Message-ID:
       <CAJ0tu1GLRMAQ+Ch3i65iSLtTmR3BRiuOvp_kKvsVqVzO4Vp9CQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 27 August 2011 20:49, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 08/27/2011 10:36 PM, Nikos Chantziaras wrote:

>> Can [JACK] use ASIO? ?Because otherwise it won't do much latency-wise.

> OK, it seems it does. ?So to the OP, go here:
> http://www.asio4all.com/
> Download and install the driver. ?Then go here:
> http://jackaudio.org/download
> Download the Windows installer, run JACK, configure it to use ASIO, then
> configure LMMS to use JACK, and restart it.


*cough* the OP (me) is doing this on Ubuntu, not Windows ;-)

I used JACK before when I was trying to get Rosegarden to work.
Horrible fiddly thing. The netbook could barely cope with Rosegarden,
JACK and Qsynth. (Yeah yeah, I should get a real computer.)

So, MIDI is routed through the sound driver before it gets to LMMS,
then? How annoying.


- d.



------------------------------

Message: 5
Date: Sun, 28 Aug 2011 01:11:56 +0300
From: Nikos Chantziaras <realnc@arcor.de>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: lmms-users@lists.sourceforge.net
Message-ID: <j3bq2b$i28$1@dough.gmane.org>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 08/28/2011 12:37 AM, David Gerard wrote:
> On 27 August 2011 20:49, Nikos Chantziaras<realnc@arcor.de>  wrote:
>> On 08/27/2011 10:36 PM, Nikos Chantziaras wrote:
>
>>> Can [JACK] use ASIO?  Because otherwise it won't do much latency-wise.
>
>> OK, it seems it does.  So to the OP, go here:
>> http://www.asio4all.com/
>> Download and install the driver.  Then go here:
>> http://jackaudio.org/download
>> Download the Windows installer, run JACK, configure it to use ASIO, then
>> configure LMMS to use JACK, and restart it.
>
>
> *cough* the OP (me) is doing this on Ubuntu, not Windows ;-)
>
> I used JACK before when I was trying to get Rosegarden to work.
> Horrible fiddly thing. The netbook could barely cope with Rosegarden,
> JACK and Qsynth. (Yeah yeah, I should get a real computer.)
>
> So, MIDI is routed through the sound driver before it gets to LMMS,
> then? How annoying.

No.  It gets to LMMS first.  But "latency" is the delay it takes for
LMMS to get the event and then to generate the sound that event should
produce and then it takes additional time for the sound to reach the
hardware (sound card).

I'd recommend JACK2 with the QjackCtl GUI to control it.  It's very
easy.  The only tweaks that affect performance are "Frames/Period" and
"Periods/Buffer".  Try 64 and 2.  Raise one of them if the system can't
keep up.




------------------------------

Message: 6
Date: Sat, 27 Aug 2011 23:39:28 +0100
From: David Gerard <dgerard@gmail.com>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: lmms-users@lists.sourceforge.net
Message-ID:
       <CAJ0tu1FSuVEDMA-DRXVOxE5HasOj5Cbd-uOUjN5ZyjpRciOF6A@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 27 August 2011 23:11, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 08/28/2011 12:37 AM, David Gerard wrote:

>> So, MIDI is routed through the sound driver before it gets to LMMS,
>> then? How annoying.

> No. ?It gets to LMMS first. ?But "latency" is the delay it takes for
> LMMS to get the event and then to generate the sound that event should
> produce and then it takes additional time for the sound to reach the
> hardware (sound card).


This does not match what I'm observing: a delay in notes being written
to the piano roll, not just a delay in the sound of the notes being
played.

(Unless LMMS insists on starting playing the note before adding it to
the piano roll ...)


- d.



------------------------------

Message: 7
Date: Sun, 28 Aug 2011 11:43:29 +0200
From: Arnout Engelen <lmms@bzzt.net>
Subject: Re: [Lmms-users] Annoying time delay on MIDI in
To: David Gerard <dgerard@gmail.com>
Cc: lmms-users@lists.sourceforge.net
Message-ID: <20110828094329.GB698@bzzt.net>
Content-Type: text/plain; charset=us-ascii

On Sat, Aug 27, 2011 at 11:39:28PM +0100, David Gerard wrote:
> On 27 August 2011 23:11, Nikos Chantziaras <realnc@arcor.de> wrote:
> > "latency" is the delay it takes for
> > LMMS to get the event and then to generate the sound that event should
> > produce and then it takes additional time for the sound to reach the
> > hardware (sound card).
>
> This does not match what I'm observing: a delay in notes being written
> to the piano roll, not just a delay in the sound of the notes being
> played.

To check whether the latency is introduced in LMMS or somewhere earlier in
the stack, hook up a MIDI monitor like KMidiMon to see if the events do
arrive directly.

I don't see how switching to JACK would help in this particular case.

To take LMMS out of the equation, try if the latency is also there when using
Qsynth - it defaults to JACK, but it can also output ALSA.

> (Unless LMMS insists on starting playing the note before adding it to
> the piano roll ...)

I don't know how LMMS works, but it would make sense to output the sound
directly and postpone updating the GUI to whenever the system has some time
to spare.


Arnout



------------------------------

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev

------------------------------

_______________________________________________
Lmms-users mailing list
Lmms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-users


End of Lmms-users Digest, Vol 53, Issue 6
*****************************************



--
-Don't hate the media. Be the media!
R.Rezinunts : Facebook

[LINKS]
MMI Studios
Resonance Design
Gross National Produkt
Socialized Industrial Radio