usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Re: [USRP-users] E100 : 32 kHz audio problem

AF
Almohanad Fayez
Thu, Sep 8, 2011 8:23 PM

sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work.  I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked.

al

-----Original Message-----
From: Christophe ALEXANDRE christophe.alexandre@cnam.fr
To: Almohanad Fayez alfayez@aol.com
Sent: Sat, Aug 27, 2011 2:11 am
Subject: Re: [USRP-users] E100 : 32 kHz audio problem

        i hear something very noisy and the aU's output very fast.
There is nothing in my flowgraph, just a 1 kHz sinus source
plugged in an audio sink. It's just to test the E100's audio.
It playbacks correctly only at 16, 44.1 and 48 kHz.

Le 26/08/2011 22:59, Almohanad Fayez a écrit :    
    

Are you able to hear something at least with some skipping          or you can't hear anything?  Are the aU's outputed to the          screen very fast or are they a few at a time?  It might be          that the processor is not able to keep up with your data          processing in the flowgraph itself and you actually need to          perform some flowgraph optimization.  For example a channel          filter can definitely kill your runtime performance if you're          not neon or dsp optimizing it.

I'll download your script and run it on my E100 but I might          not get around that till early next week ...

      al
    
    
    

-----Original Message-----
From: Christophe ALEXANDRE          christophe.alexandre@cnam.fr
To: Almohanad Fayez alfayez@aol.com
Cc: usrp-users usrp-users@lists.ettus.com
Sent: Fri, Aug 26, 2011 3:06 pm
Subject: Re: [USRP-users] E100 : 32 kHz audio problem

in            /usr/share/alsa/alsa.conf
i have changed the line :

            defaults.pcm.dmix.rate 48000
        
        to 32000 with no success. this has no effect
        on my gnuradio script (even after reboot). Same output.
        
        Le 26/08/2011 18:41, Almohanad Fayez a écrit :            
              

              
              

aaaw,                      completely forgot about the the alsa.conf                      configuration ... so you're absolutely right the                      driver supports more sampling frequencies than it                      will allow you to do the only I figured out how to                      get around it is by changing the default frequency                      in your "alsa.conf" file, i forget the exact                      directory where it is.  In the conf file look for                      default frequency ... it defaults to 48000 Hz change                    that to your desired frequency 16000Hz or 32000Hz                    and you should be set to go.

                this is more of a quick and dirty fix and might                    impact audio performance in programs other than                    gnuradio personally I only use audio in gnuradio so                    I never bothered looking up a cleaner solution.
                
                al 
              
              

              
              

              
              

-----Original                    Message-----
From: christophe.alexandre christophe.alexandre@cnam.fr
To: Almohanad Fayez alfayez@aol.com
Cc: usrp-users usrp-users@lists.ettus.com
Sent: Fri, Aug 26, 2011 4:13 am
Subject: Re: [USRP-users] E100 : 32 kHz audio                    problem

I tried both, same result. This is the

Terminal output using 32 kHz audio sample rate :

root@usrp-e1xx:~/grc# ./essai_audio.py

Press Enter to quit:

aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

Regards

C.Alexandre

I found that using "default" as the playback device and "hw:0,0" as the

capture device work best on the omap3530 processor with gnuradio.

al

-----Original Message-----

From: ALEXANDRE Christophe christophe.alexandre@cnam.fr

Sent: Thu, Aug 25, 2011 3:49 pm

Subject: [USRP-users] E100 : 32 kHz audio problem

Hi list,

i'm still digging in my E100 and trying to

implement an FM receiver. I can make it work,

but i realize there is still an audio problem.

i can't use 32 kHz audio rate (nor 22050). The E100 supports it,

but it only outputs noise.

i send you essai_audio.py to check it. The ouput

shows underflows which is enough strange.

i can only use 16 k, 44.1 k and 48 k.

As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because

you can divide master clock by 2000 to get it.

So my FM receiver uses a 16 KHz audio rate. It works, but

i loose part of the spectrum.

any ideas are welcome !!!

Regards.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

tel. 0140272699

fax. 0140272994


USRP-users mailing list

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work. I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked. al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Sent: Sat, Aug 27, 2011 2:11 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem i hear something very noisy and the aU's output very fast. There is nothing in my flowgraph, just a 1 kHz sinus source plugged in an audio sink. It's just to test the E100's audio. It playbacks correctly only at 16, 44.1 and 48 kHz. Le 26/08/2011 22:59, Almohanad Fayez a écrit : Are you able to hear something at least with some skipping or you can't hear anything? Are the aU's outputed to the screen very fast or are they a few at a time? It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization. For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it. I'll download your script and run it on my E100 but I might not get around that till early next week ... al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 3:06 pm Subject: Re: [USRP-users] E100 : 32 kHz audio problem in /usr/share/alsa/alsa.conf i have changed the line : defaults.pcm.dmix.rate 48000 to 32000 with no success. this has no effect on my gnuradio script (even after reboot). Same output. Le 26/08/2011 18:41, Almohanad Fayez a écrit : aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is. In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go. this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution. al -----Original Message----- From: christophe.alexandre <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 4:13 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem I tried both, same result. This is the Terminal output using 32 kHz audio sample rate : root@usrp-e1xx:~/grc# ./essai_audio.py Press Enter to quit: aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU Regards C.Alexandre > > > > I found that using "default" as the playback device and "hw:0,0" as the > capture device work best on the omap3530 processor with gnuradio. > > al > > > > > > > -----Original Message----- > From: ALEXANDRE Christophe <christophe.alexandre@cnam.fr> > To: usrp-users <usrp-users@lists.ettus.com> > Sent: Thu, Aug 25, 2011 3:49 pm > Subject: [USRP-users] E100 : 32 kHz audio problem > > > Hi list, > > > > i'm still digging in my E100 and trying to > > implement an FM receiver. I can make it work, > > but i realize there is still an audio problem. > > i can't use 32 kHz audio rate (nor 22050). The E100 supports it, > > but it only outputs noise. > > > > i send you essai_audio.py to check it. The ouput > > shows underflows which is enough strange. > > > > i can only use 16 k, 44.1 k and 48 k. > > > > As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because > > you can divide master clock by 2000 to get it. > > > > So my FM receiver uses a 16 KHz audio rate. It works, but > > i loose part of the spectrum. > > > > any ideas are welcome !!! > > > > Regards. > > > > > > Christophe ALEXANDRE > > Conservatoire National des Arts et Métiers (CNAM) > > Laboratoire CEDRIC-LAETITIA > > Département EASY > > Accès 17-1-32, Case 2D2P10 > > 292 rue Saint Martin > > 75141 PARIS CEDEX 03 > > FRANCE > > email : christophe.alexandre@cnam.fr > > tel. 0140272699 > > fax. 0140272994 > > > > > >> > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994 -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994
AC
ALEXANDRE Christophe
Thu, Sep 8, 2011 8:48 PM

yes, the device supports it, but it doesn't work.
i think it's a driver problem but i'm not sure
it deserves further investigation.
tweaking angstrom can be very time consuming.

i can live without 32 kHz, using the rational resampler
and 48 kHz.

regards.

Christophe ALEXANDRE
Conservatoire National des Arts et Métiers (CNAM)
Laboratoire CEDRIC-LAETITIA
Département EASY
Accès 17-1-32, Case 2D2P10
292 rue Saint Martin
75141 PARIS CEDEX 03
FRANCE
email : christophe.alexandre@cnam.fr
tel. 0140272699
fax. 0140272994

----- Original Message -----
From: Almohanad Fayez
To: christophe.alexandre@cnam.fr ; usrp-users@lists.ettus.com
Sent: Thursday, September 08, 2011 10:23 PM
Subject: Re: [USRP-users] E100 : 32 kHz audio problem

sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work.  I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked.

al

-----Original Message-----
From: Christophe ALEXANDRE christophe.alexandre@cnam.fr
To: Almohanad Fayez alfayez@aol.com
Sent: Sat, Aug 27, 2011 2:11 am
Subject: Re: [USRP-users] E100 : 32 kHz audio problem

i hear something very noisy and the aU's output very fast.
There is nothing in my flowgraph, just a 1 kHz sinus source
plugged in an audio sink. It's just to test the E100's audio.
It playbacks correctly only at 16, 44.1 and 48 kHz.

Le 26/08/2011 22:59, Almohanad Fayez a écrit :
Are you able to hear something at least with some skipping or you can't hear anything?  Are the aU's outputed to the screen very fast or are they a few at a time?  It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization.  For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it.

I'll download your script and run it on my E100 but I might not get around that till early next week ... 

al



-----Original Message-----
From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr>
To: Almohanad Fayez <alfayez@aol.com>
Cc: usrp-users <usrp-users@lists.ettus.com>
Sent: Fri, Aug 26, 2011 3:06 pm
Subject: Re: [USRP-users] E100 : 32 kHz audio problem


in /usr/share/alsa/alsa.conf
i have changed the line :
    
    defaults.pcm.dmix.rate 48000

to 32000 with no success. this has no effect
on my gnuradio script (even after reboot). Same output.

Le 26/08/2011 18:41, Almohanad Fayez a écrit : 


  aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is.  In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go.  

  this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution.

  al 





  -----Original Message-----
  From: christophe.alexandre <christophe.alexandre@cnam.fr>
  To: Almohanad Fayez <alfayez@aol.com>
  Cc: usrp-users <usrp-users@lists.ettus.com>
  Sent: Fri, Aug 26, 2011 4:13 am
  Subject: Re: [USRP-users] E100 : 32 kHz audio problem

I tried both, same result. This is the

Terminal output using 32 kHz audio sample rate :

root@usrp-e1xx:~/grc# ./essai_audio.py

Press Enter to quit:

aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

Regards

C.Alexandre

I found that using "default" as the playback device and "hw:0,0" as the

capture device work best on the omap3530 processor with gnuradio.

al

-----Original Message-----

From: ALEXANDRE Christophe christophe.alexandre@cnam.fr

Sent: Thu, Aug 25, 2011 3:49 pm

Subject: [USRP-users] E100 : 32 kHz audio problem

Hi list,

i'm still digging in my E100 and trying to

implement an FM receiver. I can make it work,

but i realize there is still an audio problem.

i can't use 32 kHz audio rate (nor 22050). The E100 supports it,

but it only outputs noise.

i send you essai_audio.py to check it. The ouput

shows underflows which is enough strange.

i can only use 16 k, 44.1 k and 48 k.

As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because

you can divide master clock by 2000 to get it.

So my FM receiver uses a 16 KHz audio rate. It works, but

i loose part of the spectrum.

any ideas are welcome !!!

Regards.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

tel. 0140272699

fax. 0140272994


USRP-users mailing list

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

yes, the device supports it, but it doesn't work. i think it's a driver problem but i'm not sure it deserves further investigation. tweaking angstrom can be very time consuming. i can live without 32 kHz, using the rational resampler and 48 kHz. regards. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994 ----- Original Message ----- From: Almohanad Fayez To: christophe.alexandre@cnam.fr ; usrp-users@lists.ettus.com Sent: Thursday, September 08, 2011 10:23 PM Subject: Re: [USRP-users] E100 : 32 kHz audio problem sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work. I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked. al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Sent: Sat, Aug 27, 2011 2:11 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem i hear something very noisy and the aU's output very fast. There is nothing in my flowgraph, just a 1 kHz sinus source plugged in an audio sink. It's just to test the E100's audio. It playbacks correctly only at 16, 44.1 and 48 kHz. Le 26/08/2011 22:59, Almohanad Fayez a écrit : Are you able to hear something at least with some skipping or you can't hear anything? Are the aU's outputed to the screen very fast or are they a few at a time? It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization. For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it. I'll download your script and run it on my E100 but I might not get around that till early next week ... al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 3:06 pm Subject: Re: [USRP-users] E100 : 32 kHz audio problem in /usr/share/alsa/alsa.conf i have changed the line : defaults.pcm.dmix.rate 48000 to 32000 with no success. this has no effect on my gnuradio script (even after reboot). Same output. Le 26/08/2011 18:41, Almohanad Fayez a écrit : aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is. In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go. this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution. al -----Original Message----- From: christophe.alexandre <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 4:13 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem I tried both, same result. This is the Terminal output using 32 kHz audio sample rate : root@usrp-e1xx:~/grc# ./essai_audio.py Press Enter to quit: aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU Regards C.Alexandre > > > > I found that using "default" as the playback device and "hw:0,0" as the > capture device work best on the omap3530 processor with gnuradio. > > al > > > > > > > -----Original Message----- > From: ALEXANDRE Christophe <christophe.alexandre@cnam.fr> > To: usrp-users <usrp-users@lists.ettus.com> > Sent: Thu, Aug 25, 2011 3:49 pm > Subject: [USRP-users] E100 : 32 kHz audio problem > > > Hi list, > > > > i'm still digging in my E100 and trying to > > implement an FM receiver. I can make it work, > > but i realize there is still an audio problem. > > i can't use 32 kHz audio rate (nor 22050). The E100 supports it, > > but it only outputs noise. > > > > i send you essai_audio.py to check it. The ouput > > shows underflows which is enough strange. > > > > i can only use 16 k, 44.1 k and 48 k. > > > > As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because > > you can divide master clock by 2000 to get it. > > > > So my FM receiver uses a 16 KHz audio rate. It works, but > > i loose part of the spectrum. > > > > any ideas are welcome !!! > > > > Regards. > > > > > > Christophe ALEXANDRE > > Conservatoire National des Arts et Métiers (CNAM) > > Laboratoire CEDRIC-LAETITIA > > Département EASY > > Accès 17-1-32, Case 2D2P10 > > 292 rue Saint Martin > > 75141 PARIS CEDEX 03 > > FRANCE > > email : christophe.alexandre@cnam.fr > > tel. 0140272699 > > fax. 0140272994 > > > > > >> > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994 -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994
AF
Almohanad Fayez
Thu, Sep 8, 2011 8:59 PM

if you feel like pursuing this some more in the future I would recommend you contact the ALSA listserv not the Angstrom listserv.  Something you might want to keep in mind while using audio on the E100 is the digital loopback between the record and playback interface, basically if you plug something through the mic port you'll hear it on the speaker you will need amixer to set the loopback value to 0 ... in case you missed the message i emailed on the listserv a few weeks back

al fayez

-----Original Message-----
From: ALEXANDRE Christophe christophe.alexandre@cnam.fr
To: usrp-users usrp-users@lists.ettus.com; Almohanad Fayez alfayez@aol.com
Sent: Thu, Sep 8, 2011 4:48 pm
Subject: Re: [USRP-users] E100 : 32 kHz audio problem

yes, the device supports it, but it doesn't work.
i think it's a driver problem but i'm not sure
it deserves further investigation.
tweaking angstrom can be very time consuming.

i can live without 32 kHz, using the rational resampler
and 48 kHz.

regards.

Christophe ALEXANDRE
Conservatoire National des Arts et Métiers (CNAM)
Laboratoire CEDRIC-LAETITIA
Département EASY
Accès 17-1-32, Case 2D2P10
292 rue Saint Martin
75141 PARIS CEDEX 03
FRANCE
email : christophe.alexandre@cnam.fr
tel. 0140272699
fax. 0140272994

----- Original Message -----

From:  Almohanad Fayez

To: christophe.alexandre@cnam.frusrp-users@lists.ettus.com

Sent: Thursday, September 08, 2011 10:23  PM

Subject: Re: [USRP-users] E100 : 32 kHz  audio problem

sorry for the late reply, last  2 weeks have a been a perfect storm of insanity ... anyways, I tried running  my E100 based FM receiver with 32kHz and you're right it doesn't work but  16kHz work.  I know that 32kHz used to work in the 2.6.29 kernel and that  the audio device itself supports it ... if you really want  32kHz and you're adventurous you can poke around the driver implementation and  I think there's an enum type somewhere that might fix this I can dig through  my old notes to find the info though I never got it to work personally I just  used the standard driver for 2.6.29 and it just  worked.

al

-----Original  Message-----
From: Christophe ALEXANDRE  christophe.alexandre@cnam.fr
To: Almohanad Fayez  alfayez@aol.com
Sent: Sat, Aug 27, 2011 2:11 am
Subject: Re:  [USRP-users] E100 : 32 kHz audio problem

i hear something  very noisy and the aU's output very fast.
There is nothing in my flowgraph,  just a 1 kHz sinus source
plugged in an audio sink. It's just to test the  E100's audio.
It playbacks correctly only at 16, 44.1 and 48 kHz.

Le  26/08/2011 22:59, Almohanad Fayez a écrit :

Are you able to hear something at least with some skipping or you can't    hear anything?  Are the aU's outputed to the screen very fast or are    they a few at a time?  It might be that the processor is not able to    keep up with your data processing in the flowgraph itself and you actually    need to perform some flowgraph optimization.  For example a channel    filter can definitely kill your runtime performance if you're not neon or    dsp optimizing it.

I'll download your script and run it on my E100 but I might not get    around that till early next week ...

al

-----Original    Message-----
From: Christophe ALEXANDRE christophe.alexandre@cnam.fr
To:    Almohanad Fayez alfayez@aol.com
Cc: usrp-users    usrp-users@lists.ettus.com
Sent:    Fri, Aug 26, 2011 3:06 pm
Subject: Re: [USRP-users] E100 : 32 kHz audio    problem

in    /usr/share/alsa/alsa.conf
i have changed the line :

defaults.pcm.dmix.rate 48000

to 32000 with no    success. this has no effect
on my gnuradio script (even after reboot).    Same output.

Le 26/08/2011 18:41, Almohanad Fayez a écrit :

aaaw, completely forgot      about the the alsa.conf configuration ... so you're absolutely right the      driver supports more sampling frequencies than it will allow you to do the      only I figured out how to get around it is by changing the default      frequency in your "alsa.conf" file, i forget the exact directory where it      is.  In the conf file look for default frequency ... it defaults to      48000 Hz change that to your desired frequency 16000Hz or 32000Hz      and you should be set to go.

this is more of a quick and      dirty fix and might impact audio performance in programs other than      gnuradio personally I only use audio in gnuradio so I never bothered      looking up a cleaner solution.

al

