<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: libmaple - MIDI USB</title>
		<link>http://forums.leaflabs.com/topic.php?id=10461</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=10461" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=3#post-28639</link>
			<pubDate>Fri, 30 Aug 2013 22:50:31 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28639@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer, the best docs is the usb doc.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.usb.org/developers/devclass_docs/midi10.pdf&#34; rel=&#34;nofollow&#34;&#62;http://www.usb.org/developers/devclass_docs/midi10.pdf&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2 and three are well covered above.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=3#post-28638</link>
			<pubDate>Fri, 30 Aug 2013 19:12:09 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28638@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mlundinse:&#60;br /&#62;
 Awesome! Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=3#post-28605</link>
			<pubDate>Thu, 29 Aug 2013 08:21:32 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">28605@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;USB midi transports the same MIDI data and commands as old-serial-midi, so from an application point on the PC side there is almost no difference, its simply MIDI data.&#60;br /&#62;
The USB-midi descriptor tells the host operation system to treat the device as a midiport and makes it available for MIDI music apps automagically, this works like a charm for me on my Mac. The higher USB bandwith makes it possible to have several virtual midi cables routed through a single USB midi endpoint.&#60;/p&#62;
&#60;p&#62;On the low level, microprocessor side, its a serial connection sending 4 byte packages consisting of a USB midi header byte and three bytes of midi data.&#60;/p&#62;
&#60;p&#62;As a USB device its very similar to a virtual serial port, the most difference is in the device descriptor that tell the host how the device serial data is interpreted as a connected MIDI device. On the Maple low level side I get 4 byte packets of data, then its up to my code, or the MIDI handling object, to interpret them as MIDI data. I use Google and the USB-MIDI specification.&#60;/p&#62;
&#60;p&#62;2) Its a serial data stream, the Sysex message type can be used to send 'any' device specific information. This can include binary data to a bootloader or a command to jump into bootleader mode. &#60;/p&#62;
&#60;p&#62;3) As far as I can see a USB - midi bootloader should be about the same size as a dfu bootloader. But then you would need a special host midi application to program the chip. So I think the best is to use Sysex to send the chip to bootloader mode and then use the standard dfu firmware loaders.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28604</link>
			<pubDate>Thu, 29 Aug 2013 07:43:32 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">28604@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;feurig/mlundinse - I don't understand USB-midi, so would you please answer a few questions?&#60;/p&#62;
&#60;p&#62;1. What is a good source for information on how USB-midi differs from old-serial-midi, so that I could &#34;get up to speed&#34;?&#60;/p&#62;
&#60;p&#62;2. Is there enough flexibility in the USB-midi protocol that it would be practical to bootload an underlying STM32F over USB-midi?&#60;/p&#62;
&#60;p&#62;3. If the answer to 3 is &#34;YES&#34;, roughly how big might a USB-midi-capable-bootloader be, i.e. would it likely be comparable in size to e.g. LeafLabs Maple bootloader?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28597</link>
			<pubDate>Thu, 29 Aug 2013 02:45:43 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">28597@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok&#60;/p&#62;
&#60;p&#62;I merged the latest commits from leaflabs/master into my repo and then&#60;br /&#62;
pushed the result to github.&#60;/p&#62;
&#60;p&#62;/Magnus
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28594</link>
			<pubDate>Wed, 28 Aug 2013 19:48:15 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28594@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Any chance of getting the updated usb_midi_device.c so we are working off of the same page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28591</link>
			<pubDate>Wed, 28 Aug 2013 16:25:22 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">28591@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;not yet, its all a bit of a mess with different branches for different experiments, the midistuff one of them.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28590</link>
			<pubDate>Wed, 28 Aug 2013 14:44:18 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28590@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mlundinse: I am not seeing the new code did you push it?&#60;/p&#62;
&#60;p&#62;&#34;I did implement your midipacket (32bit) changes in my code&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28561</link>
			<pubDate>Mon, 26 Aug 2013 16:53:34 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28561@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am going to refork ventosus's f303 based work and remerge and flesh it out a little further. I will repost when it is working. &#60;/p&#62;
&#60;p&#62;By winter I think we should be able to have something workable with both the library and the ide. &#60;/p&#62;
&#60;p&#62;Cheers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28500</link>
			<pubDate>Sat, 17 Aug 2013 03:51:06 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">28500@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I havnt touched this code in a couple of months, I did implement your midipacket (32bit) changes in my code, removing all the serial char stuff, but not the SysEx stuff yet.&#60;/p&#62;
&#60;p&#62;This code works well for my needs, sending MIDI packages from my OpenPipe to my PC synth.&#60;/p&#62;
&#60;p&#62;The build setup is still using a mess of local hacks to the IDE together with some libmaple mods, cleaning this up for public use is low on my priorities list. If the winter evenings becomes long, cold and boring I might have a go at it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-28428</link>
			<pubDate>Wed, 14 Aug 2013 21:52:15 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">28428@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;So I tried to merge our git code together after taking your code and making it 32 bit but the resulting cluster f**k is a pretty good example of why what is good for kernel developers is really f**king the general community. Basically it took a working code base and trashed it. &#60;/p&#62;
&#60;p&#62;Are you working any more with this or should I build on what I had before trying  my lame git foo?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-25254</link>
			<pubDate>Thu, 25 Apr 2013 00:18:56 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25254@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have a rough in for maplemidi. I will test it tomorrow and see where you are at with the libmaple stuff.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-25104</link>
			<pubDate>Mon, 22 Apr 2013 20:23:01 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25104@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I agree about the pick your what you want to put on top of the transport. As far as the Arduino Midi stuff; I am starting with the pteichman port which is based on the lgpl code. The current midi library is gpl3. Gpl3 is not only offensive to me personally (and thanks to the earlier licensing, I don't have to like it or use it) It is also incompatible with libmaple's licensing in general.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-25103</link>
			<pubDate>Mon, 22 Apr 2013 19:56:45 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25103@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Also have you made any changes to the transport? I just moved to a uint32 based implementation.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "libmaple - MIDI USB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10461&amp;page=2#post-25102</link>
			<pubDate>Mon, 22 Apr 2013 19:52:10 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">25102@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#34;Getting it into the IDE is a whole different problem and depends on any plans from leaflabs to overhaul the IDE.&#34;&#60;/p&#62;
&#60;p&#62;Yeah as has been the usual for the last 6 months which finally they have admitted is not on their table while they try to pay the bills.&#60;/p&#62;
&#60;p&#62;I suspect we will have to move that forward ourselves as well. &#60;/p&#62;
&#60;p&#62;Which is why I was kind of bummed when I couldn't get your fork to build on osx.&#60;/p&#62;
&#60;p&#62;I could not get the usb to work without disabling the usbserial in the startup code.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
