Re: [PD] Multiple audio devices limited to four devices?

2009-07-19 Thread Martin Schied

Thanks!

it's working fine now...

I'll try to use a common clock later, but for now it's sufficient like 
this. I's playing music for over an hour without recognizable dropouts...


Ideas how to test for asynchronity (audioble effects?) and how strong 
they become? I used 0.1 ms bursts of 10kHz sines and also short swept 
sines. At least there were recognizable effects like distorted 
localization of sounds.


To have a block wise sync I planned to use a microphone and measure 
roundtrip latency before starting my patches.


cheers
Martin



Miller Puckette wrote:

hmm... grep 4 *.c didn't seem to help when I tried it.  Anyhow, I
found two places that would have to change: in s_stuff.h:

#define MAXAUDIOINDEV 4
#define MAXAUDIOOUTDEV 4

and in s_audio_oss.c:

#define OSS_MAXDEV 4/* maximum number of input or output devices */

On a somewhat related note, you'l eventually get sync errors between the
devices unless you can find a way to hard-sync them.  If I were trying it,
I'd just phase-lock the crystals by connecting the five (or N) together
in parallel.  Worst that could happen is I'd have to buy 5 more interfaces :)

M

On Fri, Jul 17, 2009 at 04:28:38PM +0200, Martin Schied wrote:
  

Hi!

I'm trying to use five (or more) ultra-cheap stereo-USB-speakers 
together. Four of them are working when starting pd with


/usr/bin/pd -rt -oss -audiooutdev 2,3,4,5,6 -outchannels 2,2,2,2,2 
multiaudiotest.pd  

when looking into media, audio-settings dialog, only the first four of 
them are visible and also only these four are usable for output.


this is with Pd version 0.41-4extended, ubuntu-intrepid and also pd 
0.42.5. I assume this is a hard coded limit which can be changed - but I 
don't know where...


cheers,
Martin


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

  



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple audio devices limited to four devices?

2009-07-19 Thread Frank Barknecht
Hallo,
Miller Puckette hat gesagt: // Miller Puckette wrote:

 On a somewhat related note, you'l eventually get sync errors between the
 devices unless you can find a way to hard-sync them.  If I were trying it,
 I'd just phase-lock the crystals by connecting the five (or N) together
 in parallel.  Worst that could happen is I'd have to buy 5 more interfaces :)

Maybe you could also use JACK with the netjack backend. 

Ciao
-- 
Frank

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple audio devices limited to four devices?

2009-07-18 Thread Miller Puckette
hmm... grep 4 *.c didn't seem to help when I tried it.  Anyhow, I
found two places that would have to change: in s_stuff.h:

#define MAXAUDIOINDEV 4
#define MAXAUDIOOUTDEV 4

and in s_audio_oss.c:

#define OSS_MAXDEV 4/* maximum number of input or output devices */

On a somewhat related note, you'l eventually get sync errors between the
devices unless you can find a way to hard-sync them.  If I were trying it,
I'd just phase-lock the crystals by connecting the five (or N) together
in parallel.  Worst that could happen is I'd have to buy 5 more interfaces :)

M

On Fri, Jul 17, 2009 at 04:28:38PM +0200, Martin Schied wrote:
 Hi!
 
 I'm trying to use five (or more) ultra-cheap stereo-USB-speakers 
 together. Four of them are working when starting pd with
 
 /usr/bin/pd -rt -oss -audiooutdev 2,3,4,5,6 -outchannels 2,2,2,2,2 
 multiaudiotest.pd  
 
 when looking into media, audio-settings dialog, only the first four of 
 them are visible and also only these four are usable for output.
 
 this is with Pd version 0.41-4extended, ubuntu-intrepid and also pd 
 0.42.5. I assume this is a hard coded limit which can be changed - but I 
 don't know where...
 
 cheers,
 Martin
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple Audio Devices

2008-06-13 Thread Mika Ristimäki
Hi,

Thanks for helping with this. I finally got it working, by changing  
the Octamic to ADAT2 and then defining all the channels from  
-audioindev  11.

Thanks alot for the help.

-Mika