-----Original      Message-----
From: christophe.alexandre christophe.alexandre@cnam.fr
To:      Almohanad Fayez alfayez@aol.com
Cc: usrp-users      usrp-users@lists.ettus.com
Sent:      Fri, Aug 26, 2011 4:13 am
Subject: Re: [USRP-users] E100 : 32 kHz audio      problem

I tried both, same result. This is the

Terminal output using 32 kHz audio sample rate :

root@usrp-e1xx:~/grc# ./essai_audio.py

Press Enter to quit:

aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

Regards

C.Alexandre

I found that using "default" as the playback device and "hw:0,0" as the

capture device work best on the omap3530 processor with gnuradio.

al

-----Original Message-----

From: ALEXANDRE Christophe christophe.alexandre@cnam.fr

Sent: Thu, Aug 25, 2011 3:49 pm

Subject: [USRP-users] E100 : 32 kHz audio problem

Hi list,

i'm still digging in my E100 and trying to

implement an FM receiver. I can make it work,

but i realize there is still an audio problem.

i can't use 32 kHz audio rate (nor 22050). The E100 supports it,

but it only outputs noise.

i send you essai_audio.py to check it. The ouput

shows underflows which is enough strange.

i can only use 16 k, 44.1 k and 48 k.

As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because

you can divide master clock by 2000 to get it.

So my FM receiver uses a 16 KHz audio rate. It works, but

i loose part of the spectrum.

any ideas are welcome !!!

Regards.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

tel. 0140272699

fax. 0140272994


USRP-users mailing list

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

--

Salutations.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

email : christophe.alexandre@cnam.fr

tel. 0140272699

fax. 0140272994

if you feel like pursuing this some more in the future I would recommend you contact the ALSA listserv not the Angstrom listserv. Something you might want to keep in mind while using audio on the E100 is the digital loopback between the record and playback interface, basically if you plug something through the mic port you'll hear it on the speaker you will need amixer to set the loopback value to 0 ... in case you missed the message i emailed on the listserv a few weeks back al fayez -----Original Message----- From: ALEXANDRE Christophe <christophe.alexandre@cnam.fr> To: usrp-users <usrp-users@lists.ettus.com>; Almohanad Fayez <alfayez@aol.com> Sent: Thu, Sep 8, 2011 4:48 pm Subject: Re: [USRP-users] E100 : 32 kHz audio problem yes, the device supports it, but it doesn't work. i think it's a driver problem but i'm not sure it deserves further investigation. tweaking angstrom can be very time consuming. i can live without 32 kHz, using the rational resampler and 48 kHz. regards. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994 ----- Original Message ----- From: Almohanad Fayez To: christophe.alexandre@cnam.fr ; usrp-users@lists.ettus.com Sent: Thursday, September 08, 2011 10:23 PM Subject: Re: [USRP-users] E100 : 32 kHz audio problem sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work. I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked. al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Sent: Sat, Aug 27, 2011 2:11 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem i hear something very noisy and the aU's output very fast. There is nothing in my flowgraph, just a 1 kHz sinus source plugged in an audio sink. It's just to test the E100's audio. It playbacks correctly only at 16, 44.1 and 48 kHz. Le 26/08/2011 22:59, Almohanad Fayez a écrit : Are you able to hear something at least with some skipping or you can't hear anything? Are the aU's outputed to the screen very fast or are they a few at a time? It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization. For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it. I'll download your script and run it on my E100 but I might not get around that till early next week ... al -----Original Message----- From: Christophe ALEXANDRE <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 3:06 pm Subject: Re: [USRP-users] E100 : 32 kHz audio problem in /usr/share/alsa/alsa.conf i have changed the line : defaults.pcm.dmix.rate 48000 to 32000 with no success. this has no effect on my gnuradio script (even after reboot). Same output. Le 26/08/2011 18:41, Almohanad Fayez a écrit : aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is. In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go. this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution. al -----Original Message----- From: christophe.alexandre <christophe.alexandre@cnam.fr> To: Almohanad Fayez <alfayez@aol.com> Cc: usrp-users <usrp-users@lists.ettus.com> Sent: Fri, Aug 26, 2011 4:13 am Subject: Re: [USRP-users] E100 : 32 kHz audio problem I tried both, same result. This is the Terminal output using 32 kHz audio sample rate : root@usrp-e1xx:~/grc# ./essai_audio.py Press Enter to quit: aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU Regards C.Alexandre > > > > I found that using "default" as the playback device and "hw:0,0" as the > capture device work best on the omap3530 processor with gnuradio. > > al > > > > > > > -----Original Message----- > From: ALEXANDRE Christophe <christophe.alexandre@cnam.fr> > To: usrp-users <usrp-users@lists.ettus.com> > Sent: Thu, Aug 25, 2011 3:49 pm > Subject: [USRP-users] E100 : 32 kHz audio problem > > > Hi list, > > > > i'm still digging in my E100 and trying to > > implement an FM receiver. I can make it work, > > but i realize there is still an audio problem. > > i can't use 32 kHz audio rate (nor 22050). The E100 supports it, > > but it only outputs noise. > > > > i send you essai_audio.py to check it. The ouput > > shows underflows which is enough strange. > > > > i can only use 16 k, 44.1 k and 48 k. > > > > As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because > > you can divide master clock by 2000 to get it. > > > > So my FM receiver uses a 16 KHz audio rate. It works, but > > i loose part of the spectrum. > > > > any ideas are welcome !!! > > > > Regards. > > > > > > Christophe ALEXANDRE > > Conservatoire National des Arts et Métiers (CNAM) > > Laboratoire CEDRIC-LAETITIA > > Département EASY > > Accès 17-1-32, Case 2D2P10 > > 292 rue Saint Martin > > 75141 PARIS CEDEX 03 > > FRANCE > > email : christophe.alexandre@cnam.fr > > tel. 0140272699 > > fax. 0140272994 > > > > > >> > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994 -- Salutations. Christophe ALEXANDRE Conservatoire National des Arts et Métiers (CNAM) Laboratoire CEDRIC-LAETITIA Département EASY Accès 17-1-32, Case 2D2P10 292 rue Saint Martin 75141 PARIS CEDEX 03 FRANCE email : christophe.alexandre@cnam.fr tel. 0140272699 fax. 0140272994
PB
Philip Balister
Thu, Sep 8, 2011 9:09 PM

