sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Using Sox to output multiple tracks
@ 2015-07-29 20:45 Axel Ronsin
  2015-07-30 12:09 ` Jan Stary
  0 siblings, 1 reply; 13+ messages in thread
From: Axel Ronsin @ 2015-07-29 20:45 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

Hello,

I am trying to output multiple tracks out of an Antelope Orion 32,
a 32 channel AD/DA converter, using Sox.

I have combed through all the websites I could find, but no luck.

The closest I have come is to use 
sox -V6 snares.wav -t coreaudio « Orion + »
which plays that snares.wav file on all 32 output channels of the Orion 32.
So the audio interface is recognize!!

But the idea would be for that file to only play on the output channel 1 of the Orion 32…
And for me to be able to specify other files for the other output channels of the Orion 32.

I really appreciate any help.

All the best,

Axel



[-- Attachment #1.2: Type: text/html, Size: 2149 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-29 20:45 Using Sox to output multiple tracks Axel Ronsin
@ 2015-07-30 12:09 ` Jan Stary
  2015-07-30 21:28   ` Schumacher Marlon
  0 siblings, 1 reply; 13+ messages in thread
From: Jan Stary @ 2015-07-30 12:09 UTC (permalink / raw
  To: sox-users

On Jul 29 22:45:23, axelito77@gmail.com wrote:
> Hello,
> 
> I am trying to output multiple tracks out of an Antelope Orion 32,
> a 32 channel AD/DA converter, using Sox.
> 
> I have combed through all the websites I could find, but no luck.
> 
> The closest I have come is to use 
> sox -V6 snares.wav -t coreaudio ?? Orion + ??

The text of your message is garbled.
What exactly was the command really?

> which plays that snares.wav file on all 32 output channels of the Orion 32.
> So the audio interface is recognize!!
> 
> But the idea would be for that file to only play on the output channel 1 of the Orion 32???
> And for me to be able to specify other files for the other output channels of the Orion 32.

Is snares.wav a mono file?
What's the (text) output of your sox -V5 command above?

What happens if you play a stereo file?
What happens if you play two mono files (as either mix or merge)?
What happens if you play two stereo files (as either mix or merge)?


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-30 12:09 ` Jan Stary
@ 2015-07-30 21:28   ` Schumacher Marlon
  2015-07-31  0:27     ` =?gb18030?B?tL+94LXEu7W1sA==?=
  2015-07-31  5:56     ` Jan Stary
  0 siblings, 2 replies; 13+ messages in thread
From: Schumacher Marlon @ 2015-07-30 21:28 UTC (permalink / raw
  To: sox-users

Hi,

Assuming that Axel is on OSX I have also been trying to use sox 14.4.1 and 14.4.2 with various external audio hardware (e.g. MOTU, RME) with no luck.
I was using this approach: sox -V6 mysoundfile.aif -t coreaudio "junkname"
-> which would return a list of audio devices, and then replacing "junkname" with the audio device to be used.

My results seem to be in congruence with what Axel is reporting: The logical output channels of the sox command were copied/repeated so that all output channels of the audio interface produce output (thus, playback of a mono file on a 32-output-channel device would result in the same audio on all 32 channels). For example, playing back a stereo file on an audio interface with 5 output channels would result in:  (1) Left Channel, (2) Right Channel, (3) Left Channel 1, (4) Right Channel, (5) Left Channel. However, in my case the audio had crackles/drop-outs.

Cheers,
Marlon


On Jul 30, 2015, at 08:09 , Jan Stary <hans@stare.cz> wrote:

> On Jul 29 22:45:23, axelito77@gmail.com wrote:
>> Hello,
>> 
>> I am trying to output multiple tracks out of an Antelope Orion 32,
>> a 32 channel AD/DA converter, using Sox.
>> 
>> I have combed through all the websites I could find, but no luck.
>> 
>> The closest I have come is to use 
>> sox -V6 snares.wav -t coreaudio ?? Orion + ??
> 
> The text of your message is garbled.
> What exactly was the command really?
> 
>> which plays that snares.wav file on all 32 output channels of the Orion 32.
>> So the audio interface is recognize!!
>> 
>> But the idea would be for that file to only play on the output channel 1 of the Orion 32???
>> And for me to be able to specify other files for the other output channels of the Orion 32.
> 
> Is snares.wav a mono file?
> What's the (text) output of your sox -V5 command above?
> 
> What happens if you play a stereo file?
> What happens if you play two mono files (as either mix or merge)?
> What happens if you play two stereo files (as either mix or merge)?
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
> 


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-30 21:28   ` Schumacher Marlon
@ 2015-07-31  0:27     ` =?gb18030?B?tL+94LXEu7W1sA==?=
  2015-07-31  5:56     ` Jan Stary
  1 sibling, 0 replies; 13+ messages in thread
