Shop OBEX P1 Docs P2 Docs Learn Events
Audio circuits — Parallax Forums

Audio circuits

David BetzDavid Betz Posts: 14,516
edited 2012-10-30 02:33 in Propeller 1
I know this has been discussed here at least once before but I want to build an audio device using SIDcog and I'm wondering what good choices are for the filter components on the audio output pins? I know there was some discussion about whether the C3 audio output filter was designed correctly for decent audio. What are the recommended values for the filter components for line level audio output?

Thanks,
David

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-08-06 19:44
    It all depends on what frequency response you want to achieve. Here's a link to an online Sallen and Key audio filter design tool:

    -Phil
  • average joeaverage joe Posts: 795
    edited 2012-08-06 19:47
    Hi David,

    I use a 1k resistor and .01uf cap. Ceramic caps work fine. I also recommend a 1uf in addition to parallax's stock filter. See the bottom middle of the touchburger schematic for example.

    *edit*
    Only because I didn't look for the schematic!
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-08-06 19:48
    I'm using 1k, 0.01uF lowpass and then a 1uF polyester blocking capacitor. 15khz cutoff if I recall correctly. Can drive headphones directly and sounds pretty good to me.

    addit - averagejoe beat me by 1 minute!
  • David BetzDavid Betz Posts: 14,516
    edited 2012-08-06 19:50
    Thanks everyone!
  • David BetzDavid Betz Posts: 14,516
    edited 2012-08-06 19:56
    Hi David,

    I use a 1k resistor and .01uf cap. Ceramic caps work fine. I also recommend a 1uf in addition to parallax's stock filter. See the bottom middle of the touchburger schematic for example.

    *edit*
    Only because I didn't look for the schematic!
    Thanks again. I found it myself in your thread. Are these boards available yet?
  • average joeaverage joe Posts: 795
    edited 2012-08-06 20:02
    Yep! I've tested mine and can give it 2 thumbs up! I have 2 extras in my possession, and most parts for 2 more. There will be a second version without debugging leds and an expansion port. I'm holding off sending the "pre-sold" kit for the expansion. Doc will have them soon I'm sure!
  • David BetzDavid Betz Posts: 14,516
    edited 2012-08-06 20:08
    Yep! I've tested mine and can give it 2 thumbs up! I have 2 extras in my possession, and most parts for 2 more. There will be a second version without debugging leds and an expansion port. I'm holding off sending the "pre-sold" kit for the expansion. Doc will have them soon I'm sure!
    Cool! It sounds like a nice board.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-08-06 21:30
    Yes getting 30 boards made at the moment. Minor change from the one averagejoe has - now that it is working we removed the 10 diagnostic leds and replaced this with a 34 way expansion header. I think averagejoe is planning on doing some kits.
  • zappmanzappman Posts: 418
    edited 2012-10-26 16:08
    Dr_Acula wrote: »
    I'm using 1k, 0.01uF lowpass and then a 1uF polyester blocking capacitor. 15khz cutoff if I recall correctly. Can drive headphones directly and sounds pretty good to me.

    addit - averagejoe beat me by 1 minute!

    I am using the 1K, 0.01uF lowpass and a 1uF Electrolytic blocking capacitor (+ hooked to lowpass filter, - to the center conductor of my audio jack), the filter sounds great.


    Thanks,

    zappman
  • Mark_TMark_T Posts: 1,981
    edited 2012-10-26 18:20
    Your amplified speakers are likely built for an earphone drive level - ie 16 or 32 ohms. Try changing the 1k for 120 and 0.01uF for 0.1uF, and the 1uF electrolytic for 330uF - won't be that loud, but 18dB better I think.
  • ManAtWorkManAtWork Posts: 2,176
    edited 2012-10-30 02:33
    It all depends on what frequency response you want to achieve. Here's a link to an online Sallen and Key audio filter design tool:

    Hello Phil,

    I found out that sallen key filters don't work as well as expected with the prop. The reason is that the feedback capacitor conducts HF noise to the output and its bandwidth is way above what a cheap opamp can handle. A second order passive RC low pass followed by a simple non-inverting buffer works better (no feedback connected to the input = no HF bypass).
Sign In or Register to comment.