Query regarding sampling rates etc
Hi,
This is a very vague question, just thought of asking it after hours of debugging.
I am testing my alsa driver, written for omap 730/850 based board. I am testing it by using aplay.
Despite checking clocks, sampling rates etc many times and after doing many combinations thereof, I cant hear anything more than a noise which changes and becomes more like the original .wav file as I change various params like sampling rates/clocks etc. It becomes close to the actual thing, but not better.
Any idea what are the params I should be tweaking? I know this is h/w dependent.
-pharaoh
Quoted 7 lines · Pharaoh .
Hi,
This is a very vague question, just thought of asking it after hours of debugging.I am testing my alsa driver, written for omap 730/850 based board. I am testing it by using aplay.
Quoted 9 lines
Despite checking clocks, sampling rates etc many times and after doing many combinations thereof, I cant hear anything more than a noise which changes and becomes more like the original .wav file as I change various params like sampling rates/clocks etc. It becomes close to the actual thing, but not better.
Any idea what are the params I should be tweaking? I know this is h/w dependent.
Sounds like (no pun intended) your digital audio interface is not set up correctly between your codec and CPU. It's probably best to make sure they are both using the same I2S or PCM modes.
Liam
Exactly, this sounds like when I was sending left-aligned serial audio instead of I2S format from ice1724 to the codec. Low volumes were OK, higner distorted.
Pavel.
Quoted 36 lines
------------ Původní zpráva ------------
Od: Liam Girdwood <[email protected]> Předmět: Re: [alsa-devel] Query regarding sampling rates etc
Datum: 10.7.2007 23:18:21
----------------------------------------Quoted 7 lines · Pharaoh .
Hi,
This is a very vague question, just thought of asking it after hours of debugging.I am testing my alsa driver, written for omap 730/850 based board. I am testing it by using aplay.
Quoted 9 lines
Despite checking clocks, sampling rates etc many times and after doing many combinations thereof, I cant hear anything more than a noise which changes and becomes more like the original .wav file as I change various params like sampling rates/clocks etc. It becomes close to the actual thing, but not better.
Any idea what are the params I should be tweaking? I know this is h/w dependent.
Sounds like (no pun intended) your digital audio interface is not set up correctly between your codec and CPU. It's probably best to make sure they are both using the same I2S or PCM modes.
Liam
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 30 lines · On 7/11/07, [email protected] <[email protected]> wrote:
Exactly, this sounds like when I was sending left-aligned serial audio instead of I2S format from ice1724 to the codec. Low volumes were OK, higner distorted.
Pavel.
Quoted 8 lines
------------ Původní zpráva ------------
Od: Liam Girdwood <[email protected]> Předmět: Re: [alsa-devel] Query regarding sampling rates etc
Datum: 10.7.2007 23:18:21
----------------------------------------Quoted 2 lines · Pharaoh .
Hi,
This is a very vague question, just thought of asking it after hoursof
Quoted 3 lines
Quoted 3 lines
debugging.
I am testing my alsa driver, written for omap 730/850 based board. I
am
Quoted 3 lines
Quoted 3 lines
testing it by using aplay.
Despite checking clocks, sampling rates etc many times and after
doing many
Quoted 1 line
Quoted 1 line
combinations thereof, I cant hear anything more than a noise which
changes
Quoted 1 line
Quoted 1 line
and becomes more like the original .wav file as I change various
params like
Quoted 1 line
Quoted 1 line
sampling rates/clocks etc. It becomes close to the actual thing, but
not
Quoted 21 lines
Quoted 7 lines
Quoted 5 lines
better.
Any idea what are the params I should be tweaking? I know this is h/w dependent.
Sounds like (no pun intended) your digital audio interface is not set
up
Quoted 12 lines
correctly between your codec and CPU. It's probably best to make sure they are both using the same I2S or PCM modes.
Liam
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Okay, got it. But in this case wont the data on i2s line get corrupted? I could see correct data being passed on i2s data line, I tried with some unique patterns and the 2's compliment was visible on the data line.