From: =?gb18030?B?tL+94LXEu7W1sA==?= @ 2015-07-31  0:27 UTC (permalink / raw
  To: =?gb18030?B?c294LXVzZXJz?=, =?gb18030?B?c294LXVzZXJz?=


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset="gb18030", Size: 2861 bytes --]

Hi, how to use the effect callback ?




------------------ Original ------------------
From: "Schumacher Marlon"<marlon.schumacher@music.mcgill.ca>; 
Date: 2015Äê7ÔÂ31ÈÕ(ÐÇÆÚÎå) Á賿5:28
To: "sox-users"<sox-users@lists.sourceforge.net>; 
Subject: Re: [SoX-users] Using Sox to output multiple tracks



Hi,

Assuming that Axel is on OSX I have also been trying to use sox 14.4.1 and 14.4.2 with various external audio hardware (e.g. MOTU, RME) with no luck.
I was using this approach: sox -V6 mysoundfile.aif -t coreaudio "junkname"
-> which would return a list of audio devices, and then replacing "junkname" with the audio device to be used.

My results seem to be in congruence with what Axel is reporting: The logical output channels of the sox command were copied/repeated so that all output channels of the audio interface produce output (thus, playback of a mono file on a 32-output-channel device would result in the same audio on all 32 channels). For example, playing back a stereo file on an audio interface with 5 output channels would result in:  (1) Left Channel, (2) Right Channel, (3) Left Channel 1, (4) Right Channel, (5) Left Channel. However, in my case the audio had crackles/drop-outs.

Cheers,
Marlon


On Jul 30, 2015, at 08:09 , Jan Stary <hans@stare.cz> wrote:

> On Jul 29 22:45:23, axelito77@gmail.com wrote:
>> Hello,
>> 
>> I am trying to output multiple tracks out of an Antelope Orion 32,
>> a 32 channel AD/DA converter, using Sox.
>> 
>> I have combed through all the websites I could find, but no luck.
>> 
>> The closest I have come is to use 
>> sox -V6 snares.wav -t coreaudio ?? Orion + ??
> 
> The text of your message is garbled.
> What exactly was the command really?
> 
>> which plays that snares.wav file on all 32 output channels of the Orion 32.
>> So the audio interface is recognize!!
>> 
>> But the idea would be for that file to only play on the output channel 1 of the Orion 32???
>> And for me to be able to specify other files for the other output channels of the Orion 32.
> 
> Is snares.wav a mono file?
> What's the (text) output of your sox -V5 command above?
> 
> What happens if you play a stereo file?
> What happens if you play two mono files (as either mix or merge)?
> What happens if you play two stereo files (as either mix or merge)?
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
> 


------------------------------------------------------------------------------
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

