Shop OBEX P1 Docs P2 Docs Learn Events
Normal Songs and sounds bs2 — Parallax Forums

Normal Songs and sounds bs2

imBobertRobertimBobertRobert Posts: 2
edited 2011-06-22 10:36 in BASIC Stamp
is there any code that i can use to send normal music (including voice) to a speaker. i dont mean a piezo speaker, either. :zombie:

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-06-21 19:25
    I stashed these away (attached)

    Including voice? Nice trick.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-06-22 09:42
    Look at the Basic Stamp Syntax and Reference Manual or the Stamp Editor's help files in the section on the FREQOUT statement. Note that the Stamp won't produce much volume with a conventional speaker. The FREQOUT statement will produce simple tones and can produce simple monotonic music, but not complex sounds (including voice). With the limited speed and storage available, there's just no way to make "normal music" or voice without using specialized external hardware like an MP3 player chip.

    A Propeller can play .WAV files with any sound content and can also synthesize voices.
  • imBobertRobertimBobertRobert Posts: 2
    edited 2011-06-22 10:36
    thanks. ill look into the propeller, but its good to know that i can stop searching for something that doesnt exist.
Sign In or Register to comment.