Hi Chuckk, Please do borrow some or all of it! It's open source for a reason, and there's no need for you or anyone to waste time if there's a working solution you can reuse. As for blue on Linux with Java, that's strange. If you want, email me off list and we can work on getting it going. =) Cheers! steven On Mon, Oct 27, 2008 at 9:07 AM, Chuckk Hubbard wrote: > Thanks Steven. > I had wanted to open up Blue and see what you did, because I remember > it being pretty intuitive, but alas it still doesn't run for me in > Linux, with any Java. I'm about to boot Windows to try Mike's and > Victor's suggestions there, so I'll refresh my memory on Blue as well. > Thanks for the code, I might just borrow some of it. > -Chuckk > > > On Mon, Oct 27, 2008 at 6:01 PM, Steven Yi wrote: >> Just to note, I do what Victor mentioned in blue, allowing the user to >> choose an rtaudio driver then when the press the button to query >> devices for that item, I use -o dac999 I think. However, I don't know >> if it works with ALSA and JACK so I use different code for that (it >> didn't use to at least, so I had to iterate manually from the OS). >> The Java code I wrote is here: >> >> http://bluemusic.cvs.sf.net/viewvc/bluemusic/blue/src/main/java/blue/settings/DriverUtils.java?revision=1.6&view=markup >> >> It has code to find Audio Out, Audio In, MIDI out, and MIDI in. >> >> Hope that helps! >> >> steven >> >> >> On Mon, Oct 27, 2008 at 2:12 AM, victor wrote: >>> For -+rtaudio you can just check the platform OS and the >>> modules for each are well-defined (ie portaudio and alsa for linux, etc). >>> >>> The only way I think is to run csound with -odac99, then parse >>> the message output. >>> >>> Perhaps an API function to do this might be possible, but it >>> will need to be implemented by the IO modules. >>> >>> Regards >>> >>> Victor >>> >>> ----- Original Message ----- From: "Chuckk Hubbard" >>> >>> To: "Csound List" >>> Sent: Monday, October 27, 2008 7:54 AM >>> Subject: [Csnd] Querying available audio devices >>> >>> >>>> Is there a way to do this with the API? To build a list of available >>>> devices to show in my app? >>>> I think it would have to know possible values for both -+rtaudio and >>>> -odac, no? >>>> >>>> -Chuckk >>>> -- >>>> http://www.badmuthahubbard.com >>>> >>>> >>>> Send bugs reports to this list. >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>>> csound" >>> >>> >>> >>> Send bugs reports to this list. >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe >>> csound" >>> >> >> >> Send bugs reports to this list. >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >> > > > > -- > http://www.badmuthahubbard.com > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >