<?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 for Red Binary</title>
	<atom:link href="http://redbinary.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://redbinary.com</link>
	<description>The pre-neopostmodern electro-Amish man using sense and caution when voiding any warranty.</description>
	<lastBuildDate>Sun, 26 Feb 2012 22:32:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on My explanations &amp; revelations: PT Mobile Track now in beta by Red Binary &#124; Electrist 0.60b1 released</title>
		<link>http://redbinary.com/my-explanations-revelations-pt-mobile-track-now-in-beta/#comment-4</link>
		<dc:creator>Red Binary &#124; Electrist 0.60b1 released</dc:creator>
		<pubDate>Sun, 26 Feb 2012 22:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://redbinary.com/?p=341#comment-4</guid>
		<description>[...] I&#8217;d like to assure everyone that development will be ongoing. For a full explanation of the slow updates please see my previous post. [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;d like to assure everyone that development will be ongoing. For a full explanation of the slow updates please see my previous post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PACMOD MIDI DJ Controller by Red Binary</title>
		<link>http://redbinary.com/pacmod-midi-dj-controller/#comment-3</link>
		<dc:creator>Red Binary</dc:creator>
		<pubDate>Wed, 25 Jan 2012 17:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://redbinary.com/?p=213#comment-3</guid>
		<description>&lt;strong&gt;&lt;i&gt;&quot;THANK you very much for your reply..i am not sure i follow you 100% but i guess a little trial and error will do the trick....a final question (if you know it of course)....teensy 2 has 12 analog inputs...can i use only 6 lets say and the other 6 &quot;declare&quot; them in the code as digital?

Thank you very much again...really appreciate your help&quot;&lt;/i&gt;&lt;/strong&gt;

Happy to help! Using the Arduino environment you can use any of the analog pins as digital pins just by the way you reference them: http://arduino.cc/en/Tutorial/DigitalPins

You&#039;ll notice that in the code I&#039;m using analog-capable digital_pin[] 11-18 as digital pins, but pins 20 and 21 as analog pins. I can do this by referencing them as A0 and A1 using analogRead().</description>
		<content:encoded><![CDATA[<strong><i>"THANK you very much for your reply..i am not sure i follow you 100% but i guess a little trial and error will do the trick....a final question (if you know it of course)....teensy 2 has 12 analog inputs...can i use only 6 lets say and the other 6 "declare" them in the code as digital?

Thank you very much again...really appreciate your help"</i></strong>

Happy to help! Using the Arduino environment you can use any of the analog pins as digital pins just by the way you reference them: http://arduino.cc/en/Tutorial/DigitalPins

You'll notice that in the code I'm using analog-capable digital_pin[] 11-18 as digital pins, but pins 20 and 21 as analog pins. I can do this by referencing them as A0 and A1 using analogRead().]]></content:encoded>
	</item>
	<item>
		<title>Comment on PACMOD MIDI DJ Controller by Red Binary</title>
		<link>http://redbinary.com/pacmod-midi-dj-controller/#comment-2</link>
		<dc:creator>Red Binary</dc:creator>
		<pubDate>Wed, 25 Jan 2012 14:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://redbinary.com/?p=213#comment-2</guid>
		<description>&lt;strong&gt;&lt;i&gt;&quot;hello there. i want to build the same arcade controller for my self. i understand most of the code but i am not a programmer though. i wanted to ask you what does the part of const in digital_note does and similar for analog. how do you came up with these values?? 

thank you very much&quot;&lt;/i&gt;&lt;/strong&gt;

Good question! Those are the &#039;MIDI note numbers&#039;. The numbers that the controller sends to whatever it is controlling to tell it which note to play. The MIDI specification uses note numbers from 0 to 127 to sequentially lay out the piano scale like an enormous 10 octave keyboard. Here&#039;s a (giant) image showing the note numbers: http://en.wikipedia.org/wiki/File:NoteNamesFrequenciesAndMidiNumbers.svg

The note numbers I picked for the buttons were just to try to make use of the mapping in Traktor that my son was already using.

Similarly, but possibly a little more confusing, analog_control[] are the numbers for which &#039;continuous controller&#039; the DJ controller is using. In this context &#039;continuous controller&#039; means an analog input like pitch bend or mod wheel (http://improv.sapp.org/doc/class/MidiOutput/controllers/controllers.html) I just arbitrarily picked 0 and 1 for my sliders. The sliders generate a range of 0-1023 in the Teensy, but since the MIDI specification says they should only be a range of 0-127 I used a scaling factor of 8. My son reports that my scaling factor doesn&#039;t allow the sliders to go full range in Traktor, however.

Hope this helps!</description>
		<content:encoded><![CDATA[<strong><i>"hello there. i want to build the same arcade controller for my self. i understand most of the code but i am not a programmer though. i wanted to ask you what does the part of const in digital_note does and similar for analog. how do you came up with these values?? 

thank you very much"</i></strong>

Good question! Those are the 'MIDI note numbers'. The numbers that the controller sends to whatever it is controlling to tell it which note to play. The MIDI specification uses note numbers from 0 to 127 to sequentially lay out the piano scale like an enormous 10 octave keyboard. Here's a (giant) image showing the note numbers: http://en.wikipedia.org/wiki/File:NoteNamesFrequenciesAndMidiNumbers.svg

The note numbers I picked for the buttons were just to try to make use of the mapping in Traktor that my son was already using.

Similarly, but possibly a little more confusing, analog_control[] are the numbers for which 'continuous controller' the DJ controller is using. In this context 'continuous controller' means an analog input like pitch bend or mod wheel (http://improv.sapp.org/doc/class/MidiOutput/controllers/controllers.html) I just arbitrarily picked 0 and 1 for my sliders. The sliders generate a range of 0-1023 in the Teensy, but since the MIDI specification says they should only be a range of 0-127 I used a scaling factor of 8. My son reports that my scaling factor doesn't allow the sliders to go full range in Traktor, however.

Hope this helps!]]></content:encoded>
	</item>
</channel>
</rss>