On 09/08/2011 04:48 PM, ALEXANDRE Christophe wrote:

yes, the device supports it, but it doesn't work.
i think it's a driver problem but i'm not sure
it deserves further investigation.
tweaking angstrom can be very time consuming.

i can live without 32 kHz, using the rational resampler
and 48 kHz.

I'll make a bug on the internal Ettus bugtracker to remind me to check
32 khz.

Another option is to set the fpga clock to 48 MHz. Then you can use the
48 Khz audio rate without resampling.

Philip

regards.

Christophe ALEXANDRE
Conservatoire National des Arts et Métiers (CNAM)
Laboratoire CEDRIC-LAETITIA
Département EASY
Accès 17-1-32, Case 2D2P10
292 rue Saint Martin
75141 PARIS CEDEX 03
FRANCE
email : christophe.alexandre@cnam.fr
tel. 0140272699
fax. 0140272994

----- Original Message -----
From: Almohanad Fayez
To: christophe.alexandre@cnam.fr ; usrp-users@lists.ettus.com
Sent: Thursday, September 08, 2011 10:23 PM
Subject: Re: [USRP-users] E100 : 32 kHz audio problem




sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work.  I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked.


al





-----Original Message-----
From: Christophe ALEXANDRE<christophe.alexandre@cnam.fr>
To: Almohanad Fayez<alfayez@aol.com>
Sent: Sat, Aug 27, 2011 2:11 am
Subject: Re: [USRP-users] E100 : 32 kHz audio problem


i hear something very noisy and the aU's output very fast.
There is nothing in my flowgraph, just a 1 kHz sinus source
plugged in an audio sink. It's just to test the E100's audio.
It playbacks correctly only at 16, 44.1 and 48 kHz.

Le 26/08/2011 22:59, Almohanad Fayez a écrit :
  Are you able to hear something at least with some skipping or you can't hear anything?  Are the aU's outputed to the screen very fast or are they a few at a time?  It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization.  For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it.

  I'll download your script and run it on my E100 but I might not get around that till early next week ...

  al



  -----Original Message-----
  From: Christophe ALEXANDRE<christophe.alexandre@cnam.fr>
  To: Almohanad Fayez<alfayez@aol.com>
  Cc: usrp-users<usrp-users@lists.ettus.com>
  Sent: Fri, Aug 26, 2011 3:06 pm
  Subject: Re: [USRP-users] E100 : 32 kHz audio problem


  in /usr/share/alsa/alsa.conf
  i have changed the line :

      defaults.pcm.dmix.rate 48000

  to 32000 with no success. this has no effect
  on my gnuradio script (even after reboot). Same output.

  Le 26/08/2011 18:41, Almohanad Fayez a écrit :


    aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is.  In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go.

    this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution.

    al





    -----Original Message-----
    From: christophe.alexandre<christophe.alexandre@cnam.fr>
    To: Almohanad Fayez<alfayez@aol.com>
    Cc: usrp-users<usrp-users@lists.ettus.com>
    Sent: Fri, Aug 26, 2011 4:13 am
    Subject: Re: [USRP-users] E100 : 32 kHz audio problem