[-- Attachment #1.2: Type: text/html, Size: 3886 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-30 21:28   ` Schumacher Marlon
  2015-07-31  0:27     ` =?gb18030?B?tL+94LXEu7W1sA==?=
@ 2015-07-31  5:56     ` Jan Stary
  2015-07-31  9:07       ` Axel Ronsin
  1 sibling, 1 reply; 13+ messages in thread
From: Jan Stary @ 2015-07-31  5:56 UTC (permalink / raw
  To: sox-users

On Jul 30 17:28:28, marlon.schumacher@music.mcgill.ca wrote:
> Hi,
> 
> Assuming that Axel is on OSX I have also been trying to use sox 14.4.1 and 14.4.2 with various external audio hardware (e.g. MOTU, RME) with no luck.
> I was using this approach: sox -V6 mysoundfile.aif -t coreaudio "junkname"
> -> which would return a list of audio devices, and then replacing "junkname" with the audio device to be used.
> 
> My results seem to be in congruence with what Axel is reporting: The logical output channels of the sox command were copied/repeated so that all output channels of the audio interface produce output (thus, playback of a mono file on a 32-output-channel device would result in the same audio on all 32 channels). For example, playing back a stereo file on an audio interface with 5 output channels would result in:  (1) Left Channel, (2) Right Channel, (3) Left Channel 1, (4) Right Channel, (5) Left Channel. 

What if you mix/merge two mono files?
What if you mix/merge two stereo files?


> > On Jul 29 22:45:23, axelito77@gmail.com wrote:
> >> Hello,
> >> 
> >> I am trying to output multiple tracks out of an Antelope Orion 32,
> >> a 32 channel AD/DA converter, using Sox.
> >> 
> >> I have combed through all the websites I could find, but no luck.
> >> 
> >> The closest I have come is to use 
> >> sox -V6 snares.wav -t coreaudio ?? Orion + ??
> > 
> > The text of your message is garbled.
> > What exactly was the command really?
> > 
> >> which plays that snares.wav file on all 32 output channels of the Orion 32.
> >> So the audio interface is recognize!!
> >> 
> >> But the idea would be for that file to only play on the output channel 1 of the Orion 32???
> >> And for me to be able to specify other files for the other output channels of the Orion 32.
> > 
> > Is snares.wav a mono file?
> > What's the (text) output of your sox -V5 command above?
> > 
> > What happens if you play a stereo file?
> > What happens if you play two mono files (as either mix or merge)?
> > What happens if you play two stereo files (as either mix or merge)?
> > 
> > 
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Sox-users mailing list
> > Sox-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> > 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31  5:56     ` Jan Stary
@ 2015-07-31  9:07       ` Axel Ronsin
  2015-07-31  9:24         ` Erich Eckner
                           ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Axel Ronsin @ 2015-07-31  9:07 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 4433 bytes --]

Hi,

What Marion has experienced is not encouraging :-(

Here is what I get when running the command 
sox -V6 snares.wav -t coreaudio "Orion + "

sox:      SoX v
time:     Jul 27 2015 21:15:08
uname:    Darwin macbook-air-de-axel.home 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
compiler: gcc 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)
arch:     1288 48 88 L 
sox INFO formats: detected file format type `wav'
sox DBUG wav: WAV Chunk fmt 
sox DBUG wav: WAV Chunk data
sox DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 44100 samp/sec
sox DBUG wav:         264600 byte/sec, 6 block align, 24 bits/samp, 66140550 data bytes
sox DBUG wav:         11023425 Samps/chans
sox DBUG wav: WAV Chunk LGWV

Input File     : 'snares.wav'
Channels       : 2
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:04:09.96 = 11023425 samples = 18747.3 CDDA sectors
File Size      : 66.2M
Bit Rate       : 2.12M
Sample Encoding: 24-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

2015-07-31 10:54:29.071 sox[754:6176] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found.  Did find:
	/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
2015-07-31 10:54:29.072 sox[754:6176] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7fff2340b730 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)
sox INFO coreaudio: Found Audio Device "Built-in Microphone"

sox INFO coreaudio: Found Audio Device "Built-in Output"

sox INFO coreaudio: Found Audio Device "Orion 32"

sox INFO coreaudio: Found Audio Device "Soundflo"

sox INFO coreaudio: Found Audio Device "Soundflo"

sox INFO coreaudio: Found Audio Device "Universa"

sox INFO coreaudio: Found Audio Device "Orion + "

sox DBUG coreaudio: audio device did not accept 2 channels. Use 10 channels instead.
sox DBUG coreaudio: audio device did not accept 44100 sample rate. Use 96000 instead.
sox INFO formats: can't set sample rate 44100; using 96000
sox INFO formats: can't set 2 channels; using 10

Output File    : 'Orion + ' (coreaudio)
Channels       : 10
Sample Rate    : 96000
Precision      : 24-bit
Duration       : 00:00:22.97 = 2204685 samples ~ 1722.41 CDDA sectors
Sample Encoding: 32-bit Floating Point PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

sox DBUG effects: sox_add_effect: extending effects table, new size = 8
sox DBUG rate: i/o=0.459375; 147:320 @ level 0
sox DBUG effects_i_dsp: 0.724 0.161984 1
sox DBUG effects_i_dsp: make_lpf(n=13439, Fc=0.0026188 beta=10.6185 dc-norm=1 scale=320)
sox DBUG rate: fir_len=42 phases=320 coef_interp=0 mult=1 size=108k
sox DBUG rate: stage=0  pre_post=41 pre=0  preload=20
sox DBUG rate: i/o=0.459375; 147:320 @ level 0
sox DBUG rate: stage=0  pre_post=41 pre=0  preload=20
sox DBUG remix: 0: 
sox DBUG remix: 	0 1
sox DBUG remix: 1: 
sox DBUG remix: 	1 1
sox DBUG remix: 2: 
sox DBUG remix: 	0 1
sox DBUG remix: 3: 
sox DBUG remix: 	1 1
sox DBUG remix: 4: 
sox DBUG remix: 	0 1
sox DBUG remix: 5: 
sox DBUG remix: 	1 1
sox DBUG remix: 6: 
sox DBUG remix: 	0 1
sox DBUG remix: 7: 
sox DBUG remix: 	1 1
sox DBUG remix: 8: 
sox DBUG remix: 	0 1
sox DBUG remix: 9: 
sox DBUG remix: 	1 1
sox INFO sox: effects chain: input        44100Hz  2 channels (multi) 24 bits 00:04:09.96
sox INFO sox: effects chain: rate         96000Hz  2 channels         32 bits 00:04:09.96
sox INFO sox: effects chain: channels     96000Hz 10 channels (multi) 32 bits 00:04:09.96
sox INFO sox: effects chain: output       96000Hz 10 channels (multi) 24 bits 00:04:09.96
sox DBUG sox: automatically entering interactive mode
In:11.1% 00:00:27.86 [00:03:42.10] Out:2.66M [      |      ]        Clip:0 

Could this be a MaxOSX-only issue…

The error concerning Digidesign CoreAudio is strange.
I am running MacOSX 10.10 and Digidesign CoreAudio has not been updated since 10.6
Could this be it ?

Thank you for your help.

Axel

[-- Attachment #1.2: Type: text/html, Size: 8087 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31  9:07       ` Axel Ronsin
@ 2015-07-31  9:24         ` Erich Eckner
  2015-07-31 16:58           ` Axel Ronsin
  2015-08-04 13:49         ` Jan Stary
  2015-08-04 13:53         ` Jan Stary
  2 siblings, 1 reply; 13+ messages in thread
From: Erich Eckner @ 2015-07-31  9:24 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 976 bytes --]

Hi Axel,

> Input File     : 'snares.wav'
> Channels       : 2

this is the important part, I think:
You try to play a 2-channel audio and sox copies those channels into the
32 available as described in the man page (chan 1, chan 2, chan 1, chan
2, ...).
Do you hear 32 distinct channels if you use a real 32-channel audio file?

I'm not sure if it's possible to play a separate file for each channel
from different commands. I believe, if one process uses the ouput, it
will be blocked for all other processes, but I'm not sure about this.

What you can do, however, is to remix different files (or only one) with
sox and set the channels you do not want to 0:

sox input.wav $output remix 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0

or

sox -M input1.wav input2.wav $output remix 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

(replace $output with your output device specification)

greetings,
Erich



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31  9:24         ` Erich Eckner
@ 2015-07-31 16:58           ` Axel Ronsin
  2015-07-31 17:32             ` Erich Eckner
  0 siblings, 1 reply; 13+ messages in thread
From: Axel Ronsin @ 2015-07-31 16:58 UTC (permalink / raw
  To: sox-users

Hi Erich,

That worked great!!!
I was able to get 32 separate outputs out of my Antelope Orion 32 by using the command:

sox -V6 -M $list_of_files -t coreaudio $output_interface remix 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

That was exciting :-)

Thank you!!!

Axel
------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31 16:58           ` Axel Ronsin
@ 2015-07-31 17:32             ` Erich Eckner
  2015-07-31 17:44               ` Axel Ronsin
  0 siblings, 1 reply; 13+ messages in thread
From: Erich Eckner @ 2015-07-31 17:32 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 1168 bytes --]

Hi Axel,

I'm glad, I could help.

Just for completeness:
You do not need the "remix 1...32" effect if you have 32 input channels.
It's only necessary if you want to increase or reduce the number of
channels (or remix them, e.g. "remix 1,2 1,2v-1" would generate a stereo
signal used for fm transmission (channels left + right and left - right)
starting from an usual stereo signal). Have a look in the man page at
the effect remix and the input mode merge for further details.

greetings, Erich


