<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - MIDI channel switch on the fly]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/18378/"/>
	<updated>2016-05-10T18:58:22Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/18378/midi-channel-switch-on-the-fly/</id>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243886/#p243886"/>
			<content type="html"><![CDATA[<p>If the LEDs blink as usual, I think that the Arduinoboy works.<br />If not, something might have gone wrong when uploading the software.</p><br /><p>Regarding the bug ... <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />I can&#039;t figure out why channel switching doesn&#039;t work in PU2/WAV/NOI, but I guess channel switching in PU1 is better than nothing.<br />If anyone can spot the error please let me know.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2016-05-10T18:58:22Z</updated>
			<id>https://chipmusic.org/forums/post/243886/#p243886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243864/#p243864"/>
			<content type="html"><![CDATA[<p>I tried that, máster on lsdj, midi on lsdj, arduino in all modes. Maybe Im doing something wrong with my other midi device <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[SuperBustySamuraiMonkey]]></name>
				<uri>https://chipmusic.org/SuperBustySamuraiMonkey</uri>
			</author>
			<updated>2016-05-10T08:28:08Z</updated>
			<id>https://chipmusic.org/forums/post/243864/#p243864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243862/#p243862"/>
			<content type="html"><![CDATA[<p>It works on my end, however still only in PU1 (I was so sure I had found the bug! I&#039;ll test it before I upload next time).</p><p>Do you see the LEDs flashing like they should?</p><br /><p>Do like this (maybe you already did):</p><p>- Download code as .zip from GitHub and unzip<br />- Connect Arduinoboy to USB port on computer<br />- Open code in Arduino IDE<br />- Set correct port for your Arduinoboy<br />- Compile by clicking the (V) icon<br />- Upload to Arduinoboy by clicking the (-&gt;) icon<br />- Disconnect Arduinoboy from computer and connect it to another USB power source (may not be necessary).<br />- Set MIDI out mode on Arduinoboy<br />- Start GB, set MIDI out mode in LSDJ.<br />- Connect Arduinoboy to GB Link port.<br />- Should now work. Otherwise, try trash80&#039;s original code.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2016-05-10T06:33:02Z</updated>
			<id>https://chipmusic.org/forums/post/243862/#p243862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243841/#p243841"/>
			<content type="html"><![CDATA[<p>Now my arduino isnt working at all. While i admit i was nervous about the whole flashing the arduino part, i just downloaded the github and flashed it onto my unit. But now when i hit start, nothing happens. Im trying the change channel commands but no luck as well. </p><p>I guess this is no place fro troubleshooting but im having 0 luck</p>]]></content>
			<author>
				<name><![CDATA[SuperBustySamuraiMonkey]]></name>
				<uri>https://chipmusic.org/SuperBustySamuraiMonkey</uri>
			</author>
			<updated>2016-05-09T22:09:08Z</updated>
			<id>https://chipmusic.org/forums/post/243841/#p243841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243837/#p243837"/>
			<content type="html"><![CDATA[<p>im gonna try it right now. Im not even sure I know how to use the files from github, but whatev <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[SuperBustySamuraiMonkey]]></name>
				<uri>https://chipmusic.org/SuperBustySamuraiMonkey</uri>
			</author>
			<updated>2016-05-09T20:23:45Z</updated>
			<id>https://chipmusic.org/forums/post/243837/#p243837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243836/#p243836"/>
			<content type="html"><![CDATA[<p>I have fixed a bug! Now the channel switching works in all GB channels. Previously it only worked in PU1.</p><p>If anyone tries this, let me know if you find other problems.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2016-05-09T19:29:11Z</updated>
			<id>https://chipmusic.org/forums/post/243836/#p243836</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243048/#p243048"/>
			<content type="html"><![CDATA[<p>This is awesome. Thanks!</p>]]></content>
			<author>
				<name><![CDATA[SATISFACTRON]]></name>
				<uri>https://chipmusic.org/SATISFACTRON</uri>
			</author>
			<updated>2016-04-21T05:09:42Z</updated>
			<id>https://chipmusic.org/forums/post/243048/#p243048</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243023/#p243023"/>
			<content type="html"><![CDATA[<p>Great work! I&#039;m going to cherry pick this commit into my own fork. It would be nice if we could work out who&#039;s repo will be master. It doesn&#039;t seem like trash80 wants to maintain it.</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2016-04-20T19:40:19Z</updated>
			<id>https://chipmusic.org/forums/post/243023/#p243023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MIDI channel switch on the fly]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243021/#p243021"/>
			<content type="html"><![CDATA[<p>I&#039;ve modified the Arduinoboy code to enable on-the-fly switching of MIDI out channel.<br />Use LSDJ command X6y (y=0-F =&gt; MIDI ch 1-16).</p><p>Example:</p><p>- Play command X64 in PU1 =&gt; now PU1 sends MIDI out on channel 5.<br />- X60 changes back to MIDI channel 1.<br />- The change is instant which means it is possible to use 16 different sounds on your MIDI gear (though only 4 at the same time).<br />- Go make some cool tracks!</p><p>BUG: only works in PU1. I haven&#039;t been able to find out why it doesn&#039;t work for PU2/WAV/NOI. If anyone has any ideas, please help!</p><p>Code is here, upload it to your Arduinoboy the regular way:<br /><a href="https://github.com/ledfyr/Arduinoboy" target="_blank">https://github.com/ledfyr/Arduinoboy</a></p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2016-04-20T19:15:03Z</updated>
			<id>https://chipmusic.org/forums/post/243021/#p243021</id>
		</entry>
</feed>