I tried both, same result. This is the

Terminal output using 32 kHz audio sample rate :

root@usrp-e1xx:~/grc# ./essai_audio.py

Press Enter to quit:

aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

Regards

C.Alexandre

I found that using "default" as the playback device and "hw:0,0" as the

capture device work best on the omap3530 processor with gnuradio.

al

-----Original Message-----

From: ALEXANDRE Christophechristophe.alexandre@cnam.fr

Sent: Thu, Aug 25, 2011 3:49 pm

Subject: [USRP-users] E100 : 32 kHz audio problem

Hi list,

i'm still digging in my E100 and trying to

implement an FM receiver. I can make it work,

but i realize there is still an audio problem.

i can't use 32 kHz audio rate (nor 22050). The E100 supports it,

but it only outputs noise.

i send you essai_audio.py to check it. The ouput

shows underflows which is enough strange.

i can only use 16 k, 44.1 k and 48 k.

As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because

you can divide master clock by 2000 to get it.

So my FM receiver uses a 16 KHz audio rate. It works, but

i loose part of the spectrum.

any ideas are welcome !!!

Regards.

Christophe ALEXANDRE

Conservatoire National des Arts et Métiers (CNAM)

Laboratoire CEDRIC-LAETITIA

Département EASY

Accès 17-1-32, Case 2D2P10

292 rue Saint Martin

75141 PARIS CEDEX 03

FRANCE

tel. 0140272699

fax. 0140272994


USRP-users mailing list

