Re: any port use /dev/dsp directly?

2010-01-15 Thread Gary Kline
On Fri, Jan 15, 2010 at 11:12:17AM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: [[ ... ]] > > > > > > sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw > > > > > > will convert the wav fi

Re: any port use /dev/dsp directly?

2010-01-15 Thread Dan Nelson
In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > > In the last episode (Jan 14), Gary Kline said: > > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > > The sox port comes with its own "play" command that can parse man

Re: any port use /dev/dsp directly?

2010-01-14 Thread Gary Kline
On Thu, Jan 14, 2010 at 04:13:51PM -0800, Gary Kline wrote: > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > > In the last episode (Jan 14), Gary Kline said: > > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > > The sox port comes with its own "play" command that

Re: any port use /dev/dsp directly?

2010-01-14 Thread Gary Kline
On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > The sox port comes with its own "play" command that can parse many > > > containers and encodings, including wav files.

Re: any port use /dev/dsp directly?

2010-01-14 Thread Dan Nelson
In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > The sox port comes with its own "play" command that can parse many > > containers and encodings, including wav files. > > I did see that. I'm wondering of theses is some sox translatio

Re: any port use /dev/dsp directly?

2010-01-14 Thread Polytropon
On Thu, 14 Jan 2010 14:31:05 -0800, Gary Kline wrote: > I'm wondering of theses is some sox translation that > would do say > > %sox -w WAV -r [rawoutfile] That's possible, but you have to tell sox how the raw file should be parameterized, e. g. sampling frequency, channels, bit w

Re: any port use /dev/dsp directly?

2010-01-14 Thread Gary Kline
On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > > > In the last episode (Jan 13), Gary Kline said: > > > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > >

Re: any port use /dev/dsp directly?

2010-01-14 Thread Dan Nelson
In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > > In the last episode (Jan 13), Gary Kline said: > > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > > > Gary Kline wrote: > > > > > I have a couple short programs wher

Re: any port use /dev/dsp directly?

2010-01-14 Thread Gary Kline
On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > In the last episode (Jan 13), Gary Kline said: > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > > Gary Kline wrote: > > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > > ope

Re: any port use /dev/dsp directly?

2010-01-14 Thread Dan Nelson
In the last episode (Jan 13), Gary Kline said: > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > Gary Kline wrote: > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > open check to be sure the speed is right, open in mono or stereo, > > > &c. is the

Re: any port use /dev/dsp directly?

2010-01-14 Thread Ivan Voras
Gary Kline wrote: On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: Gary Kline wrote: I have a couple short programs where I mess with /dev/dsp. I'll open check to be sure the speed is right, open in mono or stereo, &c. is there anything is ports that uses this dev by op

Re: any port use /dev/dsp directly?

2010-01-13 Thread Gary Kline
On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > Gary Kline wrote: > > > > I have a couple short programs where I mess with /dev/dsp. I'll open > > check to be sure the speed is right, open in mono or stereo, &c. is > > there anything is ports that uses this dev by op

Re: any port use /dev/dsp directly?

2010-01-13 Thread Glen Barber
Gary Kline wrote: > > I have a couple short programs where I mess with /dev/dsp. I'll open > check to be sure the speed is right, open in mono or stereo, &c. is > there anything is ports that uses this dev by opening, doing ioctls and > so forth? > > I think I m

any port use /dev/dsp directly?

2010-01-13 Thread Gary Kline
I have a couple short programs where I mess with /dev/dsp. I'll open check to be sure the speed is right, open in mono or stereo, &c. is there anything is ports that uses this dev by opening, doing ioctls and so forth? I think I may need to flush my dat