Shop OBEX P1 Docs P2 Docs Learn Events
how to generate church bell sounds using BS2 — Parallax Forums

how to generate church bell sounds using BS2

Lee SadeliLee Sadeli Posts: 29
edited 2005-03-09 14:16 in BASIC Stamp
Hi,

Any one knows how to generate church bell sounds using BS2.
Source code and circuitry, please.

Thanks

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-03-06 07:32
    the simplest means for doing so would be to use a ChipCorder and load it up with sounds from actual church bells.
  • Lee SadeliLee Sadeli Posts: 29
    edited 2005-03-06 09:19
    Yup, but extra cost. Try to save some bucks. Thanks anyway.
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-03-06 16:15
    you can try to use an electronic circuit like those described here: http://www.discovercircuits.com/D/dingdong.htm
    but they won't sound anything like a church bell. The problem is in order to achieve a realistic sounding church bell completely in oscillation circuits, you'll be approaching the cost of a chipcorder, especially if you account for man hours required to fine tune such a circuit. I am taking a stab in the dark, but I think a semi-realistic single church bell could be implemented using·4 555 blocks. Another problem is that 555's are becoming such old tech in uses other than·thier elemental building block functions, that guys who would have the know how to do this sort of "wizardry" are starting to reach retirement age, or at the very least aren't as active in the experiment's community anymore.

    Another option is to try to mimic the function of a chipcorder using a flash and a controller and a DAC, you could not use the stamp as the controller because a) its not fast enough and b) it would take all or more than the pins availible for I/O, for instance a 64Kx8 bit flash had 16 bits address, 8 bits data and 2-3 control pins. You would have to use something like the SX48/52 the ATmega series or one of the top of the line PICs. Again when you combine the cost of the individual components and the development time, it will cost more than a chipcorder.

    If your going to production in large quanities (>100 units)·with this application I can see your desire to arrive at a building block solution, but if this is a "one off" or a small production line your best bet is to go with the chipcorder www.futurelec.com has them fairly cheap (isd1110p 10 sec $4.20, isd2560p 60sec $9.95, isd4002p 2min $6.90, the first two numbers are the fidelity of the recording the higher the number the better the quality, the second number is the length <10 is in minutes >10 is in seconds).

    Sorry there's no simple and cheap solution,
    Paul
  • musictechmusictech Posts: 54
    edited 2005-03-09 06:39
    Check out John Williams article in Nuts and Volts. He has one on generating sounds for Halloween. It should be exactly what you need in order to do the project you are doing.
  • Lee SadeliLee Sadeli Posts: 29
    edited 2005-03-09 09:58
    Thanks Guys
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-03-09 14:16
    A bell sound is tricky because it has a specific ADSR (attack-decay-sustain-release) envelope and there is no way to control that using FREQOUT. That said, some users have created very interesting sound FX with FREQOUT -- download our audio amp appmod docs for some examples.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.