|
From: Chris B. <ch...@cn...> - 2010-07-13 20:00:48
|
OK, thanks. It doesn't tell us to much. It does say hardware is
defaulting to 16-bit 44100 sample rate 2 channels... which is good.
For unknown reasons, SoX processes no samples though. It could be as
simple as under-run not handle gracefully when first opening buffer
but just needs some machine time with a debugger from here.
Sorry, no solution at this time.
Chris
On Tue, Jul 13, 2010 at 1:33 PM, bet hec han gey ouw ant toc
<six...@gm...> wrote:
> ok, ran -V10 as suggested. here is output fyi.
>
> thanks,
> dan
>
> <output>
> daniel-paluskas-macbook-pro:OneMinutePerDay danielpaluska$ sox -d -V10
> foo.wav
> sox: SoX v14.3.0
> time: Jun 20 2009 19:13:43
> uname: Darwin daniel-paluskas-macbook-pro.local 9.8.0 Darwin Kernel Version
> 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
> gcc: 4.0.1 (Apple Inc. build 5488)
> arch: 1248 48 44 L
> sox DBUG coreaudio: audio device did not accept 48000 sample rate. Use 44100
> instead.
>
> Input File : 'default' (coreaudio)
> Channels : 2
> Sample Rate : 44100
> Precision : 16-bit
> Sample Encoding: 16-bit Signed Integer PCM
> Endian Type : little
> Reverse Nibbles: no
> Reverse Bits : no
>
> sox DBUG wav: Writing Wave file: Microsoft PCM format, 2 channels, 44100
> samp/sec
> sox DBUG wav: 176400 byte/sec, 4 block align, 16 bits/samp
>
> Output File : 'foo.wav'
> Channels : 2
> Sample Rate : 44100
> Precision : 16-bit
> Sample Encoding: 16-bit Signed Integer PCM
> Endian Type : little
> Reverse Nibbles: no
> Reverse Bits : no
> Comment : 'Processed by SoX'
>
> sox INFO sox: effects chain: input 44100Hz 2 channels 16 bits (multi)
> sox INFO sox: effects chain: output 44100Hz 2 channels 16 bits (multi)
> In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ]
> Clip:0
> Done.
> sox DBUG wav: Finished writing Wave file, 0 data bytes 0 samples
> </output>
> <output>
> daniel-paluskas-macbook-pro:OneMinutePerDay danielpaluska$ sox -d -V10
> foo.aiff
> sox: SoX v14.3.0
> time: Jun 20 2009 19:13:43
> uname: Darwin daniel-paluskas-macbook-pro.local 9.8.0 Darwin Kernel Version
> 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
> gcc: 4.0.1 (Apple Inc. build 5488)
> arch: 1248 48 44 L
> sox DBUG coreaudio: audio device did not accept 48000 sample rate. Use 44100
> instead.
>
> Input File : 'default' (coreaudio)
> Channels : 2
> Sample Rate : 44100
> Precision : 16-bit
> Sample Encoding: 16-bit Signed Integer PCM
> Endian Type : little
> Reverse Nibbles: no
> Reverse Bits : no
>
> sox DBUG aiff: converted 44100 to 100 16 37777777654 104 0 0 0 0 0 0
>
> Output File : 'foo.aiff'
> Channels : 2
> Sample Rate : 44100
> Precision : 16-bit
> Sample Encoding: 16-bit Signed Integer PCM
> Endian Type : big
> Reverse Nibbles: no
> Reverse Bits : no
> Comment : 'Processed by SoX'
>
> sox INFO sox: effects chain: input 44100Hz 2 channels 16 bits (multi)
> sox INFO sox: effects chain: output 44100Hz 2 channels 16 bits (multi)
> In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ]
> Clip:0
> Done.
> sox DBUG aiff: converted 44100 to 100 16 37777777654 104 0 0 0 0 0 0
>
> </output>
>
>
>> Message: 7
>> Date: Tue, 13 Jul 2010 13:06:39 -0500
>> From: Chris Bagwell <ch...@cn...>
>> Subject: Re: [SoX-users] using sox to record on a mac? / timelapse
>> audio
>> To: sox...@li...
>> Message-ID:
>> <AAN...@ma...>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> I do not think recording works on OSX... The hardware I developed
>> software on did not have a working recording device and I just took a
>> guess at how to do it.
>>
>> Hopefully a programmer with access will eventually step in. For one
>> thing, we are not setting audio properties for correct channel #'s or
>> sample rate.
>>
>> This may be confusing things... Maybe you'll get lucky if you first
>> run another recording application using correct sample size, rate, and
>> channels and the audio device may default to re-using those settings
>> when you run SoX.
>>
>> Also, running "rec -V10 test.wav" may enable some debug messages that
>> are useful to isolating the problem.
>>
>> AUDIODEV is currently not supported on OSX. That could also be part
>> of the problem if you have multiple recording devices.
>>
>> Chris
>>
>> On Tue, Jul 13, 2010 at 11:55 AM, bet hec han gey ouw ant toc
>> <six...@gm...> wrote:
>> >
>> > working on a script to record short snippets of audio every once in a
>> > while
>> > and then combine.
>> > can't seem to get the recording working on the mac. maybe i have to
>> > correctly point it to the right audio source. i see something about
>> > setting
>> > AUDIODEV in the man pages but not sure how to get to this on a mac. any
>> > tips?
>> >
>> > <code>
>> > while [ 1 ]
>> > do
>> > let "counter=counter+1"
>> > echo $counter
>> > sox -d -c 2 snip${counter:1}.wav trim 0 5
>> > sleep 10
>> > done
>> > </code>
>> > <output>
>> > 10001
>> >
>> > Input File???? : 'default' (coreaudio)
>> > Channels?????? : 2
>> > Sample Rate??? : 44100
>> > Precision????? : 16-bit
>> > Sample Encoding: 16-bit Signed Integer PCM
>> >
>> > In:0.00% 00:00:00.00 [00:00:00.00] Out:0???? [????? |????? ]
>> > Clip:0
>> > Done.
>> > 10002
>> >
>> > ...
>> >
>> > </output>
>> >
>> > and all the wav files are empty.
>> >
>> > related: a previous timelapse audio script for processing already
>> > recorded
>> > files is here:
>> >
>> > http://plainfront.wordpress.com/2010/01/16/experiments-with-timelapse-and-audio/
>> >
>> >
>> > thanks,
>> > dan
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by Sprint
>> > What will you do first with EVO, the first 4G phone?
>> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> > _______________________________________________
>> > Sox-users mailing list
>> > Sox...@li...
>> > https://lists.sourceforge.net/lists/listinfo/sox-users
>> >
>> >
>>
>>
>>
>> ------------------------------
>>
>> Message: 8
>> Date: Tue, 13 Jul 2010 13:07:22 -0500
>> From: Chris Bagwell <ch...@cn...>
>> Subject: Re: [SoX-users] using sox to record on a mac? / timelapse
>> audio
>> To: sox...@li...
>> Message-ID:
>> <AAN...@ma...>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> I do not think recording works on OSX... The hardware I developed
>> software on did not have a working recording device and I just took a
>> guess at how to do it.
>>
>> Hopefully a programmer with access will eventually step in. For one
>> thing, we are not setting audio properties for correct channel #'s or
>> sample rate.
>>
>> This may be confusing things... Maybe you'll get lucky if you first
>> run another recording application using correct sample size, rate, and
>> channels and the audio device may default to re-using those settings
>> when you run SoX.
>>
>> Also, running "rec -V10 test.wav" may enable some debug messages that
>> are useful to isolating the problem.
>>
>> AUDIODEV is currently not supported on OSX. That could also be part
>> of the problem if you have multiple recording devices.
>>
>> Chris
>>
>> On Tue, Jul 13, 2010 at 11:55 AM, bet hec han gey ouw ant toc
>> <six...@gm...> wrote:
>> >
>> > working on a script to record short snippets of audio every once in a
>> > while
>> > and then combine.
>> > can't seem to get the recording working on the mac. maybe i have to
>> > correctly point it to the right audio source. i see something about
>> > setting
>> > AUDIODEV in the man pages but not sure how to get to this on a mac. any
>> > tips?
>> >
>> > <code>
>> > while [ 1 ]
>> > do
>> > let "counter=counter+1"
>> > echo $counter
>> > sox -d -c 2 snip${counter:1}.wav trim 0 5
>> > sleep 10
>> > done
>> > </code>
>> > <output>
>> > 10001
>> >
>> > Input File???? : 'default' (coreaudio)
>> > Channels?????? : 2
>> > Sample Rate??? : 44100
>> > Precision????? : 16-bit
>> > Sample Encoding: 16-bit Signed Integer PCM
>> >
>> > In:0.00% 00:00:00.00 [00:00:00.00] Out:0???? [????? |????? ]
>> > Clip:0
>> > Done.
>> > 10002
>> >
>> > ...
>> >
>> > </output>
>> >
>> > and all the wav files are empty.
>> >
>> > related: a previous timelapse audio script for processing already
>> > recorded
>> > files is here:
>> >
>> > http://plainfront.wordpress.com/2010/01/16/experiments-with-timelapse-and-audio/
>> >
>> >
>> > thanks,
>> > dan
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by Sprint
>> > What will you do first with EVO, the first 4G phone?
>> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> > _______________________________________________
>> > Sox-users mailing list
>> > Sox...@li...
>> > https://lists.sourceforge.net/lists/listinfo/sox-users
>> >
>> >
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>
>> ------------------------------
>>
>> _______________________________________________
>> Sox-users mailing list
>> Sox...@li...
>> https://lists.sourceforge.net/lists/listinfo/sox-users
>>
>>
>> End of Sox-users Digest, Vol 49, Issue 2
>> ****************************************
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Sox-users mailing list
> Sox...@li...
> https://lists.sourceforge.net/lists/listinfo/sox-users
>
>
|