Quoting marius schebella [EMAIL PROTECTED]:

 hi mika,

 have you tried -audioindev 4,7 -inchannels 12? I think you should be
 able to use different soundcards, but maybe there is no possibility to
 use 4 from the one and 8 from the other, but rather all channels from
 both soundcards?? but I don't know about that. maybe -audioindev
 4,5,7,8,9,10?
 on the other hand, if the octamic pre-amp is connected to adat1 can you
 do -audioindev 1, and -inchannels 36, does that give you all inchannels?
 marius.

 Mika Ristimäki wrote:
 Hi again,

 I've been searching the list archives even more and I've found   
 several posts that say that this can be done and that the   
 instructions can be found from the archives. However I haven't been  
  able to find any  instructions. =) So any ideas how to do it in   
 Windows XP? Sorry for  nagging, but I really like using Pd, but if   
 there is not support for  my hardware I might have to change the   
 software.

 -Mika


 Hi all,

 I have a problem how to use multiple audio devices in Pd. I tired to
 search the archives but didn't find anything useful. Anyway...

 I have RME Fireface 800 audio interface and RME Octamic microphone
 pre-amplifier. Octamic is connected to Fireface with ADAT. I'm using
 Windows XP. I have connected 8 mics to Octamic and 4 mics to Fireface
 (it also has 4 mic level inputs). The problem is that I don't know how
 to get all 12 channels to work in Pd.

 when I start Pd with -listdev, I get

 audio input devices:
 0. Live! Cam Optia AF (Mic)
 1. Fireface Analog (1+2) MME
 2. Fireface Analog (3+4) MME
 3. Fireface Analog (5+6) MME
 4. Fireface Analog (7+8) MME
 5. Fireface Analog (9+10) MME
 6. Fireface SPDIF MME
 7. Fireface ADAT1 (1+2) MME
 8. Fireface ADAT1 (3+4) MME
 9. Fireface ADAT1 (5+6) MME
 10. Fireface ADAT1 (7+8) MME
 11. Fireface ADAT2 (1+2) MME
 12. Fireface ADAT2 (3+4) MME
 13. Fireface ADAT2 (5+6) MME
 14. Fireface ADAT2 (7+8) MME
 15. Fireface Analog (1+2)
 16. Fireface Analog (3+4)
 17. Fireface Analog (5+6)
 18. Fireface Analog (7+8)
 19. Fireface Analog (9+10)

 I can have the 8 Octamic channels if  start Pd with -audioindev 7
 -inchannels 8. Or the 4 Fireface channel by -audioindev 4 -inchannels
 4. But when I try to define both like this, -audioindev 4,7
 -inchannels 4,8 pd gives an error separate audio device choice not
 supported\; using sequential devices.

 -audioindev 4 -inchannels 12, does not work either.

 So is it impossible to get the two different devices working
 simultaneously or is there some kind of hack?

 Thanks for any help

 -Mika







 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -   
 http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple Audio Devices

2008-06-11 Thread Mika Ristimäki
Hi again,

I've been searching the list archives even more and I've found several  
posts that say that this can be done and that the instructions can be  
found from the archives. However I haven't been able to find any  
instructions. =) So any ideas how to do it in Windows XP? Sorry for  
nagging, but I really like using Pd, but if there is not support for  
my hardware I might have to change the software.

-Mika


 Hi all,

 I have a problem how to use multiple audio devices in Pd. I tired to
 search the archives but didn't find anything useful. Anyway...

 I have RME Fireface 800 audio interface and RME Octamic microphone
 pre-amplifier. Octamic is connected to Fireface with ADAT. I'm using
 Windows XP. I have connected 8 mics to Octamic and 4 mics to Fireface
 (it also has 4 mic level inputs). The problem is that I don't know how
 to get all 12 channels to work in Pd.

 when I start Pd with -listdev, I get

 audio input devices:
 0. Live! Cam Optia AF (Mic)
 1. Fireface Analog (1+2) MME
 2. Fireface Analog (3+4) MME
 3. Fireface Analog (5+6) MME
 4. Fireface Analog (7+8) MME
 5. Fireface Analog (9+10) MME
 6. Fireface SPDIF MME
 7. Fireface ADAT1 (1+2) MME
 8. Fireface ADAT1 (3+4) MME
 9. Fireface ADAT1 (5+6) MME
 10. Fireface ADAT1 (7+8) MME
 11. Fireface ADAT2 (1+2) MME
 12. Fireface ADAT2 (3+4) MME
 13. Fireface ADAT2 (5+6) MME
 14. Fireface ADAT2 (7+8) MME
 15. Fireface Analog (1+2)
 16. Fireface Analog (3+4)
 17. Fireface Analog (5+6)
 18. Fireface Analog (7+8)
 19. Fireface Analog (9+10)

 I can have the 8 Octamic channels if  start Pd with -audioindev 7
 -inchannels 8. Or the 4 Fireface channel by -audioindev 4 -inchannels
 4. But when I try to define both like this, -audioindev 4,7
 -inchannels 4,8 pd gives an error separate audio device choice not
 supported\; using sequential devices.

 -audioindev 4 -inchannels 12, does not work either.

 So is it impossible to get the two different devices working
 simultaneously or is there some kind of hack?

 Thanks for any help

 -Mika







___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple Audio Devices

2008-06-11 Thread marius schebella
hi mika,

have you tried -audioindev 4,7 -inchannels 12? I think you should be 
able to use different soundcards, but maybe there is no possibility to 
use 4 from the one and 8 from the other, but rather all channels from 
both soundcards?? but I don't know about that. maybe -audioindev 
4,5,7,8,9,10?
on the other hand, if the octamic pre-amp is connected to adat1 can you 
do -audioindev 1, and -inchannels 36, does that give you all inchannels?
marius.

