Decaying sounds synthesis with PWM


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: Decaying sounds synthesis with PWM

    Quote Originally Posted by amaze1 View Post
    Hello everyone

    I know such sound are basically tones with exponentially decaying envelope and wondering if their spectrums can be somewhat emulated with appropriate modulation of frequency and/or duty cycle of a PWM output (say the PIC PWM module) without using an external Programmable Gain Amplifier for the envelope.
    Constructing bell-esque sounds using synths normally involves several sine waves and complicated algorithms (eg think Yamaha DX7) ...I'd hazard a guess & say that reading/playing a sample would be the best way to achieve what you want (ie no recourse to external envelope shaping hw)

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    971


    Did you find this post helpful? Yes | No

    Default Re: Decaying sounds synthesis with PWM

    I guess you can do this. I can hazard a way to do it. Use the Timer/CCP module to generate the frequency/ies you need. Another output is used as envelope control which snubs the output. So, you have frequency and amplitude modulation in effect. Never tried it, so, don't hold me to this. Just an idea that can work

  3. #3
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Decaying sounds synthesis with PWM

    Some different ways to do sound here: http://www.picbasic.co.uk/forum/showthread.php?t=8113
    Last edited by ScaleRobotics; - 6th August 2011 at 18:30.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts