Sample code for USB - MIDI


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    Don't seem to be able to edit my previous - should read "perhaps with a similar descriptor format?"
    George

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    Since you're looking for plain communication with the PC via USB, I can suggest you look up the USB CDC descriptor. This will turn your PIC into a USB comm port visible to your PC. You then just communicate with that comm port.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    I see you're a subermod but I don't see how running a USB capable PIC device as CDC help the op problem.
    George

  4. #4
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    Quote Originally Posted by towlerg View Post
    I see you're a subermod but I don't see how running a USB capable PIC device as CDC help the op problem.
    You probably didn't see this in the OM. Moreover, I wonder what being supermod got to do with helping someone

    In principle, I am mostly interested in communication FROM the PC TO the 18F4550.
    It is driving me crazy... Tried almost everything, but I can't get it working!

  5. #5
    Join Date
    Feb 2012
    Posts
    57


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    OK, let's forget this all and use a dedicated USB to MIDI chip...

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    "You probably didn't see this in the OM." I did not. Mea culpa
    George

  7. #7
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Sample code for USB - MIDI

    Most of the USB code floating around is based on the HID class. However, if you download the current Microchip Libraries for Applications (MLA), and go to:

    mla/v2018_11_26/apps/device/audio_midi

    there are examples for numerous PIC devices. Of course, it will be written in C, and will have to be opened in MPLABX. That's about as much help as I can offer.

Similar Threads

  1. MIDI Descriptor for USB communication
    By RuudNL in forum USB
    Replies: 16
    Last Post: - 11th December 2019, 04:33
  2. MIDI over USB
    By RuudNL in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 11th November 2017, 23:33
  3. MIDI over USB peripheral
    By aberco in forum USB
    Replies: 1
    Last Post: - 31st October 2011, 16:06
  4. MIDI to USB
    By DaveC3 in forum USB
    Replies: 0
    Last Post: - 31st March 2011, 21:38
  5. USB to MIDI module
    By Coco Sapone in forum Adverts
    Replies: 0
    Last Post: - 23rd October 2010, 18:13

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