Re: [Alsa-devel] Getting actual sample rate

2003-06-11 Thread Paul Davis
>Anyone care to shed the light on the math for what totalmix does >regarding fader-to-mixer, fader-to-db and mixer-to-fader values? What I >have works, but it's UGLY. (well just the constants... I like things to >be simple.) you could use the settings in ardour, which has relatively sophisticated

Re: [Alsa-devel] Getting actual sample rate

2003-06-11 Thread David E. Storey
Anyone care to shed the light on the math for what totalmix does regarding fader-to-mixer, fader-to-db and mixer-to-fader values? What I have works, but it's UGLY. (well just the constants... I like things to be simple.) d! On Wed, 2003-06-11 at 00:48, tom burkart wrote: > Today, Paul Davis wrote

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread tom burkart
Today, Paul Davis wrote: > thomas' code contains the results of the communications i had with RME > about this. it was unclear if the conversions should go into the > driver or not. I had a similar issue with a driver that is about to be published and I decided that userspace can do that one... t

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
>that would be handy. I've successfully used ALSA and an HDSP to do in >ear monitor mixing for a band I run sound for. But I'm only guessing at: > >a) converting "fader" levels to something logarithmic like db >b) converting fader levels to the 0-65535 exponential scale that the >hdsp uses, and >c)

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread David E. Storey
On Tue, 2003-06-10 at 16:26, Paul Davis wrote: > thomas's code works on the hdsp i think, and is easily adapted to the > digi9652. he also has written totalmix for linux. i don't know why he > hasn't released it yet. thomas? that would be handy. I've successfully used ALSA and an HDSP to do in ear

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
>hey, uh... is there something like this for the HDSP? I was going to >write something, but if someone already has, I'd rather not re-invent >the wheel... otherwise, I'll get a crackin'! thomas's code works on the hdsp i think, and is easily adapted to the digi9652. he also has written totalmix fo

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread David E. Storey
hey, uh... is there something like this for the HDSP? I was going to write something, but if someone already has, I'd rather not re-invent the wheel... otherwise, I'll get a crackin'! d! On Tue, 2003-06-10 at 15:35, Paul Davis wrote: > >Maybe we can add some rme9652 switches to rmedigicontrol!? >

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
>Maybe we can add some rme9652 switches to rmedigicontrol!? thomas (charbonnel) already has written a version of rme's digicheck for the digi9652 and hdsp cards. i am not sure what its status is, but i saw it running at LAD/ZKM. --- This SF.ne

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Martin Langer
On Tue, Jun 10, 2003 at 01:56:55PM -0400, Paul Davis wrote: > >Is this is a design flaw? How to tell the input frequency? Need some > >additionnal hardware? > > the ALSA h/w parameters are things set by an application (and > perhaps later read by the same or a different application). > > what A

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Jaroslav Kysela
On Tue, 10 Jun 2003, Eric Allamanche wrote: > >>the ALSA hardware parameter model doesn't include the notion of an > >>"external rate". > > Is this is a design flaw? How to tell the input frequency? Need some > additionnal hardware? No. It is not. As Paul mentioned, we have universal control f

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Eric Allamanche
Thanks for feedback, Martin Langer wrote: On Tue, Jun 10, 2003 at 12:24:21PM -0400, Paul Davis wrote: I'm using a digital Hammerfall audio card and was wondering how to which hammerfall? digi9652 or hdsp9652? I think it's an older digi9652, I have to open the PC to check it out the ALSA hardwar

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
>Is this is a design flaw? How to tell the input frequency? Need some >additionnal hardware? the ALSA h/w parameters are things set by an application (and perhaps later read by the same or a different application). what ALSA supports (and the hdsp driver in particular; the digi9652 is not so go

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
this is the most important question for now: >> which hammerfall? digi9652 or hdsp9652? >Up to now, I thought ADAT was only defined for 44.1 and 48 kHz, but maybe >I'm wrong in this point. Ok, I believe that the hw doesn't use a restriction i >n >that point. But are there really any devices that

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Martin Langer
On Tue, Jun 10, 2003 at 12:24:21PM -0400, Paul Davis wrote: > >I'm using a digital Hammerfall audio card and was wondering how to > > which hammerfall? digi9652 or hdsp9652? > > >figure out the sample rate of the ADAT input pcm stream (which can vary > >from 32kHZ to 96kHZ). I tried functions l

Re: [Alsa-devel] Getting actual sample rate

2003-06-10 Thread Paul Davis
>I'm using a digital Hammerfall audio card and was wondering how to which hammerfall? digi9652 or hdsp9652? >figure out the sample rate of the ADAT input pcm stream (which can vary >from 32kHZ to 96kHZ). I tried functions like >snd_pcm_hw_params_get_rate() but they do not seem to give the righ

[Alsa-devel] Getting actual sample rate

2003-06-10 Thread Eric Allamanche
Hi, I'm using a digital Hammerfall audio card and was wondering how to figure out the sample rate of the ADAT input pcm stream (which can vary from 32kHZ to 96kHZ). I tried functions like snd_pcm_hw_params_get_rate() but they do not seem to give the right answer. Any hints? BTW, when the input