Can I make midi music with a PIC16F873a


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,144


    Did you find this post helpful? Yes | No

    Default

    Hmm, I am a little confused as to what really Mathy wants to do.

    1. Control the Casio Synthesizer with a PIC to make some music, or

    2. Reproduce the music from the PIC in whole?

    The second is a big-big project as other members described above.

    The first is easy done in software only.

    Ioannis

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default One time recording or multiple

    Hi,

    If I have understood correctly then you want a custom melody to be reproduced by a standalone circuit. You would play/sequence the number on your casio keyboard.

    There is an application of a PIC playing 1bit audio available here http://members.home.nl/b.vandam/lonely/pagina47.html This may be interesting for you.

    There are OTP (One Time Programmable) Voice chip available from APLUS INC. http://www.aplusinc.com.tw I have checked their Indian website and found that a chip capable of recording about 341 seconds audio costs around $2.5 USD. They sale in low quantities too. But I have no idea if they would ship international. Beware these OTP chips may need a dedicated programmer (costs around $200 USD). Do not expect great sound quality. Because it uses a maximum of 8KHz sampling rate and uses 4bit ADPCM compression. It can also record PCM but that will reduce the playback time. These can be controlled by a PIC to playback multiple segments . I have seen one application here by charudatt who uses a PIC clock to enchant digital mantras. I am not sure if he uses one of these. But they are available in his hometown Mumbai in India. I am attaching one datasheet for your reference.

    Aplus also makes melody generators (sort of a MIDI playback engine mainly targeted as bells/ringers) . You don't get enough polyphony or rich sound due to the limited fm synthesis (May be there are some which uses a ROM table).

    There are chips from Aplus which can record/re-record audio standalone or controlled by a micro. But they are more expensive.Price is directly proportional to the maximum recording time.

    I think I have seen a post by Melanie producing tunes. Why not post your sample tune here ?! In MP3/Wave/Midi whatever.

    Please describe your application in details. May be someone from here has done before.
    Last edited by sougata; - 18th May 2007 at 08:25.
    Regards

    Sougata

  3. #3
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Ooops I forgot the attachment.

    Sorry guys. Here is the pdf datasheet. Its split into two parts by Winrar available from www.rarlabs.com . Remove the ".txt"

    I tried ".bak" but didn't work. I should have gone through the entire list which files are allowed by the vbulletin admin.

    You can also have look at the PICLIST here http://www.piclist.com/techref/microchip/io/audio.htm

    P.S. - Original author's site is working . http://www.romanblack.com/picsound.htm
    Attached Files Attached Files
    Last edited by sougata; - 18th May 2007 at 08:22.
    Regards

    Sougata

Similar Threads

  1. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  2. Midi, Interrupts and Pic better than SX28?
    By Lajko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2008, 00:26
  3. Replies: 3
    Last Post: - 10th April 2008, 10:02
  4. How come they make electronics hard as poss
    By George in forum Off Topic
    Replies: 9
    Last Post: - 13th July 2007, 23:54
  5. Play Music (MP3, WAV,...) for greeting card
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th January 2007, 15:14

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