On 09/08/2011 04:48 PM, ALEXANDRE Christophe wrote: > yes, the device supports it, but it doesn't work. > i think it's a driver problem but i'm not sure > it deserves further investigation. > tweaking angstrom can be very time consuming. > > i can live without 32 kHz, using the rational resampler > and 48 kHz. I'll make a bug on the internal Ettus bugtracker to remind me to check 32 khz. Another option is to set the fpga clock to 48 MHz. Then you can use the 48 Khz audio rate without resampling. Philip > > > regards. > > > Christophe ALEXANDRE > Conservatoire National des Arts et Métiers (CNAM) > Laboratoire CEDRIC-LAETITIA > Département EASY > Accès 17-1-32, Case 2D2P10 > 292 rue Saint Martin > 75141 PARIS CEDEX 03 > FRANCE > email : christophe.alexandre@cnam.fr > tel. 0140272699 > fax. 0140272994 > > > ----- Original Message ----- > From: Almohanad Fayez > To: christophe.alexandre@cnam.fr ; usrp-users@lists.ettus.com > Sent: Thursday, September 08, 2011 10:23 PM > Subject: Re: [USRP-users] E100 : 32 kHz audio problem > > > > > sorry for the late reply, last 2 weeks have a been a perfect storm of insanity ... anyways, I tried running my E100 based FM receiver with 32kHz and you're right it doesn't work but 16kHz work. I know that 32kHz used to work in the 2.6.29 kernel and that the audio device itself supports it ... if you really want 32kHz and you're adventurous you can poke around the driver implementation and I think there's an enum type somewhere that might fix this I can dig through my old notes to find the info though I never got it to work personally I just used the standard driver for 2.6.29 and it just worked. > > > al > > > > > > -----Original Message----- > From: Christophe ALEXANDRE<christophe.alexandre@cnam.fr> > To: Almohanad Fayez<alfayez@aol.com> > Sent: Sat, Aug 27, 2011 2:11 am > Subject: Re: [USRP-users] E100 : 32 kHz audio problem > > > i hear something very noisy and the aU's output very fast. > There is nothing in my flowgraph, just a 1 kHz sinus source > plugged in an audio sink. It's just to test the E100's audio. > It playbacks correctly only at 16, 44.1 and 48 kHz. > > Le 26/08/2011 22:59, Almohanad Fayez a écrit : > Are you able to hear something at least with some skipping or you can't hear anything? Are the aU's outputed to the screen very fast or are they a few at a time? It might be that the processor is not able to keep up with your data processing in the flowgraph itself and you actually need to perform some flowgraph optimization. For example a channel filter can definitely kill your runtime performance if you're not neon or dsp optimizing it. > > I'll download your script and run it on my E100 but I might not get around that till early next week ... > > al > > > > -----Original Message----- > From: Christophe ALEXANDRE<christophe.alexandre@cnam.fr> > To: Almohanad Fayez<alfayez@aol.com> > Cc: usrp-users<usrp-users@lists.ettus.com> > Sent: Fri, Aug 26, 2011 3:06 pm > Subject: Re: [USRP-users] E100 : 32 kHz audio problem > > > in /usr/share/alsa/alsa.conf > i have changed the line : > > defaults.pcm.dmix.rate 48000 > > to 32000 with no success. this has no effect > on my gnuradio script (even after reboot). Same output. > > Le 26/08/2011 18:41, Almohanad Fayez a écrit : > > > aaaw, completely forgot about the the alsa.conf configuration ... so you're absolutely right the driver supports more sampling frequencies than it will allow you to do the only I figured out how to get around it is by changing the default frequency in your "alsa.conf" file, i forget the exact directory where it is. In the conf file look for default frequency ... it defaults to 48000 Hz change that to your desired frequency 16000Hz or 32000Hz and you should be set to go. > > this is more of a quick and dirty fix and might impact audio performance in programs other than gnuradio personally I only use audio in gnuradio so I never bothered looking up a cleaner solution. > > al > > > > > > -----Original Message----- > From: christophe.alexandre<christophe.alexandre@cnam.fr> > To: Almohanad Fayez<alfayez@aol.com> > Cc: usrp-users<usrp-users@lists.ettus.com> > Sent: Fri, Aug 26, 2011 4:13 am > Subject: Re: [USRP-users] E100 : 32 kHz audio problem > > > I tried both, same result. This is the > > > > > > Terminal output using 32 kHz audio sample rate : > > > > > > > > > > > > root@usrp-e1xx:~/grc# ./essai_audio.py > > > > > > Press Enter to quit: > > > > > > aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU > > > > > > > > > > > > Regards > > > > > > > > > > > > C.Alexandre > > > > > > > > > > > >> > > > > > >> > > > > > >> > > > > > >> I found that using "default" as the playback device and "hw:0,0" as the > > > > > >> capture device work best on the omap3530 processor with gnuradio. > > > > > >> > > > > > >> al > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> -----Original Message----- > > > > > >> From: ALEXANDRE Christophe<christophe.alexandre@cnam.fr> > > > > > >> To: usrp-users<usrp-users@lists.ettus.com> > > > > > >> Sent: Thu, Aug 25, 2011 3:49 pm > > > > > >> Subject: [USRP-users] E100 : 32 kHz audio problem > > > > > >> > > > > > >> > > > > > >> Hi list, > > > > > >> > > > > > >> > > > > > >> > > > > > >> i'm still digging in my E100 and trying to > > > > > >> > > > > > >> implement an FM receiver. I can make it work, > > > > > >> > > > > > >> but i realize there is still an audio problem. > > > > > >> > > > > > >> i can't use 32 kHz audio rate (nor 22050). The E100 supports it, > > > > > >> > > > > > >> but it only outputs noise. > > > > > >> > > > > > >> > > > > > >> > > > > > >> i send you essai_audio.py to check it. The ouput > > > > > >> > > > > > >> shows underflows which is enough strange. > > > > > >> > > > > > >> > > > > > >> > > > > > >> i can only use 16 k, 44.1 k and 48 k. > > > > > >> > > > > > >> > > > > > >> > > > > > >> As the E100 uses an 64 MHz clock, the 32 kHz is very usefull because > > > > > >> > > > > > >> you can divide master clock by 2000 to get it. > > > > > >> > > > > > >> > > > > > >> > > > > > >> So my FM receiver uses a 16 KHz audio rate. It works, but > > > > > >> > > > > > >> i loose part of the spectrum. > > > > > >> > > > > > >> > > > > > >> > > > > > >> any ideas are welcome !!! > > > > > >> > > > > > >> > > > > > >> > > > > > >> Regards. > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> Christophe ALEXANDRE > > > > > >> > > > > > >> Conservatoire National des Arts et Métiers (CNAM) > > > > > >> > > > > > >> Laboratoire CEDRIC-LAETITIA > > > > > >> > > > > > >> Département EASY > > > > > >> > > > > > >> Accès 17-1-32, Case 2D2P10 > > > > > >> > > > > > >> 292 rue Saint Martin > > > > > >> > > > > > >> 75141 PARIS CEDEX 03 > > > > > >> > > > > > >> FRANCE > > > > > >> > > > > > >> email : christophe.alexandre@cnam.fr > > > > > >> > > > > > >> tel. 0140272699 > > > > > >> > > > > > >> fax. 0140272994 > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >>> > > > > > >> > > > > > >> > > > > > >> > > > > > >> _______________________________________________ > > > > > >> > > > > > >> USRP-users mailing list > > > > > >> > > > > > >> USRP-users@lists.ettus.com > > > > > >> > > > > > >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com