Am 31.07.2015 um 18:58 schrieb Axel Ronsin:
> Hi Erich,
> 
> That worked great!!!
> I was able to get 32 separate outputs out of my Antelope Orion 32 by using the command:
> 
> sox -V6 -M $list_of_files -t coreaudio $output_interface remix 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
> 
> That was exciting :-)
> 
> Thank you!!!
> 
> Axel
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
> 



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31 17:32             ` Erich Eckner
@ 2015-07-31 17:44               ` Axel Ronsin
  2015-08-03 14:39                 ` Axel Ronsin
  0 siblings, 1 reply; 13+ messages in thread
From: Axel Ronsin @ 2015-07-31 17:44 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 1961 bytes --]

Erich,

You are correct.
I deleted the remix part and all works fine.

Now that I am able to output audio via the Orion 32, 
my next challenge is recording via its input channels (there are 32 also)…

I tried adding 
& rec $filename

but I get a nasty
rec WARN coreaudio: coreaudio: unhandled buffer overrun.  Data discarded.

I am hunting around for clues...
Any idea??

Cheers,

Axel


> Le 31 juil. 2015 à 19:32, Erich Eckner <erich@eckner.net> a écrit :
> 
> Hi Axel,
> 
> I'm glad, I could help.
> 
> Just for completeness:
> You do not need the "remix 1...32" effect if you have 32 input channels.
> It's only necessary if you want to increase or reduce the number of
> channels (or remix them, e.g. "remix 1,2 1,2v-1" would generate a stereo
> signal used for fm transmission (channels left + right and left - right)
> starting from an usual stereo signal). Have a look in the man page at
> the effect remix and the input mode merge for further details.
> 
> greetings, Erich
> 
> 
> Am 31.07.2015 um 18:58 schrieb Axel Ronsin:
>> Hi Erich,
>> 
>> That worked great!!!
>> I was able to get 32 separate outputs out of my Antelope Orion 32 by using the command:
>> 
>> sox -V6 -M $list_of_files -t coreaudio $output_interface remix 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
>> 
>> That was exciting :-)
>> 
>> Thank you!!!
>> 
>> Axel
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Sox-users mailing list
>> Sox-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sox-users
>> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users


[-- Attachment #1.2: Type: text/html, Size: 3886 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31 17:44               ` Axel Ronsin
@ 2015-08-03 14:39                 ` Axel Ronsin
  0 siblings, 0 replies; 13+ messages in thread
From: Axel Ronsin @ 2015-08-03 14:39 UTC (permalink / raw
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]

Hi,

Anyone have experience with recording via an external interface?

I wonder if the « buffer overrun » is not happening 
because sox is trying to record the Orion 32’s 32 inputs all at once…

Thanks for your help!!

Axel


> Le 31 juil. 2015 à 19:44, Axel Ronsin <axelito77@gmail.com> a écrit :
> 
> Now that I am able to output audio via the Orion 32, 
> my next challenge is recording via its input channels (there are 32 also)…
> 
> I tried adding 
> & rec $filename
> 
> but I get a nasty
> rec WARN coreaudio: coreaudio: unhandled buffer overrun.  Data discarded.
> 


[-- Attachment #1.2: Type: text/html, Size: 4121 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31  9:07       ` Axel Ronsin
  2015-07-31  9:24         ` Erich Eckner
@ 2015-08-04 13:49         ` Jan Stary
  2015-08-04 13:53         ` Jan Stary
  2 siblings, 0 replies; 13+ messages in thread
From: Jan Stary @ 2015-08-04 13:49 UTC (permalink / raw
  To: sox-users

On Jul 31 11:07:01, axelito77@gmail.com wrote:
> sox:      SoX v

Your SoX version has a bug which I believe was mentioned on this list
some months ago - what version is it?

> time:     Jul 27 2015 21:15:08

Is this the time your SoX binary was built from source?
What source?

> uname:    Darwin macbook-air-de-axel.home 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
> compiler: gcc 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)
> arch:     1288 48 88 L 
> sox INFO formats: detected file format type `wav'
> sox DBUG wav: WAV Chunk fmt 
> sox DBUG wav: WAV Chunk data
> sox DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 44100 samp/sec
> sox DBUG wav:         264600 byte/sec, 6 block align, 24 bits/samp, 66140550 data bytes
> sox DBUG wav:         11023425 Samps/chans
> sox DBUG wav: WAV Chunk LGWV
> 
> Input File     : 'snares.wav'
> Channels       : 2
> Sample Rate    : 44100
> Precision      : 24-bit
> Duration       : 00:04:09.96 = 11023425 samples = 18747.3 CDDA sectors
> File Size      : 66.2M
> Bit Rate       : 2.12M
> Sample Encoding: 24-bit Signed Integer PCM
> Endian Type    : little
> Reverse Nibbles: no
> Reverse Bits   : no
> 
> 2015-07-31 10:54:29.071 sox[754:6176] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found.  Did find:
> 	/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
> 2015-07-31 10:54:29.072 sox[754:6176] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7fff2340b730 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)

