Shop OBEX P1 Docs P2 Docs Learn Events
looking for spacy sounds for the propeller-chip — Parallax Forums

looking for spacy sounds for the propeller-chip

StefanL38StefanL38 Posts: 2,292
edited 2011-03-05 09:06 in Propeller 1
Hi,

This is the first time that I'm asking for working code on the forum for time reasons.
My seven year old son "costumes" as an astronaut for carneval this year and I want to implement a
prop-based circuit that produces some typical science fiction sounds. Like beaming from Star Trek
or computer beepings and "blubberings" of all kind.

I have not much time left to tweak around on sounds myself right now because my son's carneval party
is tomorrow. But I will have fun to tweak around with it as I have time again and then share the sounds
to give something back to the forum.

Does somebody have working code for this ?

SIDCog-parameter sets or stereo spatialise demos sounding spacy.

Non plus ultra would be a robot voice doing a count down 10 to 0 and a sound of a rocket lifting off
There is this sound demo saying "seven" did somebody expand this to the numbers 0 to 10?

many thanks in advance

best regards

Stefan

Comments

  • HumanoidoHumanoido Posts: 5,770
    edited 2011-03-03 05:24
    StefanL38 wrote: »
    Hi, This is the first time that I'm asking for working code on the forum for time reasons. My seven year old son "costumes" as an astronaut for carneval this year and I want to implement a prop-based circuit that produces some typical science fiction sounds... Non plus ultra would be a robot voice doing a count down 10 to 0 ... Stefan
    Hi Stefan, I wrote this propeller Spin program for you tonight. It's called talking_countdown.spin and it counts down from ten to zero in a robotic voice. It could also be programmed for some special effects but the main purpose is to countdown the numbers with a voice. It works on a Parallax Demo Board. You only need a headset or amp plugged into the earphone jack. I hope this helps get you started.
  • JonnyMacJonnyMac Posts: 9,208
    edited 2011-03-03 07:11
    Checkout SIDcog -- it may get you the most interesting sounds in the shortest length of time. If you're looking to create sounds that can be saved as WAVs and then played from an SD card, this little program is a lot of fun.

    http://www.threechords.com/hammerhead/simsynth.shtml
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-03-03 07:21
    Hi Humanoido,

    thank you so much for your samplecode!

    Sounds great. It's the right mixture between sounding "robotic" and beeing understandable.

    best regards

    Stefan
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-03-03 08:56
    Hi,

    Jon - thank you very much to pointing again on SIDCog.

    I played around a liitle bit with SIDCog and created a first sound of a starting rocket just by changing the "note"

    See attachment

    I don't know nothing about SIDCog or the SID-Chip. So if somebody can give me some advice on how to set parameters
    to get a sound of a "phaser" sounding like "pschiou" or changing overtones to vary the sound
    I would appreciate that very much.

    best regards

    Stefan
  • Andrey DemenevAndrey Demenev Posts: 377
    edited 2011-03-03 15:17
    This can be useful : R2D2 translator - translates text into R2D2-style sounds
  • TtailspinTtailspin Posts: 1,326
    edited 2011-03-03 15:34
    t.say(string("thaink yoo,verree mm&ukch~, hoomanodoa~, for dhis, tahking [ countdown ] program."))
       t.say(string("waht, ai fun way, too spend thee afternoon."))
          t.say(string("thaink yoo aigain,kaend sir."))
    

    StefanL38, You could try playing around with this line for Humanoido's talking countdown program..
    t.say(string("%6///elelelelelelelelelel///elelelelelelelelelel///elelelelelelelelelel."))
    
    didn't take very long to find this warble-ing laser siren, just play with the tempo, and You get all kinds of sounds..
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-03-03 20:18
    You may find code from this project useful. I got all kinds of interesting and strange sounds from SIDcog. You can test them with the Synth, make a note of what you've found, then yank out the code you need to generate them.

    http://www.gadgetgangster.com/tutorials/388

    OBC
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-03-04 00:57
    Ttailspin, that's cool! and you're welcome!
    Try this one on for size..
    http://forums.parallax.com/showthread.php?130060-Propeller-Automaton-Machine-Song
  • TtailspinTtailspin Posts: 1,326
    edited 2011-03-04 07:11
    The last line of the "Machine song" put ALL my dogs to full point...:lol:
  • Ahle2Ahle2 Posts: 1,179
    edited 2011-03-04 08:39
    I'm sorry I'm late :(
    Here is something I hacked together in half an hour.
    PUB Main                     
                                 
      initSid                    
                                 
      repeat                     
        handleBackgroundNoise    
                                 
        bleepOn := true          
                                 
        ifnot frame&63           
          playBeep(9000, 8)      
                                 
        ifnot (frame+32)&63      
          playExplosion(800)     
    

    Just call:
    playBeep(Uint16 frequency, Uint4 lasting time)
    playExplosion(Uint16 frequenc)
    ...for sound fx

    Enable background noises by setting bleepOn := true
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-03-05 08:56
    Ahle2, that's a remarkable sound! Have you made others?
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-03-05 09:06
    Ttailspin wrote: »
    The last line of the "Machine song" put ALL my dogs to full point...:lol:
    I forgot about the dogs! You can back off on some of the repeats on the last sound code line to eliminate the high pitch surprise.. I noticed the sound range of the Propeller chip can go beyond that of a human including the low range.
Sign In or Register to comment.