Re: [Hydrogen-devel] Suggestions for full Edrum Support

2011-06-23 Thread Thomas Orgis
Am Wed, 15 Jun 2011 22:34:40 +0200
schrieb thijs van severen thijsvanseve...@gmail.com: 


 would you be interested in writing down what you have created ?  a bit like
 the description i made of my live setup (see
 http://hydrogen-music.org/hcms/node/29)

I'll try to get around to do that. Also, I'll probably test the setup on a 
little school gig tomorrow. But what I again observed during playing 
yesterday... while you can play, also with others, there is some noticeable 
latency when you look for it. Well, a subtly strange feeling when concentrating 
on it. When not bothering and just playing, it's fine.

So, my Roland drum brain is a bit quicker as the current combo of MIDI/USB 
Trigger pad and Hydrogen on the PC. Question is if the main source of latency 
is the trigger pad (unlikely) the MIDI/USB connection or the Linux 
driver/kernel side (quite possible) or hydrogen ... and that is a good point, 
IMHO. Hydrogen is not designed for quick live play, is it? I mean, it's great 
how it works at all, but I imagine that there can be room for improvement for 
responsiveness.
Or ... or it could be the added delay of the MIDI filter, but seriously doubt 
that. The program does do hardly any computation and if the ALSA MIDI stack 
would introduce noticeable latency for the signal passing then it would be 
positively considered utter crap, wouldn't it? But perhaps it would be a good 
idea to run the filter with realtime priority, too.

I think I'd need to measure the latency by monitoring time stamps of midi 
signals coming in and at the same time recording the produced output of 
hydrogen via JACK... correlate those somehow... are there perhaps ready 
solutions to diagnose this? There are people playing MIDI synths with linux, 
right?


Alrighty then,

Thomas.


signature.asc
Description: PGP signature
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev___
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel


Re: [Hydrogen-devel] Suggestions for full Edrum Support

2011-06-23 Thread Krzysztof Foltman
On 23/06/11 08:17, Thomas Orgis wrote:

 So, my Roland drum brain is a bit quicker as the current combo of MIDI/USB 
 Trigger pad and Hydrogen on the PC. Question is if the main source of latency 
 is the trigger pad (unlikely)

Not as unlikely as you think. My old drum brain (infamous Fame DD602) 
had a horrendous latency on its MIDI output. I've even noticed the 
difference hitting a bare piezo connected to the brain vs the same piezo 
enclosed in a mesh/foam pad. If you're using USB audio, it may add to 
the latency. I don't think Hydrogen is adding any noticable latency in 
itself. You might experiment with buffering/JACK settings to reduce the 
audio latency, and also compare a virtual piano keyboard on the PC with 
external MIDI input.

Krzysztof


--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel


Re: [Hydrogen-devel] Suggestions for full Edrum Support

2011-06-23 Thread Thomas Orgis
Am Thu, 23 Jun 2011 11:40:53 +0200
schrieb thijs van severen thijsvanseve...@gmail.com: 

 @Thomas : what is your audio latency reported by jack?

More below...

 On 23 Jun 2011 11:13, Krzysztof Foltman w...@foltman.com wrote:
 
 On 23/06/11 08:17, Thomas Orgis wrote:
 
  So, my Roland drum brain is a bit quicker as the current c...
 Not as unlikely as you think. My old drum brain (infamous Fame DD602)
 had a horrendous latency on its MIDI output.

To clarify: I am comparing the MIDI setup with playing on a Roland TD-10 set, 
the Roland drum brain is not involved with Hydrogen. The MIDI data comes from 
an Alesis ControlPad which really is just a MIDI trigger, no drum brain 
involved. So I'd assume that since triggering MIDI events from hitting pads is 
the only purpose of the device, it does that without noticeable delay;-)
But I can test that, connecting it as trigger to the Roland brain's MIDI input. 
If that shows clearly less latency, then I know something on the PC side is to 
blame. Heck... I can even connect the Alesis to the PC and route to a separate 
MIDI adapter into the Roland brain. If _that_ doesn't show the same latency, 
then Hydrogen is looking highly suspicious;-)

And about JACK: I actaully got confused as I _think_ (talking of hunches here) 
that the latency improved while going from 3x64 to 3x256 or 2x512 periods ... 
or at least it didn't get _worse_. That, and the fact that you can rather 
nicely play guitar without noticing much of latency when using 3x256 or such on 
this laptop, suggests that JACK is not the source of the latency I feel there. 
But granted, the guitar play was with an USB audio interface ... the drumming 
was with the internal sound chip. But I'd be surprised if the USB interface had 
less latency than the internal chip.


Alrighty then,

Thomas.


signature.asc
Description: PGP signature
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev___
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel


Re: [Hydrogen-devel] Suggestions for full Edrum Support

2011-06-23 Thread Dave Allan
On Thu, Jun 23, 2011 at 03:19:42PM +0200, Thomas Orgis wrote:
 Am Thu, 23 Jun 2011 11:40:53 +0200
 schrieb thijs van severen thijsvanseve...@gmail.com: 
 
  @Thomas : what is your audio latency reported by jack?

In my experience, the latency configured for jack is the only
noticeable latency on the system.  I'd have to boot my kit to tell
what my jack settings are, but the out of the box jack config on
Fedora has fairly noticeable latency.  Even on the very old hardware I
use for my kit I was able to turn down the latency until I could not
notice it.

Actually, there is one other thing, if you are using USB sound cards
for MIDI in and audio out, make sure they're not on the same USB bus.
That caused unpleasant latency as well.

Dave

 More below...
 
  On 23 Jun 2011 11:13, Krzysztof Foltman w...@foltman.com wrote:
  
  On 23/06/11 08:17, Thomas Orgis wrote:
  
   So, my Roland drum brain is a bit quicker as the current c...
  Not as unlikely as you think. My old drum brain (infamous Fame DD602)
  had a horrendous latency on its MIDI output.
 
 To clarify: I am comparing the MIDI setup with playing on a Roland TD-10 set, 
 the Roland drum brain is not involved with Hydrogen. The MIDI data comes from 
 an Alesis ControlPad which really is just a MIDI trigger, no drum brain 
 involved. So I'd assume that since triggering MIDI events from hitting pads 
 is the only purpose of the device, it does that without noticeable delay;-)
 But I can test that, connecting it as trigger to the Roland brain's MIDI 
 input. If that shows clearly less latency, then I know something on the PC 
 side is to blame. Heck... I can even connect the Alesis to the PC and route 
 to a separate MIDI adapter into the Roland brain. If _that_ doesn't show the 
 same latency, then Hydrogen is looking highly suspicious;-)
 
 And about JACK: I actaully got confused as I _think_ (talking of hunches 
 here) that the latency improved while going from 3x64 to 3x256 or 2x512 
 periods ... or at least it didn't get _worse_. That, and the fact that you 
 can rather nicely play guitar without noticing much of latency when using 
 3x256 or such on this laptop, suggests that JACK is not the source of the 
 latency I feel there. But granted, the guitar play was with an USB audio 
 interface ... the drumming was with the internal sound chip. But I'd be 
 surprised if the USB interface had less latency than the internal chip.
 
 
 Alrighty then,
 
 Thomas.



 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today.
 http://p.sf.net/sfu/quest-sfdev2dev

 ___
 Hydrogen-devel mailing list
 Hydrogen-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hydrogen-devel


--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel