• AVR Freaks

USB-MIDI Project up and running

Page: < 123 Showing page 3 of 3
Author
FourDee
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2009/05/18 03:23:56
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/18 05:18:32 (permalink)
0
what exactly did you change?
#41
kajuk
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2007/10/29 04:28:45
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/18 05:52:16 (permalink)
0
ORIGINAL: FourDee

what exactly did you change?

Compared to what?
#42
FourDee
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2009/05/18 03:23:56
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/18 06:42:02 (permalink)
0
ORIGINAL: kajuk
I've updated the source code and it now works correctly for all chips when compiled with 2.4a Framework in both USB_POLLING and USB_INTERRUPT mode.
#43
kajuk
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2007/10/29 04:28:45
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/18 06:45:32 (permalink)
0
Of top of my head I don't remember what exactly. If you have a previous version you can do diff.
#44
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/18 20:00:52 (permalink)
0
I believe he is asking what is the modification for your example from stack v2.4.

  USB_Links and libusb
#45
kajuk
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2007/10/29 04:28:45
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/19 01:46:46 (permalink)
0
ORIGINAL: xiaofan

I believe he is asking what is the modification for your example from stack v2.4.

2.4a doesn't have MIDI implementation.
#46
raichea
Starting Member
  • Total Posts : 67
  • Reward points : 0
  • Joined: 2008/01/18 06:33:30
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/19 02:55:34 (permalink)
0
ORIGINAL: kajuk

ORIGINAL: xiaofan

I believe he is asking what is the modification for your example from stack v2.4.

2.4a doesn't have MIDI implementation.

<and from an earlier post: "In fact I just tested it with v2.4a Framework on other chips and it appears the problem only manifests itself with pic18f2450/2550 but it works fine with pic18f13k50/14k50,  pic24fj128gb106 and pic32mx440f512h. ">


I think the question was really asking what changes were necessary to get it to work with 2450/2550 - I'm certainly curious about that as I'm about to move a MIDI project from 1.3 to 2.4.

Steve.
#47
kajuk
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2007/10/29 04:28:45
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/19 03:07:18 (permalink)
0


I think the question was really asking what changes were necessary to get it to work with 2450/2550 - I'm certainly curious about that as I'm about to move a MIDI project from 1.3 to 2.4.

Steve.

It was just my mistake of using absolute paths to USB framework in the project so it was using a mixture of 2.3/2.4 files and I have now corrected it.
#48
raichea
Starting Member
  • Total Posts : 67
  • Reward points : 0
  • Joined: 2008/01/18 06:33:30
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/19 16:37:36 (permalink)
0
Great.. thanks for the info... glad to hear there wasn't a problem with the framework.

Steve.
#49
raichea
Starting Member
  • Total Posts : 67
  • Reward points : 0
  • Joined: 2008/01/18 06:33:30
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/29 05:06:26 (permalink)
0
ORIGINAL: raichea
I'll also be putting it up on my own site (www.grapevyne.com/pic.projects) once the April issue of the magazine is published and in print. If you dig around, you can find the source code already on the N&V site. Future enhancements will also go on my site as they occur.

The project is called mistralXG


Well it took a little longer than I thought, but the project pages (mistralXG) on my site are now available. There are a couple of bug fixes available, along with the original articles I wrote and the N&V article.

Steve.
#50
XsavioR
Super Member
  • Total Posts : 338
  • Reward points : 0
  • Joined: 2008/07/21 16:56:38
  • Location: Chicago
  • Status: offline
RE: USB-MIDI Project up and running 2009/05/29 09:58:58 (permalink)
0
Looking forward to reading this when i finish mine. Just feels like cheating if I look now. 
#51
raichea
Starting Member
  • Total Posts : 67
  • Reward points : 0
  • Joined: 2008/01/18 06:33:30
  • Location: 0
  • Status: offline
RE: USB-MIDI Project up and running 2009/06/06 06:55:09 (permalink)
0
Just in case anyone is interested, I've now finished the mechanical design and some pictures of the final product are up on my site (www.grapevyne.com/pic.projects). I plan to carry on developing the code as time allows.

Steve.
#52
veronica
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2009/12/02 09:44:02
  • Location: 0
  • Status: offline
Re: RE: USB-MIDI Project up and running 2010/08/27 19:35:46 (permalink)
0
Did anyone get a solution to the midi data from the PC works but going to the PC doesn't?

I have a project based in a PIC24FJ256GB110 and version 2.6 of the lib that exhibits this behaviour. It enumerates correctly on a Mac and Windows but under both I see traffic arriving from the host but nothing is sent.

I see the the UOWN being appropriately set but the link then remains for ever busy.

I get the impression at this stage that the PIC code is working ok, I have checked the descriptor a couple of times against know working descriptors, but I need to do something on the host but I can figure out what that should be.

Can anyone share an insight.

Thank you


#53
chinzei
Super Member
  • Total Posts : 2250
  • Reward points : 0
  • Joined: 2003/11/07 12:39:02
  • Location: Tokyo, Japan
  • Status: offline
Re: RE: USB-MIDI Project up and running 2010/08/28 16:48:05 (permalink)
0

veronica:
Did anyone get a solution to the midi data from the PC works but going to the PC doesn't?
...
but I need to do something on the host but I can figure out what that should be.

Is it the first time to connect a USB MIDI device to the PC?
Then, run a MIDI Workstation (MWS) software, and assign the board as a MIDI IN/OUT device, once. The OS sorts its registry (or preference) out for USB MIDI device. And then, the MIDI device works as expected.

Microchip provides a tutorial, "Getting Started - Running the Device - Audio MIDI demo.html" in "C:\Microchip Solutions\USB Device - Audio - MIDI" folder. In this tutorial, Garage Band (for Mac) and LMMS (for Win and Linux) are described as the examples of MWS. Follow this tutorial.

Usually, OS polls bulk IN endpoint of MIDI device just after plug in. But I have experiences that OS doesn't poll any MIDI device just after clean install, both on WinXP and MacOSX. Once the device is assigned by MWS, OS starts polling for any MIDI device.

Tsuneo
post edited by chinzei - 2010/08/28 17:05:51
#54
Page: < 123 Showing page 3 of 3
Jump to:
© 2019 APG vNext Commercial Version 4.5