Making Music Still........


Closed Thread
Results 1 to 2 of 2
  1. #1

    Default Making Music Still........

    Hi Everyone,

    I'm still busy making music with a PIC16F873a. The sound en FREQOUT commands are simple to use, but not the kind of sound I'm looking for.

    So I tried what Bert did on http://members.home.nl/b.vandam/lonely/pagina47.html , but he writes his programs in a differend language (JAL ??) He lets a Cricket sound playing with a random time interval. So I was thinking.... If my melody is to long to fit in the PIC's memory, I will store 1 note and play that note back faster and slower, so it sounds higher and lower witch results in a beautiful melody.

    But I have problems merging the file I produced with the 1 bit converter from Roman Black with my program. And I don't know how to access the bytes.

    I tried @ include "bhrams.asm" and I can see that My picstart plus is writing longer than without this include command. So I assume that the file is in the PIC. But where can I find it? and how must I acces it?

    I will attach the "bhrams.asm"(you have to rename it). It's noting more than a " dung " for 0.6 seconds. Can anyone tell me how I can find the bits? And if anyone can help me with some code to play it that would be very helpfull....

    Greetings Mathy
    Attached Files Attached Files

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mathy Knaapen View Post
    If my melody is to long to fit in the PIC's memory, I will store 1 note and play that note back faster and slower, so it sounds higher and lower witch results in a beautiful melody.
    I can tell you this much...
    A 'cricket sound' using 1-bit sound and an R/C filter on the output pin will sound halfway decent...
    A melody made with 1-bit sound will be anything but a 'beautiful melody'. It'll sound just like the FREQOUT and SOUND; just like R2D2, distorted square-waves, artificial, 'futuristic', etc.

    And that 'JAL' program...with a bit of work, that doesn't look like it would be too hard to convert over to PBP...
    So let's see your program...

Similar Threads

  1. comp music with pic Sounds - Aka BeepMaster
    By flipper_md in forum Code Examples
    Replies: 18
    Last Post: - 20th September 2010, 06:04
  2. Can I make midi music with a PIC16F873a
    By Mathy Knaapen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2007, 21:23
  3. Play Music (MP3, WAV,...) for greeting card
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th January 2007, 15:14
  4. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  5. PCB Making
    By shawn in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 1st December 2005, 02:04

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