<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Simpler way re: pitch/octave dividing?</title>
		<atom:link href="http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 15:17:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-47134</guid>
					<title><![CDATA[Simpler way re: pitch/octave dividing?]]></title>
					<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-47134</link>
					<pubDate>Thu, 10 Dec 2009 08:33:09 +0000</pubDate>
					<dc:creator>cudnylon</dc:creator>

					<description>
						<![CDATA[
						<p>Just solving an issue I had but wanted to make sure there isn&#8217;t an easier way to go about this. The patch in question takes MIDI note numbers then reduces then down to a single octave. 24 becomes 0, 49 becomes 1, 14 becomes 2, and so on. Lots of &#8220;if/then&#8221; going on here. Lately I&#8217;ve been trying to make all my patches have as few objects as possible. Here&#8217;s the patch as I&#8217;ve figured it:</p>
<p>#P user kslider 20 135 54 0 0 12 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#N vpatcher 435 109 1082 831;<br />
#P origin 0 13;<br />
#N comlet Midi Pitch Out (0-11);<br />
#P outlet 474 459 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 249 352 30 196617 &#8211; 12;<br />
#P newex 249 318 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 249 284 30 196617 &#8211; 12;<br />
#P newex 249 250 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 249 216 30 196617 &#8211; 12;<br />
#P newex 249 182 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 249 148 30 196617 &#8211; 12;<br />
#P newex 249 114 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 249 80 30 196617 &#8211; 12;<br />
#P newex 249 46 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 13 350 30 196617 &#8211; 12;<br />
#P newex 13 316 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 13 282 30 196617 &#8211; 12;<br />
#P newex 13 248 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 13 214 30 196617 &#8211; 12;<br />
#P newex 13 180 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 13 146 30 196617 &#8211; 12;<br />
#P newex 13 112 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#P newex 13 78 30 196617 &#8211; 12;<br />
#P newex 13 44 166 196617 if $i1 < = 11 then out2 $i1 else $i1;<br />
#N comlet Midi Pitch In (0-127);<br />
#P inlet 13 12 15 0;<br />
#P connect 0 0 1 0;<br />
#P connect 1 0 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 6 0 7 0;<br />
#P connect 7 0 8 0;<br />
#P connect 8 0 9 0;<br />
#P connect 9 0 10 0;<br />
#P connect 10 0 11 0;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 13 0;<br />
#P connect 13 0 14 0;<br />
#P connect 14 0 15 0;<br />
#P connect 15 0 16 0;<br />
#P connect 16 0 17 0;<br />
#P connect 17 0 18 0;<br />
#P connect 18 0 19 0;<br />
#P connect 19 0 20 0;<br />
#P connect 20 0 21 0;<br />
#P connect 19 1 21 0;<br />
#P connect 17 1 21 0;<br />
#P connect 15 1 21 0;<br />
#P connect 13 1 21 0;<br />
#P connect 11 1 21 0;<br />
#P connect 9 1 21 0;<br />
#P connect 7 1 21 0;<br />
#P connect 5 1 21 0;<br />
#P connect 3 1 21 0;<br />
#P connect 1 1 21 0;<br />
#P pop;<br />
#P newobj 20 101 77 196617 p pitch-divider;<br />
#P user kslider 20 30 54 0 0 48 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;<br />
#P connect 1 0 2 0;<br />
#P connect 0 0 1 0;<br />
#P window clipboard copycount 3;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169456</guid>
					<title><![CDATA[Re: Simpler way re: pitch/octave dividing?]]></title>
					<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169456</link>
					<pubDate>Thu, 10 Dec 2009 08:41:44 +0000</pubDate>
					<dc:creator>Zachary Seldess</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re essentially just converting from pitch to pitch-class, yes? There&#8217;s a much simpler way &#8211; use [% 12]. </p>
<p>best,<br />
Zachary</p>
<p>
<div><span id="toggle169456-0" class="patchtoggle" onmousedown="toggleMaxPatch('post169456-0', 'er169456-0');">&#8211; Pasted Max <span id="maxversion169456-0"></span> Patch, click to <span id="er169456-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A411.3oc0U9saBBCEF%2BZ3onoI6NzPAgo6t8brXVPnpcBsDZMSmw280%2BwDTPMn%0A2raNPOmSa%2B99Qa3fqCbAaGlCAuA9.33bv0wQmRkvwN1AVjrKMOgqaClxJJvT%0AAzyTSf2Iz4KIhz0iz8IWPaU51B1VQNVnmquMaYhrUBc0mU3TgYuQn3w9d.Tj%0Au5wTcLPFAysygjo2E1huFgBpW9kLpflTf0kduhjj2rBm7itBJXr%2BI8Pn0xAU%0AKmJLW5nDAgQ6UR0Avb0jN55pBdOClM.ZEFGojyDSb1UgE5IAqAXaJ9aoDtv0%0Au.N8ErskQ8a4.kt.ydUECmdgiMKhXeI1zNjHwcW7H54fifAfiM7bRFtpaqGX%0AytdCdeJKmUY7g%2B3HezrXjWmugZPfdYFJT%2BX5DULJ7VPyqe182QI1xkbrn4gz%0ApD5JKv5DW23pVj4l1457%2BCjCLGLCieXHG1OjGJRaIqFLUu8vbB87%2B.nsoJea%0APyYaqRqsg8xD3jSyvbAgpERidPs5YMIKCSaZpBRVISBCqD54i98pnv6PQQOf%0AhjCN59aq7eph%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post169456-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode169456-0">----------begin_max5_patcher----------
411.3oc0U9saBBCEF+Z3onoI6NzPAgo6t8brXVPnpcBsDZMSmw280+wDTPMn
2raNPOmSa+99Qa3fqCbAaGlCAuA9.33bv0wQmRkvwN1AVjrKMOgqaClxJJvT
AzyTSf2Iz4KIhz0iz8IWPaU51B1VQNVnmquMaYhrUBc0mU3TgYuQn3w9d.Tj
u5wTcLPFAysygjo2E1huFgBpW9kLpflTf0kduhjj2rBm7itBJXr+I8Pn0xAU
KmJLW5nDAgQ6UR0Avb0jN55pBdOClM.ZEFGojyDSb1UgE5IAqAXaJ9aoDtv0
u.N8ErskQ8a4.kt.ydUECmdgiMKhXeI1zNjHwcW7H54fifAfiM7bRFtpaqGX
ytdCdeJKmUY7g+3HezrXjWmugZPfdYFJT+X5DULJ7VPyqe182QI1xkbrn4gz
pD5JKv5DW23pVj4l1457+CjCLGLCieXHG1OjGJRaIqFLUu8vbB87+.nsoJea
PyYaqRqsg8xD3jSyvbAgpERidPs5YMIKCSaZpBRVISBCqD54i98pnv6PQQOf
hjCN59aq7eph
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169457</guid>
					<title><![CDATA[Re: Simpler way re: pitch/octave dividing?]]></title>
					<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169457</link>
					<pubDate>Thu, 10 Dec 2009 08:49:53 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>Just as Zachary said, mod is your friend in this case. Since you seem to be running Max 4 I converted the Max 5 patch for ya as well&#8230;</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 29 131 34 196617 % 12;<br />
#P user kslider 29 198 54 0 0 12 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;<br />
#P user kslider 29 52 54 0 36 48 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;<br />
#P connect 2 0 1 0;<br />
#P connect 0 0 2 0;<br />
#P window clipboard copycount 3;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169458</guid>
					<title><![CDATA[Re: Simpler way re: pitch/octave dividing?]]></title>
					<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169458</link>
					<pubDate>Thu, 10 Dec 2009 13:25:26 +0000</pubDate>
					<dc:creator>cudnylon</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks to both of you! Seems I need to read through the documentation again. That&#8217;s another object that as slipped through my knowledge.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169459</guid>
					<title><![CDATA[Re: Simpler way re: pitch/octave dividing?]]></title>
					<link>http://cycling74.com/forums/topic/simpler-way-re-pitchoctave-dividing/#post-169459</link>
					<pubDate>Fri, 11 Dec 2009 08:56:00 +0000</pubDate>
					<dc:creator>seejayjames</dc:creator>

					<description>
						<![CDATA[
						<p>&#8230;and when you get to making scales, look into matrixctrl with a preset, zl rot to transpose, zl mth to test whether the pitch is in the scale or not&#8230;it&#8217;s never-ending!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

