<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Arduino MIDI Volume Pedal</title>
	<atom:link href="http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=250" rel="self" type="application/rss+xml" />
	<link>http://www.neufeld.newton.ks.us/electronics/?p=250</link>
	<description></description>
	<lastBuildDate>Sun, 08 Dec 2024 17:19:24 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: GDLive</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-26651</link>
		<dc:creator>GDLive</dc:creator>
		<pubDate>Mon, 29 Nov 2010 10:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-26651</guid>
		<description>Hi, nice work !

I&#039;m trying your example since I&#039;m not able to reproduce simplest arduino-midi out wiring (such as here :
http://itp.nyu.edu/physcomp/Labs/MIDIOutput
).Doesn&#039;t work for me, as I said here :
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290794831

Since I&#039;ve haven&#039;t PNP transistor nor 7404 Hex inverter (i&#039;m note sure to understand what it is for), I tried your second proposal with two NPN 2PN2222. 

&quot;&gt;Finally, I’m not sure why I used the wacky PNP-NPN buffer circuit instead of two NPNs with a 10K from TX to Q1’s base, emitter tied to ground, 10K from VCC to Q1’s collector and Q2’s base (acting as a pull-up), and the remainder of Q2 and the DIN connector’s configuration the same.&lt;&quot;

Result : I don&#039;t see any midi message on my soundcard !