CoreAudio seems to be changing significantly
from one version of MacOSX to another.


> sox INFO coreaudio: Found Audio Device "Built-in Microphone"
> sox INFO coreaudio: Found Audio Device "Built-in Output"
> sox INFO coreaudio: Found Audio Device "Orion 32"
> sox INFO coreaudio: Found Audio Device "Soundflo"
> sox INFO coreaudio: Found Audio Device "Soundflo"
> sox INFO coreaudio: Found Audio Device "Universa"
> sox INFO coreaudio: Found Audio Device "Orion + "

Did you figure out what exactly these are?
In particular, what is "Orion 32" if your device is "Orion + "?

> sox DBUG coreaudio: audio device did not accept 2 channels.
> Use 10 channels instead.
> sox DBUG coreaudio: audio device did not accept 44100 sample rate.
> Use 96000 instead.
> sox INFO formats: can't set sample rate 44100; using 96000
> sox INFO formats: can't set 2 channels; using 10

Again, this is probably SoX's interactiion with CoreAudio.
Or does the "Orion" soundcard really not have the ability
to output @ 44100 Hz? Or it can't really ouput stereo?

> Output File    : 'Orion + ' (coreaudio)
> Channels       : 10
> Sample Rate    : 96000
> Precision      : 24-bit
> Duration       : 00:00:22.97 = 2204685 samples ~ 1722.41 CDDA sectors
> Sample Encoding: 32-bit Floating Point PCM
> Endian Type    : little
> Reverse Nibbles: no
> Reverse Bits   : no

> Could this be a MaxOSX-only issue???

I think so. Plug your 32ch device into another system and see.

> The error concerning Digidesign CoreAudio is strange.
> I am running MacOSX 10.10 and Digidesign CoreAudio has not
> been updated since 10.6

Your SoX version might be older than MacOSX 10.6,
and even then the CoreAudio interaction was not perfect.
(You can search this list for the problems I had on 10.5.8.)

	Jan


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Using Sox to output multiple tracks
  2015-07-31  9:07       ` Axel Ronsin
  2015-07-31  9:24         ` Erich Eckner
  2015-08-04 13:49         ` Jan Stary
@ 2015-08-04 13:53         ` Jan Stary
  2 siblings, 0 replies; 13+ messages in thread
From: Jan Stary @ 2015-08-04 13:53 UTC (permalink / raw
  To: sox-users

> Now that I am able to output audio via the Orion 32, 
> my next challenge is recording via its input channels (there are 32 also)?
> 
> I tried adding 
> & rec $filename
> 
> but I get a nasty
> rec WARN coreaudio: coreaudio: unhandled buffer overrun.  Data discarded.

Post the output of

	rec -V5 -c 1  file.wav
	rec -V5 -c 2  file.wav
	rec -V5 -c 32 file.wav

possibly with "-r 96000" (or whatever CoreAudio suggests).


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-08-04 13:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 20:45 Using Sox to output multiple tracks Axel Ronsin
2015-07-30 12:09 ` Jan Stary
2015-07-30 21:28   ` Schumacher Marlon
2015-07-31  0:27     ` =?gb18030?B?tL+94LXEu7W1sA==?=
2015-07-31  5:56     ` Jan Stary
2015-07-31  9:07       ` Axel Ronsin
2015-07-31  9:24         ` Erich Eckner
2015-07-31 16:58           ` Axel Ronsin
2015-07-31 17:32             ` Erich Eckner
2015-07-31 17:44               ` Axel Ronsin
2015-08-03 14:39                 ` Axel Ronsin
2015-08-04 13:49         ` Jan Stary
2015-08-04 13:53         ` Jan Stary

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).