Hmm, maybe I've misunderstood something somewhere along the way. Middle C is
400Hz so I was creating a sine wave that repeats 400 times across the 7200
samples that make up one second on the epuck. Is this approach wrong ? I
wouldn't've thought that middle-c qualified as particularly low, certainly
not sub-woofer territory ! :-)

ANdy

2009/9/16 Michael Bonani <michael.bon...@epfl.ch>

>  Hi,
>
>
>
> I have not the ideal solution but my first impression is that the sound is
> saturating; your sinus becomes a scare wave and so buzz. Try to reduce the
> amplitude of your sinus.
>
> There is than an analogue amplifier that wills amplify your sinus. (If I
> remember it is 4.7 time).
>
>
>
> Also the speaker size of the e-puck is more usable for high frequency, it
> is not a subwoofer.
>
>
>
> Regards
>
>
>
> Bonani Michael
>
>
>
>
> ------------------------------------------------------------------------------------------
>
> Tél :  + 41 21 693 78 69
>
> Fax : + 41 21 693 78 07
>
> E-mail : michael.bon...@epfl.ch
>
> Adress:
>
> EPFL-STI-IPR-LSRO1
>
> MEB 3 30
>
> Station 9
>
> 1015 Lausanne
>
>
>
> *From:* e-puck-user-boun...@gna.org [mailto:e-puck-user-boun...@gna.org] *On
> Behalf Of *Andy Guest
> *Sent:* Wednesday, September 16, 2009 1:02 PM
> *To:* e-puck-user@gna.org
> *Subject:* [E-puck-user] Epuck Sound Generation
>
>
>
> Hey folks,
>
>
>   I'm trying to get my epucks to make sounds. I think I've got everything
> set up right except the e_const_sound.s file. I'm trying to get the pucks to
> generate a clear tone and what I get is, well raspy is the best word I can
> think of. It sounds more like a buzz than a clear tone.
>
>   I'm trying to populate the e_const_sound.s file by generating a set of
> 7200 values based on a sine wave (to give a one second sound). I am trying
> to use a sine wave of frequency 400Hz across those values, converting them
> to q15 format. I get the raspy/buzz sound. If I increase the frequency the
> sound does get clearer but by the time its clear it is also painfully high
> pitched.
>
>   So I guess I've a few questions. Is the buzz the best I can hope for at
> low frequencies ? If not then am I on the right track with the sine wave ?
> Or Am I completely wrong ?
>
> Thanks
>
> Andy
>
> _______________________________________________
> E-puck-user mailing list
> E-puck-user@gna.org
> https://mail.gna.org/listinfo/e-puck-user
>
>
_______________________________________________
E-puck-user mailing list
E-puck-user@gna.org
https://mail.gna.org/listinfo/e-puck-user

Reply via email to