[LAD] ALSA sequencer question

2008-10-17 Thread Julien Claassen
Hello! If I want to output a MIDI note to all channels, what do I have to assign to snd_seq_event_t *ev; ev->data.note.channel Is there a possibility to do so in one strike, or do I ave to iterate through all 16 channels? Kindest regards Julien Music was my first love

Re: [LAD] ALSA sequencer question

2008-10-17 Thread victor
I think it's up to your MIDI destination to ignore the channel information (so called 'omni' mode) is it not? Regards Victor - Original Message - From: "Julien Claassen" <[EMAIL PROTECTED]> To: "Linux-Audio-Dev" Sent: Friday, October 17, 2008 2:46 PM Subject: [LAD] ALSA sequencer questio

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Julien Claassen
Thanks Jens, Victor. BUT: There are a few softwaresynths I can't properly control or even a few of my hardware pieces, because there such options are hidden deep within some menus. So: Can I build/enhance a MIDI-router application to do this for me? Would I really have to rely on just iterati

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Paul Davis
On Fri, 2008-10-17 at 15:46 +0200, Julien Claassen wrote: > Hello! >If I want to output a MIDI note to all channels, what do I have to assign > to > snd_seq_event_t *ev; > ev->data.note.channel >Is there a possibility to do so in one strike, or do I ave to iterate > through all 16 channel

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Jens M Andreasen
For your hardware it is very likely that you can set omni mode remotely. Its in the spec, wait a sec ... For each channel do Controller 125 (with value zero) for omni on Controller 124 (with value zero) for omni off In both cases an all-notes-off is implicit. /j On Fri, 2008-10-17 at 16:11 +

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Julien Claassen
Hello! Thanks for the info Jens. I didn't even suspect, that this is standardised. Kindest regards Julien Music was my first love and it will be my last (John Miles) FIND MY WEB-PROJECT AT: http://ltsb.sourceforge.net the Linux TextBased Studio guide ==

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Andres Cabrera
Hi, If you don't mind an extra component, you can easily do this in pd, csound, etc... Cheers, Andrés On Fri, Oct 17, 2008 at 9:34 AM, Julien Claassen <[EMAIL PROTECTED]> wrote: > Hello! > Thanks for the info Jens. I didn't even suspect, that this is standardised. > Kindest regards >

Re: [LAD] RME PCI Express card drivers

2008-10-17 Thread Takashi Iwai
At Mon, 13 Oct 2008 15:48:53 +0200, Florian Faber wrote: > > Fons, > > > Could someone confirm / deny the availability of > > fully working drivers for the following: > > > > http://www.rme-audio.de/en_products_hdspe_madiface.php > > Works 99% with the hdspm driver, i just have to remove the fir

[LAD] [OT] DIY Trigger - Piezo to MIDI to PC

2008-10-17 Thread Ray Rashif
Sorry for the very random subject, but I figured I'd need all the help I can get. I've read about this for a _little_ while (time constraints..arghhh) on the WWW, and I've posted on www.edrum.info too. In case anyone here has better/fast/helpful suggestions/advice/shizznit, I'm sort of cross-posti

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Fons Adriaensen
On Fri, Oct 17, 2008 at 04:11:35PM +0200, Julien Claassen wrote: >So: Can I build/enhance a MIDI-router application to do this for me? Would > I > really have to rely on just iterating through all possible output_channels? AFAIK, yes. Midi receivers can be set to ignore the channel (omni mo

Re: [LAD] [OT] DIY Trigger - Piezo to MIDI to PC

2008-10-17 Thread Nedko Arnaudov
"Ray Rashif" <[EMAIL PROTECTED]> writes: > And regarding MIDI, if I want to take into consideration dynamics, and let > the piezo trigger MIDI messages with varying attack information, how would > it be done? So depending on the voltage generated, it'd be a MIDI-ON but the > final message to the c

Re: [LAD] ALSA sequencer question

2008-10-17 Thread Julien Claassen
Thanks again all of you. I now found my solution. Kindest regards Julien Music was my first love and it will be my last (John Miles) FIND MY WEB-PROJECT AT: http://ltsb.sourceforge.net the Linux TextBased Studio guide === AND MY PERSONAL PAGES AT: ==

Re: [LAD] [OT] DIY Trigger - Piezo to MIDI to PC

2008-10-17 Thread Jens M Andreasen
On Fri, 2008-10-17 at 18:09 +0300, Nedko Arnaudov wrote: > I know a way to implement this. I've read it somewhere in > Internet. piezo output is limited using zener diode (you want to do this > anyway because next electronic components may get burned out). Then you > can measure width of the impuse

Re: [LAD] [LAU] Simple, easy multithreaded circular buffer library for Linux?

2008-10-17 Thread Joern Nettingsmeier
Olivier Guilyardi wrote: > To figure whether memory barriers are needed or not, we need to run the test > on > various architectures. > > For this purpose, I've set up a small svn repo with everything to run the test > easily. There's no dependency, you just need pthread, gcc and sh. > > Here's

[LAD] Any introductory material for sound programming?

2008-10-17 Thread Carl-Erik Kopseng
Having searched the net for hours, I still cannot find any tutorials or intro-material for someone new to sound programming in Linux. Can anyone tip me of such a place? Things that would be valuable for a newbie: - Introduction to various ways of storing audio; float vs integer representation, bit

Re: [LAD] [LAU] Simple, easy multithreaded circular buffer library for Linux?

2008-10-17 Thread Joern Nettingsmeier
Olivier Guilyardi wrote: > Here's how to run the test: > > svn co http://svn.samalyse.com/misc/rbtest > cd rbtest > make test on a pentium-m 32bit notebook: [EMAIL PROTECTED]:/local/rbtest> make test gcc -Wall -I. -I./jack -lpthread -o test-int-array-jack \ test-int-array.c jac

Re: [LAD] LASH - some questions & comments

2008-10-17 Thread Nedko Arnaudov
Fons Adriaensen <[EMAIL PROTECTED]> writes: > On Thu, Oct 16, 2008 at 11:40:09AM +0300, Nedko Arnaudov wrote: > >> The trend is to remove usage of argv at all. As for documentation, I >> agree LASH needs better one. In current documentation (somewhat out of >> date), argv thing is supposed to be o

Re: [LAD] Any introductory material for sound programming?

2008-10-17 Thread Joern Nettingsmeier
Carl-Erik Kopseng wrote: > Having searched the net for hours, I still cannot find any tutorials or > intro-material for someone new to sound programming in Linux. Can anyone > tip me of such a place? > > Things that would be valuable for a newbie: > - Introduction to various ways of storing audio

Re: [LAD] [OT] DIY Trigger - Piezo to MIDI to PC

2008-10-17 Thread Ray Rashif
Oh wow, every single one of you starting from Nedko have just saved me hours of research! Thanks so much guys, extra points to Andy for his walkthrough with bonus code, Folderol for citing the exact reference material and Josh for landing the correct device (eroktronix) =P Yes, it's obvious yet I

Re: [LAD] [OT] DIY Trigger - Piezo to MIDI to PC

2008-10-17 Thread Jens M Andreasen
On Sat, 2008-10-18 at 02:29 +0800, Ray Rashif wrote: > Yes, I'm sticking the piezo onto the skin/head internally. As for the > beater hitting directly, I don't know if that's harmful but it's worth > a try. > While you are at it, would you mind doing a small experiment for me? and put the piezo