Can I make midi music with a PIC16F873a


Results 1 to 14 of 14

Threaded View

  1. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mathy Knaapen View Post
    There must be a way to play music with a PIC. It's just a matter of programming, right?
    Mathy
    MIDI programming with a PIC, sure...
    MIDI-like generation with a PIC only, without an external MIDI-source?
    Not without a good, relatively high speed A/D converter, and enough memory in the PIC, or attached to it, to send out to the A/D converter at a decent sampling rate to sound like decent music.
    The key here is being able to transfer in/out of the external memory and shoot the data out to the A/D converter.

    My advice...
    Break it down to the lowest level you can possibly break it down to. Sure, you can light some LEDs, can you do any PWM with them? Can you create a variable duty cycle, variable frequency output on a pin? Can you make and use an interrupt driven program (something you'll need to send out audio at a specific sample rate).

    Yes, (and this is the way I'd do it) you can record MP3 data to a file on a flash card and funnel that data thru a PIC out to a STA013 or VS1001k. But, I get the feeling that accessing flash cards and I2C control of a STA013 is a bit above your knowledge at the moment.

    And there aren't any Melody Generator's here in North Dakota either, but I can sure get them from here:
    http://www.maplin.co.uk/Search.aspx?...source=15&SD=Y
    and that's across 2,500 miles of land and Xx,xxx miles of ocean.
    Last edited by skimask; - 17th May 2007 at 21:30.

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