<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Arduinoboy Multi Program]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/24609/"/>
	<updated>2020-01-21T00:10:30Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/24609/arduinoboy-multi-program/</id>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263028/#p263028"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jefftheworld wrote:</cite><blockquote><div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>...I would be mostly unsure of how I would make the midi code communicate with the arduinoboy code directly since the midi controller code would be designed to output midi and the arduinoboy would be designed to be listening for input midi, and I&#039;m not sure how to get them to talk together within the same code, I only plan to use mGB for this project though</p></blockquote></div><p>Your Arduinoboy wouldn&#039;t be running a realtime operating system (RTOS), so it wouldn&#039;t be two programs that talk to each other through an OS but rather a single program that extends the Arduinoboy functionality to include your desired button-based inputs.</p><p>I don&#039;t think it would be on the easier side for someone who has not programmed embedded systems.</p></blockquote></div><p>Oh alright, I see what your saying, thanks for the input!</p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-21T00:10:30Z</updated>
			<id>https://chipmusic.org/forums/post/263028/#p263028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263027/#p263027"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>...I would be mostly unsure of how I would make the midi code communicate with the arduinoboy code directly since the midi controller code would be designed to output midi and the arduinoboy would be designed to be listening for input midi, and I&#039;m not sure how to get them to talk together within the same code, I only plan to use mGB for this project though</p></blockquote></div><p>Your Arduinoboy wouldn&#039;t be running a realtime operating system (RTOS), so it wouldn&#039;t be two programs that talk to each other through an OS but rather a single program that extends the Arduinoboy functionality to include your desired button-based inputs.</p><p>I don&#039;t think it would be on the easier side for someone who has not programmed embedded systems.</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2020-01-20T23:51:10Z</updated>
			<id>https://chipmusic.org/forums/post/263027/#p263027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263024/#p263024"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Duck wrote:</cite><blockquote><p>also, if you need more buttons than you have pins, it&#039;s super easy to use multiplexer chips to have one pin read loads of signals.</p><p>Teensy is a bit more set up to use MIDI off the bat, and there&#039;s a really simple guide to using multiplexer chips halfway down this page:</p><p><a href="https://www.pjrc.com/teensy/td_midi.html" target="_blank">https://www.pjrc.com/teensy/td_midi.html</a></p><p>the controller I shared above is running all those buttons/sliders and faders from one Teensy (and a lot of multiplexers)</p></blockquote></div><p>Thank you! I will definitely check all of that out <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-20T12:49:57Z</updated>
			<id>https://chipmusic.org/forums/post/263024/#p263024</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263023/#p263023"/>
			<content type="html"><![CDATA[<p>also, if you need more buttons than you have pins, it&#039;s super easy to use multiplexer chips to have one pin read loads of signals.</p><p>Teensy is a bit more set up to use MIDI off the bat, and there&#039;s a really simple guide to using multiplexer chips halfway down this page:</p><p><a href="https://www.pjrc.com/teensy/td_midi.html" target="_blank">https://www.pjrc.com/teensy/td_midi.html</a></p><p>the controller I shared above is running all those buttons/sliders and faders from one Teensy (and a lot of multiplexers)</p>]]></content>
			<author>
				<name><![CDATA[Duck]]></name>
				<uri>https://chipmusic.org/Duck</uri>
			</author>
			<updated>2020-01-20T10:49:14Z</updated>
			<id>https://chipmusic.org/forums/post/263023/#p263023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263022/#p263022"/>
			<content type="html"><![CDATA[<p>if you decide to use teensy to make the Midi controller, I found this guys MIDI controller libraries super useful:</p><p>this one works now;</p><p><a href="https://github.com/tttapa/MIDI_controller" target="_blank">https://github.com/tttapa/MIDI_controller</a></p><p>this one&#039;s being developed but does more stuff:</p><p><a href="https://github.com/tttapa/Control-Surface" target="_blank">https://github.com/tttapa/Control-Surface</a></p><p>Obviously it&#039;s good to learn a bit of the code that&#039;s going on underneath, but these saved a LOT of coding from scratch when I was building this controller:</p><p><a href="https://www.instagram.com/p/BySJNnbHybz/" target="_blank">https://www.instagram.com/p/BySJNnbHybz/</a></p><p>(I think I agree there&#039;s not MUCH point building the arduinoboy and controller in the same box unless that&#039;s all you want to use the controller for ever for absolutely 100% certain. Possibly more complicated to hack up the arduinoboy code than it is to code a controller from scratch to talk to an arduinoboy you already know works, and it&#039;s not like an extra&nbsp; teensy is very expensive)</p>]]></content>
			<author>
				<name><![CDATA[Duck]]></name>
				<uri>https://chipmusic.org/Duck</uri>
			</author>
			<updated>2020-01-20T10:46:57Z</updated>
			<id>https://chipmusic.org/forums/post/263022/#p263022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263021/#p263021"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Orgia Mode wrote:</cite><blockquote><p>yes</p></blockquote></div><p>Perfect, thank you! I ordered some new wires for it and I&#039;m gonna start on it tomorrow, I&#039;ll post here afterwords for anyone interested.</p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-20T03:59:33Z</updated>
			<id>https://chipmusic.org/forums/post/263021/#p263021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263020/#p263020"/>
			<content type="html"><![CDATA[<p>yes</p>]]></content>
			<author>
				<name><![CDATA[Orgia Mode]]></name>
				<uri>https://chipmusic.org/Orgia+Mode</uri>
			</author>
			<updated>2020-01-20T01:31:59Z</updated>
			<id>https://chipmusic.org/forums/post/263020/#p263020</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263018/#p263018"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Orgia Mode wrote:</cite><blockquote><p>Excellent. Here is a list of CC values for mgb if you want to get started adding them to the N&amp;V code:<br /><a href="https://github.com/trash80/mGB" target="_blank">https://github.com/trash80/mGB</a></p></blockquote></div><p>Thank you! I have one last question, I know the N&amp;V says uno, but I have a nano laying around, is it possible that I can use that instead? I thought I heard they use the same chip.</p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-20T01:06:50Z</updated>
			<id>https://chipmusic.org/forums/post/263018/#p263018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263017/#p263017"/>
			<content type="html"><![CDATA[<p>Excellent. Here is a list of CC values for mgb if you want to get started adding them to the N&amp;V code:<br /><a href="https://github.com/trash80/mGB" target="_blank">https://github.com/trash80/mGB</a></p>]]></content>
			<author>
				<name><![CDATA[Orgia Mode]]></name>
				<uri>https://chipmusic.org/Orgia+Mode</uri>
			</author>
			<updated>2020-01-19T23:57:33Z</updated>
			<id>https://chipmusic.org/forums/post/263017/#p263017</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263016/#p263016"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Orgia Mode wrote:</cite><blockquote><p>Ok, since that one has DIN MIDI, I suggest making a separate midi controller with a secondary Arduino. You can make it far more interesting than just 8 keys. In fact, you can break out every mGB cc control to a knob as well as your keys. AND you can use an example code to start with! All you do is fill in the blanks. Besides, isn&#039;t an octave 12 keys...? I think the currently available TeensyBoyPro only has 8 extra GPIO and man, 8 keys would be so boring. </p><p>Watch part 1 and 2, then get back with us if you like the idea.<br /><a href="https://www.youtube.com/watch?v=DXhxdsGREsU" target="_blank">https://www.youtube.com/watch?v=DXhxdsGREsU</a></p></blockquote></div><p>Notes and Volts! He&#039;s great, that&#039;s the exact guide I was going to use for my project! I found out about them thanks to look mum no computer, also you are correct, I was not thinking about the sharps/flats. So I&#039;ll just go with the double idea then, thanks for the help! I think I&#039;ll order an uno tonight and try to start getting everything going <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-19T21:21:28Z</updated>
			<id>https://chipmusic.org/forums/post/263016/#p263016</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263015/#p263015"/>
			<content type="html"><![CDATA[<p>Ok, since that one has DIN MIDI, I suggest making a separate midi controller with a secondary Arduino. You can make it far more interesting than just 8 keys. In fact, you can break out every mGB cc control to a knob as well as your keys. AND you can use an example code to start with! All you do is fill in the blanks. Besides, isn&#039;t an octave 12 keys...? I think the currently available TeensyBoyPro only has 8 extra GPIO and man, 8 keys would be so boring. </p><p>Watch part 1 and 2, then get back with us if you like the idea.<br /><a href="https://www.youtube.com/watch?v=DXhxdsGREsU" target="_blank">https://www.youtube.com/watch?v=DXhxdsGREsU</a></p>]]></content>
			<author>
				<name><![CDATA[Orgia Mode]]></name>
				<uri>https://chipmusic.org/Orgia+Mode</uri>
			</author>
			<updated>2020-01-19T21:06:12Z</updated>
			<id>https://chipmusic.org/forums/post/263015/#p263015</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263014/#p263014"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jefftheworld wrote:</cite><blockquote><div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>Is it more trouble than its worth? (especially for someone who knows nothing about programming)</p></blockquote></div><p>If you know nothing about programming then this project is definitely well out of your grasp for now. Arduinos make great platforms for learning electronics and software engineering but this project would require a lot of time invested in building up those skills before you could even begin to tackle this particular project.</p></blockquote></div><p>Yeah, I figured its probably on the easier side of things but still requires a decent amount of startup knowledge, I would be mostly unsure of how I would make the midi code communicate with the arduinoboy code directly since the midi controller code would be designed to output midi and the arduinoboy would be designed to be listening for input midi, and I&#039;m not sure how to get them to talk together within the same code, I only plan to use mGB for this project though</p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-19T18:43:26Z</updated>
			<id>https://chipmusic.org/forums/post/263014/#p263014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263013/#p263013"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Orgia Mode wrote:</cite><blockquote><p>Well, given an Arduinoboy made with an Atmega168 has 9 remaining GPIO, it would be feasible to add 8 buttons. <br />To add these into code though, we&#039;ll need to know exactly what you want to do with them and which mode you&#039;ll be using on the arduinoboy.</p><p>EDIT: Also, what arduinoyboy will you be soldering these buttons to? I only assumed it was running on an Atmega168.</p></blockquote></div><p>I&#039;m currently using the teensyboy pro from catskull, I&#039;d likely try to make my own arduinoboy for this though using another teensy, unless you think it&#039;s worth it/easier to use an uno maybe.&nbsp; My biggest thing stopping me from making my own is that I have a hard time fully understanding what to wire to what to make one and I haven&#039;t found a super intuitive wiring guide, I do have the real estate for a bigger Arduino.&nbsp; I&#039;m just making a one octave piano for starters, thus the 8 buttons.</p>]]></content>
			<author>
				<name><![CDATA[soulgun16]]></name>
				<uri>https://chipmusic.org/soulgun16</uri>
			</author>
			<updated>2020-01-19T18:35:08Z</updated>
			<id>https://chipmusic.org/forums/post/263013/#p263013</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263011/#p263011"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>...essentially how feasible is it to connect my 8 or so buttons I was going to use as a midi controller to the existing arduinoboy and combine the programs into one?</p></blockquote></div><p>I&#039;m confident that this would be totally possible. Obviously, it depends a bit on the complexity of the functionality you want to add, but you could do a whole lot even within the limitations of a pretty basic atmel microcontroller.</p><div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>Would they clash too much or use the same ports making it impossible?</p></blockquote></div><p>Most atmel chips, and therefore most Arduinos and Arduinoboys, have plenty of spare digital pins available for use as inputs and outputs.</p><div class="quotebox"><cite>soulgun16 wrote:</cite><blockquote><p>Is it more trouble than its worth? (especially for someone who knows nothing about programming)</p></blockquote></div><p>If you know nothing about programming then this project is definitely well out of your grasp for now. Arduinos make great platforms for learning electronics and software engineering but this project would require a lot of time invested in building up those skills before you could even begin to tackle this particular project.</p><p>Whether it&#039;s worth your time or not, that&#039;s a different question. If you already want to learn these skills then I don&#039;t think it would be a bad idea spending a year or so working towards those goals. I think that with hard work it would be possible for someone, depending on their aptitude, to learn the necessary skills in even as little as a few months if they worked at it.</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2020-01-19T13:25:58Z</updated>
			<id>https://chipmusic.org/forums/post/263011/#p263011</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy Multi Program]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/263010/#p263010"/>
			<content type="html"><![CDATA[<p>Well, given an Arduinoboy made with an Atmega168 has 9 remaining GPIO, it would be feasible to add 8 buttons. <br />To add these into code though, we&#039;ll need to know exactly what you want to do with them and which mode you&#039;ll be using on the arduinoboy.</p><p>EDIT: Also, what arduinoyboy will you be soldering these buttons to? I only assumed it was running on an Atmega168.</p>]]></content>
			<author>
				<name><![CDATA[Orgia Mode]]></name>
				<uri>https://chipmusic.org/Orgia+Mode</uri>
			</author>
			<updated>2020-01-19T06:18:35Z</updated>
			<id>https://chipmusic.org/forums/post/263010/#p263010</id>
		</entry>
</feed>