I don&#039;t know what I could try, every suggestion would be welcome !

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, nice work !</p>
<p>I&#8217;m trying your example since I&#8217;m not able to reproduce simplest arduino-midi out wiring (such as here :<br />
<a href="http://itp.nyu.edu/physcomp/Labs/MIDIOutput" rel="nofollow">http://itp.nyu.edu/physcomp/Labs/MIDIOutput</a><br />
).Doesn&#8217;t work for me, as I said here :<br />
<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290794831" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290794831</a></p>
<p>Since I&#8217;ve haven&#8217;t PNP transistor nor 7404 Hex inverter (i&#8217;m note sure to understand what it is for), I tried your second proposal with two NPN 2PN2222. </p>
<p>&#8220;&gt;Finally, I’m not sure why I used the wacky PNP-NPN buffer circuit instead of two NPNs with a 10K from TX to Q1’s base, emitter tied to ground, 10K from VCC to Q1’s collector and Q2’s base (acting as a pull-up), and the remainder of Q2 and the DIN connector’s configuration the same.&lt;&quot;</p>
<p>Result : I don&#039;t see any midi message on my soundcard !</p>
<p>I don&#039;t know what I could try, every suggestion would be welcome !</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Misha</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-26646</link>
		<dc:creator>Misha</dc:creator>
		<pubDate>Fri, 26 Nov 2010 16:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-26646</guid>
		<description>Can you make this work with 4 pedals,  and can you run MIDI through thins unit? I have an organ project, and if it is possible, it could save hundreds of dollars!</description>
		<content:encoded><![CDATA[<p>Can you make this work with 4 pedals,  and can you run MIDI through thins unit? I have an organ project, and if it is possible, it could save hundreds of dollars!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giovanni</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-26013</link>
		<dc:creator>Giovanni</dc:creator>
		<pubDate>Sat, 14 Aug 2010 19:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-26013</guid>
		<description>Thank you for the example.
But above I read :&quot;So the code reads the potentiometer position in the range 0-4095; divides it to get it to the range 0-127; and sends:...&quot;

Only a little comment :-)
The Arduino A/D converters are 10 bit wide so the values obtained are in range of 0-1023. And thus it is right to divide by 8 to obtain a number among 0-127</description>
		<content:encoded><![CDATA[<p>Thank you for the example.<br />
But above I read :&#8221;So the code reads the potentiometer position in the range 0-4095; divides it to get it to the range 0-127; and sends:&#8230;&#8221;</p>
<p>Only a little comment <img src='http://www.neufeld.newton.ks.us/electronics/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
The Arduino A/D converters are 10 bit wide so the values obtained are in range of 0-1023. And thus it is right to divide by 8 to obtain a number among 0-127</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-24330</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 19 Jan 2010 19:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-24330</guid>
		<description>Marco,
If you want something pre-built, I don&#039;t know of anything built into a pedal, but MIDI Solutions makes the footswitch controller, which can take a footswitch input and spit out whatever MIDI Message you require. They also make the Pedal Controller, which accepts an expression pedal and can convert that to any desired message (aftertouch, pitch bend, cc, or sysex). So it&#039;s basically a closed-source version of the same concept as Keith&#039;s pedal, if you&#039;re just looking for something ready-to-use. http://midisolutions.com

--Andy, a MIDI Solutions customer, and somewhat of a friendly-competitor</description>
		<content:encoded><![CDATA[<p>Marco,<br />
If you want something pre-built, I don&#8217;t know of anything built into a pedal, but MIDI Solutions makes the footswitch controller, which can take a footswitch input and spit out whatever MIDI Message you require. They also make the Pedal Controller, which accepts an expression pedal and can convert that to any desired message (aftertouch, pitch bend, cc, or sysex). So it&#8217;s basically a closed-source version of the same concept as Keith&#8217;s pedal, if you&#8217;re just looking for something ready-to-use. <a href="http://midisolutions.com" rel="nofollow">http://midisolutions.com</a></p>
<p>&#8211;Andy, a MIDI Solutions customer, and somewhat of a friendly-competitor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-24328</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 19 Jan 2010 12:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-24328</guid>
		<description>Alo Keith,
Nice work, congratulations for sharing this information.
I´trying to find a single midi controller pedal, do you know something like this...?
like a single control pedal for keyboard but as a midi controller.

If you know something please let me know...

Thanks and kind regards
Marco Santos</description>
		<content:encoded><![CDATA[<p>Alo Keith,<br />
Nice work, congratulations for sharing this information.<br />
I´trying to find a single midi controller pedal, do you know something like this&#8230;?<br />
like a single control pedal for keyboard but as a midi controller.</p>
<p>If you know something please let me know&#8230;</p>
<p>Thanks and kind regards<br />
Marco Santos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Neufeld</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-23352</link>
		<dc:creator>Keith Neufeld</dc:creator>
		<pubDate>Fri, 26 Jun 2009 12:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-23352</guid>
		<description>Elvio, actually, see my conversation in the comments with Drew.  There are pedals that change the resistance between tip and ring on a TR 1/4&quot; plug, and there are pedals that change the voltage on one of the pins (I forget which) on a tip-ring-sleeve (TRS) 1/4&quot; plug.  The two aren&#039;t compatible, and this particular circuit uses the latter.

I can&#039;t guarantee which of the two methods an audio volume pedal and a MIDI expression pedal use -- in fact, I can&#039;t even guarantee it&#039;ll be the same for all audio volume pedals or all MIDI expression pedals.  (It &lt;em&gt;may&lt;/em&gt; be, but I&#039;m not familiar enough with those markets.)  But all pedals with TR plugs should be compatible with each other, and all pedals with TRS plugs should be compatible with each other (with the exception that some might work backwards, and some might have a switch to correct for working backwards).

The &lt;a href=&quot;http://www.arduino.cc&quot; rel=&quot;nofollow&quot;&gt;Arduino&lt;/a&gt; is developed and manufactured in Italy, so I know you can get it in Europe (although I don&#039;t know where).  A 1/4&quot; TRS jack, the 5-pin DIN connectors, and the resistors and transistors for the MIDI interface should also be available at any electronics parts store.

Can any of my European readers tell me, do you have electronics stores like Radio Shack that are everywhere but have only the barest essential components for hobbyists, and stores like Frye&#039;s that are sparse but have everything?  Also do you have preferred mail-order sources different than Digi-Key and Mouser that have better shipping costs to Europe?</description>
		<content:encoded><![CDATA[<p>Elvio, actually, see my conversation in the comments with Drew.  There are pedals that change the resistance between tip and ring on a TR 1/4&#8243; plug, and there are pedals that change the voltage on one of the pins (I forget which) on a tip-ring-sleeve (TRS) 1/4&#8243; plug.  The two aren&#8217;t compatible, and this particular circuit uses the latter.</p>
<p>I can&#8217;t guarantee which of the two methods an audio volume pedal and a MIDI expression pedal use &#8212; in fact, I can&#8217;t even guarantee it&#8217;ll be the same for all audio volume pedals or all MIDI expression pedals.  (It <em>may</em> be, but I&#8217;m not familiar enough with those markets.)  But all pedals with TR plugs should be compatible with each other, and all pedals with TRS plugs should be compatible with each other (with the exception that some might work backwards, and some might have a switch to correct for working backwards).</p>
<p>The <a href="http://www.arduino.cc" rel="nofollow">Arduino</a> is developed and manufactured in Italy, so I know you can get it in Europe (although I don&#8217;t know where).  A 1/4&#8243; TRS jack, the 5-pin DIN connectors, and the resistors and transistors for the MIDI interface should also be available at any electronics parts store.</p>
<p>Can any of my European readers tell me, do you have electronics stores like Radio Shack that are everywhere but have only the barest essential components for hobbyists, and stores like Frye&#8217;s that are sparse but have everything?  Also do you have preferred mail-order sources different than Digi-Key and Mouser that have better shipping costs to Europe?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elvio</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-23351</link>
		<dc:creator>Elvio</dc:creator>
		<pubDate>Fri, 26 Jun 2009 06:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-23351</guid>
		<description>Thanks so much, Keith!
…seems crazy to me: do you mean that an audio volume pedal and a MIDI expression pedal have the same output???
Could I possibly connect an audio pedal to a controller and have the same results?

As for the circuit…  I found two commercial solutions, both quite expensive:
http://www.thomann.de/fr/midi_solutions_pedal_to_midi_converter.htm (117€, one input, one 5pin output)
http://www.eowave.com/controllers.php (120€, four inputs, one USB output) (for some reason the site is down at the moment)
…so well, I&#039;d like totry the DIY way! :-) Do you know if the parts are available in Europe?

€:-I</description>
		<content:encoded><![CDATA[<p>Thanks so much, Keith!<br />
…seems crazy to me: do you mean that an audio volume pedal and a MIDI expression pedal have the same output???<br />
Could I possibly connect an audio pedal to a controller and have the same results?</p>
<p>As for the circuit…  I found two commercial solutions, both quite expensive:<br />
<a href="http://www.thomann.de/fr/midi_solutions_pedal_to_midi_converter.htm" rel="nofollow">http://www.thomann.de/fr/midi_solutions_pedal_to_midi_converter.htm</a> (117€, one input, one 5pin output)<br />
<a href="http://www.eowave.com/controllers.php" rel="nofollow">http://www.eowave.com/controllers.php</a> (120€, four inputs, one USB output) (for some reason the site is down at the moment)<br />
…so well, I&#8217;d like totry the DIY way! <img src='http://www.neufeld.newton.ks.us/electronics/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Do you know if the parts are available in Europe?</p>
<p>€:-I</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Neufeld</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-23350</link>
		<dc:creator>Keith Neufeld</dc:creator>
		<pubDate>Thu, 25 Jun 2009 22:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-23350</guid>
		<description>Elvio, what I built is &lt;em&gt;exactly&lt;/em&gt; what you need, for exactly the reason that what you tried didn&#039;t work. :-)

The problem is that MIDI (&quot;Musical Instrument Digital Interface&quot;) is a digital signal and expression pedals are analog resistance.  Even expression pedals sold for &quot;MIDI controllers&quot; are analog inputs to a controller that&#039;s doing what my little circuit does.  Connecting the analog signal across pins in the MIDI doesn&#039;t do anything useful.

The circuit I wired is basically a tiny MIDI controller built custom just to run an expression pedal.  It&#039;s the same as if you bought a MIDI controller (or control surface) and plugged the pedal into it and it into the Motu.  The only difference is (perhaps) size -- you can see how small this circuit is.  It could be made even smaller if it were purpose-built instead of on a general-purpose prototyping board.

So &#8230; I&#039;m not sure what to suggest.  I could certainly build you this circuit into a box the size of a guitar pedal and you&#039;d have a smaller thing to take with you, but I don&#039;t know if that&#039;s what you want.  Plus it&#039;d cost somewhere around $35-50 in parts (including the case), and I don&#039;t know how that compares with what you&#039;d pay for other solutions.</description>
		<content:encoded><![CDATA[<p>Elvio, what I built is <em>exactly</em> what you need, for exactly the reason that what you tried didn&#8217;t work. <img src='http://www.neufeld.newton.ks.us/electronics/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The problem is that MIDI (&#8220;Musical Instrument Digital Interface&#8221;) is a digital signal and expression pedals are analog resistance.  Even expression pedals sold for &#8220;MIDI controllers&#8221; are analog inputs to a controller that&#8217;s doing what my little circuit does.  Connecting the analog signal across pins in the MIDI doesn&#8217;t do anything useful.</p>
<p>The circuit I wired is basically a tiny MIDI controller built custom just to run an expression pedal.  It&#8217;s the same as if you bought a MIDI controller (or control surface) and plugged the pedal into it and it into the Motu.  The only difference is (perhaps) size &#8212; you can see how small this circuit is.  It could be made even smaller if it were purpose-built instead of on a general-purpose prototyping board.</p>
<p>So &hellip; I&#8217;m not sure what to suggest.  I could certainly build you this circuit into a box the size of a guitar pedal and you&#8217;d have a smaller thing to take with you, but I don&#8217;t know if that&#8217;s what you want.  Plus it&#8217;d cost somewhere around $35-50 in parts (including the case), and I don&#8217;t know how that compares with what you&#8217;d pay for other solutions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elvio</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-23349</link>
		<dc:creator>Elvio</dc:creator>
		<pubDate>Thu, 25 Jun 2009 21:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-23349</guid>
		<description>Dear Keith,
When I saw the picture on this page, I thought: &quot;That&#039;s it!&quot;… but it was not quite, actually… :-(
I recently bought a Motu Ultralite MK3 interface. I would like to connect my guitar and a mic. As I would like to control the volume of the guitar with a pedal, I tried an Ernie Ball volume pedal… but I didn&#039;t like it at all : 
1) the tone really gets worse 
2) and the range of the pedal is closer to a switch!
So, I am trying another approach. I have a MIDI expression pedal. Connecting it to my Mac, with a simple Max/MSP patch I can simply lower the volume of the channel, with no tone loss, and with a scale that I decide. So, bingo?
Well, not yet… The only way I can connect this pedal (an MGear Ex-P, by the way) is through a keyboard or a control surface that has the appropriate stereo-jack entry… and I wouldn&#039;t have to transport this equipement just for this purpose.
So, I ask you: is it possible to connect an expression pedal to the 5-poles DIN standard MIDI IN of the MOTU interface ?
I am a musician, and all I can do with electronics is soldering some audio cables, but I did my best to understand the MIDI process.
If I got it well, a 5v tension runs to and from pins 4 and 5; the pedal is just a potentiometer, a variable resistance that reduces this tension…
I wired it all, but it does not work. Why?
Thanks in advance,

Elvio</description>
		<content:encoded><![CDATA[<p>Dear Keith,<br />
When I saw the picture on this page, I thought: &#8220;That&#8217;s it!&#8221;… but it was not quite, actually… <img src='http://www.neufeld.newton.ks.us/electronics/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
I recently bought a Motu Ultralite MK3 interface. I would like to connect my guitar and a mic. As I would like to control the volume of the guitar with a pedal, I tried an Ernie Ball volume pedal… but I didn&#8217;t like it at all :<br />
1) the tone really gets worse<br />
2) and the range of the pedal is closer to a switch!<br />
So, I am trying another approach. I have a MIDI expression pedal. Connecting it to my Mac, with a simple Max/MSP patch I can simply lower the volume of the channel, with no tone loss, and with a scale that I decide. So, bingo?<br />
Well, not yet… The only way I can connect this pedal (an MGear Ex-P, by the way) is through a keyboard or a control surface that has the appropriate stereo-jack entry… and I wouldn&#8217;t have to transport this equipement just for this purpose.<br />
So, I ask you: is it possible to connect an expression pedal to the 5-poles DIN standard MIDI IN of the MOTU interface ?<br />
I am a musician, and all I can do with electronics is soldering some audio cables, but I did my best to understand the MIDI process.<br />
If I got it well, a 5v tension runs to and from pins 4 and 5; the pedal is just a potentiometer, a variable resistance that reduces this tension…<br />
I wired it all, but it does not work. Why?<br />
Thanks in advance,</p>
<p>Elvio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=250&#038;cpage=1#comment-23106</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 30 Apr 2009 01:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=250#comment-23106</guid>
		<description>My bad, I should have clarified :-) I meant Tom&#039;s simplified circuit, without the inverter/transistors. 

My concern is that a problem might arise if Vcc is higher than the 3V3 the processor is running at (most likely itd be the standard MIDI 5V), thered be a potential voltage difference of up to 1.7V between the serial out and Vcc. If it were an open-collector, no prob, I&#039;m not sure about the Arduino&#039;s, though. 

(And there&#039;s the further chance that it might hit another &quot;utility extension&quot; device (like a MIDI Solutions Relay) that isn&#039;t opto-isolated, so...)

Thanks,
Andy</description>
		<content:encoded><![CDATA[<p>My bad, I should have clarified <img src='http://www.neufeld.newton.ks.us/electronics/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I meant Tom&#8217;s simplified circuit, without the inverter/transistors. </p>
<p>My concern is that a problem might arise if Vcc is higher than the 3V3 the processor is running at (most likely itd be the standard MIDI 5V), thered be a potential voltage difference of up to 1.7V between the serial out and Vcc. If it were an open-collector, no prob, I&#8217;m not sure about the Arduino&#8217;s, though. </p>
<p>(And there&#8217;s the further chance that it might hit another &#8220;utility extension&#8221; device (like a MIDI Solutions Relay) that isn&#8217;t opto-isolated, so&#8230;)</p>
<p>Thanks,<br />
Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