Mika Ristimäki wrote:
 Hi again,
 
 I've been searching the list archives even more and I've found several  
 posts that say that this can be done and that the instructions can be  
 found from the archives. However I haven't been able to find any  
 instructions. =) So any ideas how to do it in Windows XP? Sorry for  
 nagging, but I really like using Pd, but if there is not support for  
 my hardware I might have to change the software.
 
 -Mika
 
 
 Hi all,

 I have a problem how to use multiple audio devices in Pd. I tired to
 search the archives but didn't find anything useful. Anyway...

 I have RME Fireface 800 audio interface and RME Octamic microphone
 pre-amplifier. Octamic is connected to Fireface with ADAT. I'm using
 Windows XP. I have connected 8 mics to Octamic and 4 mics to Fireface
 (it also has 4 mic level inputs). The problem is that I don't know how
 to get all 12 channels to work in Pd.

 when I start Pd with -listdev, I get

 audio input devices:
 0. Live! Cam Optia AF (Mic)
 1. Fireface Analog (1+2) MME
 2. Fireface Analog (3+4) MME
 3. Fireface Analog (5+6) MME
 4. Fireface Analog (7+8) MME
 5. Fireface Analog (9+10) MME
 6. Fireface SPDIF MME
 7. Fireface ADAT1 (1+2) MME
 8. Fireface ADAT1 (3+4) MME
 9. Fireface ADAT1 (5+6) MME
 10. Fireface ADAT1 (7+8) MME
 11. Fireface ADAT2 (1+2) MME
 12. Fireface ADAT2 (3+4) MME
 13. Fireface ADAT2 (5+6) MME
 14. Fireface ADAT2 (7+8) MME
 15. Fireface Analog (1+2)
 16. Fireface Analog (3+4)
 17. Fireface Analog (5+6)
 18. Fireface Analog (7+8)
 19. Fireface Analog (9+10)

 I can have the 8 Octamic channels if  start Pd with -audioindev 7
 -inchannels 8. Or the 4 Fireface channel by -audioindev 4 -inchannels
 4. But when I try to define both like this, -audioindev 4,7
 -inchannels 4,8 pd gives an error separate audio device choice not
 supported\; using sequential devices.

 -audioindev 4 -inchannels 12, does not work either.

 So is it impossible to get the two different devices working
 simultaneously or is there some kind of hack?

 Thanks for any help

 -Mika




 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multiple Audio Devices

2008-06-11 Thread Roman Haefeli
hi mika

On Wed, 2008-06-11 at 11:53 +0300, Mika Ristimäki wrote:
 Hi again,
 
 I've been searching the list archives even more and I've found several  
 posts that say that this can be done and that the instructions can be  
 found from the archives. However I haven't been able to find any  
 instructions. =) So any ideas how to do it in Windows XP? Sorry for  
 nagging, but I really like using Pd, but if there is not support for  
 my hardware I might have to change the software.

a friend of mine successfully used exactly the same setup on mac osx.
she also used 12 mic inputs simultaneously in pd, which worked well over
jackosx. 

 -Mika
 
 
  Hi all,
 
  I have a problem how to use multiple audio devices in Pd. I tired to
  search the archives but didn't find anything useful. Anyway...
 
  I have RME Fireface 800 audio interface and RME Octamic microphone
  pre-amplifier. Octamic is connected to Fireface with ADAT. I'm using
  Windows XP. I have connected 8 mics to Octamic and 4 mics to Fireface
  (it also has 4 mic level inputs). The problem is that I don't know how
  to get all 12 channels to work in Pd.
 
  when I start Pd with -listdev, I get
 
  audio input devices:
  0. Live! Cam Optia AF (Mic)
  1. Fireface Analog (1+2) MME
  2. Fireface Analog (3+4) MME
  3. Fireface Analog (5+6) MME
  4. Fireface Analog (7+8) MME
  5. Fireface Analog (9+10) MME
  6. Fireface SPDIF MME
  7. Fireface ADAT1 (1+2) MME
  8. Fireface ADAT1 (3+4) MME
  9. Fireface ADAT1 (5+6) MME
  10. Fireface ADAT1 (7+8) MME
  11. Fireface ADAT2 (1+2) MME
  12. Fireface ADAT2 (3+4) MME
  13. Fireface ADAT2 (5+6) MME
  14. Fireface ADAT2 (7+8) MME
  15. Fireface Analog (1+2)
  16. Fireface Analog (3+4)
  17. Fireface Analog (5+6)
  18. Fireface Analog (7+8)
  19. Fireface Analog (9+10)
 
  I can have the 8 Octamic channels if  start Pd with -audioindev 7
  -inchannels 8. Or the 4 Fireface channel by -audioindev 4 -inchannels
  4. But when I try to define both like this, -audioindev 4,7
  -inchannels 4,8 pd gives an error separate audio device choice not
  supported\; using sequential devices.
 
  -audioindev 4 -inchannels 12, does not work either.

can you elaborate that a bit? i am not too used to windows anymore, but
iirc, using all mme devices sequentially, that are actually driven from
the same card and from the same clock, is supposed to work well.
you might already have tried that: what about accessing just _ALL_
inputs of the card? i don't know, where your octamic is connected to,
adat1 or adat2. if it is on adat2, -audioindev 4 -inchannels 12 wouldn't
work, since this would access actually the analog inputs and some adat1
inputs. try:

-audioindev 1 -inchannels 28

then the [adc~] numbers in pd are not continous, but this wouldn't cause
any harm, would it?

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list