<?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: [Newbie] 2D matrix to 1D matrix ?</title>
		<atom:link href="http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 17:28:07 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-39103</guid>
					<title><![CDATA[[Newbie] 2D matrix to 1D matrix ?]]></title>
					<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-39103</link>
					<pubDate>Sat, 02 Aug 2008 16:20:02 +0000</pubDate>
					<dc:creator>Alexandre</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
What would be the most simple and efficient way to convert &#8220;[jit.matrix 4 char 1200 700]&#8221; to : &#8220;[jit.matrix 4 float32 840000 1]&#8221; ?  (1200*700=840000) </p>
<p>(This is to put this matrix into jit.buffer~ after.) </p>
<p>Thanks by advance,<br />
Alexandre</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137238</guid>
					<title><![CDATA[Re: [Newbie] 2D matrix to 1D matrix ?]]></title>
					<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137238</link>
					<pubDate>Sat, 02 Aug 2008 17:35:02 +0000</pubDate>
					<dc:creator>randall jones</dc:creator>

					<description>
						<![CDATA[
						<p>
You can use jit.poke~ to put the signal directly from the 2D matrix  <br />
into the buffer.  For one cell per sample, use phasor~ with frequency  <br />
(sample rate / width) to index dim[0] and so on.</p>
<p>-Randy</p>
<p>On Aug 2, 2008, at 9:20 AM, Alexandre wrote:</p>
<p>><br />
> Hi,<br />
> What would be the most simple and efficient way to convert  <br />
> &#8220;[jit.matrix 4 char 1200 700]&#8221; to : &#8220;[jit.matrix 4 float32 840000  <br />
> 1]&#8221; ?  (1200*700=840000)<br />
><br />
> (This is to put this matrix into jit.buffer~ after.)<br />
><br />
> Thanks by advance,<br />
> Alexandre</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137239</guid>
					<title><![CDATA[Re: [Newbie] 2D matrix to 1D matrix ?]]></title>
					<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137239</link>
					<pubDate>Sat, 02 Aug 2008 19:42:52 +0000</pubDate>
					<dc:creator>Alexandre</dc:creator>

					<description>
						<![CDATA[
						<p>Well, perhaps it was not really clear, but i don&#8217;t want to deal with any audio here, i want to convert the stuff as instantaneously as possible. Just forget my parenthese about buffer~.</p>
<p>The question is only: <br />
What is the most Efficient way to convert a 2D matrix of 1200*700 pixels like [jit.matrix 4 char 1200 700] to a 1D matrix of 840000 pixels(*), and float32 : [jit.matrix 4 float32 840000 1] ?</p>
<p>I should do something like: [uzi 700] -> &#8230;.</p>
<p>Thanks by advance,</p>
<p>Alexandre</p>
<p>(*) 1200 * 700 = 840000</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137240</guid>
					<title><![CDATA[Re: [Newbie] 2D matrix to 1D matrix ?]]></title>
					<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137240</link>
					<pubDate>Sat, 02 Aug 2008 20:42:27 +0000</pubDate>
					<dc:creator>Zachary Seldess</dc:creator>

					<description>
						<![CDATA[
						<p>In that case, jit.scanwrap is your friend &#8211; probably to most efficient way of doing this:</p>
<p>Zachary</p>
<p>
<div><span id="toggle137240-0" class="patchtoggle" onmousedown="toggleMaxPatch('post137240-0', 'er137240-0');">&#8211; Pasted Max <span id="maxversion137240-0"></span> Patch, click to <span id="er137240-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----------%0A661.3ocyW9saaBCEF%2BZxSgEWmg7wl%2Bt6lzdKlppb.mDWErQfyR1p569.aHkt%0ARSHgjnbAfrwb366mO9f40YNtKT64Utnui9Exw40YNNltZ5vossiaNae5FVkY%0AXtop7btT6N2dOMeu1zOwCkpj%2BlWpQYLMCo%2BSAuaPxs4ps5MbsID31dEYlGTs%0A3kuAztgtTI0RVN2bqeTJXa5tSASmtVHW8bIOUaUrOE6gmiBi7hAfBQyQPRbS%0AOTvCidpWHqD%2B0DRB3EDfAZTWPK4U0tgoEJYu.SShZBS.zbF2d5P.qsiP14Fn%0Aou2lMq4z7IxPvCsbCSq4RD4mnbltTrGIjZEB5ZNdjRlBRAKFImGMmLXdQn8V%0AVTsZqXXeRFvm3KxmTyTKgXtDa7LMrmMyUY79uQqHLI0lm20cd8wfTAHd3imd%0AYe2znaS10E.wjIvPJN5lxvqBOJ1IjYpciFHwGw1PXncUgw9gDeyrYTOieBi9%0AEYEgAlvRCtMoER9tZm8oZNMzosRiec0GESSIHR.BFMqhtnjG.LoMDKLg10i3%0AiQwZo9bWUv6QhyhsZsRNLGfOygvS6VHnykmxqKXxUtW2ZBm6Z.%2BSuFfPnW20%0A.j.6WbhgaWswykCzivARrYFEv9uWCLFOYLfO39AB4srRfTIp30EBRWyJQAnf%0AQCIxTJBX2mEfie7pAbDVUkxj6JYEc35rJZBSgWPj8hcGD2GfYdP2MB4%2B%2B6BF%0AY1z%2BGoXkZaYZmHZ%2BLA5cclwqzBoIuu2XR9vXVKxx3x96uMWjUnp2PbqD.RnW%0APM.RLKB8wGZfdZvo5qoTiOOoNQEAiPQQObJx%2BgSQM%2BsvkjgYKM0lg0zXhZkL%0AFsdWo2XTD8hfWbhoJUheWiIpzvQnTxDXWci2l8O.Wmj7R.%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post137240-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="pastedcode137240-0">----------begin_max5_patcher----------
661.3ocyW9saaBCEF+ZxSgEWmg7wl+t6lzdKlppb.mDWErQfyR1p569.aHkt
RSHgjnbAfrwb366mO9f40YNtKT64Utnui9Exw40YNNltZ5vossiaNae5FVkY
Xtop7btT6N2dOMeu1zOwCkpj+lWpQYLMCo+SAuaPxs4ps5MbsID31dEYlGTs
3kuAztgtTI0RVN2bqeTJXa5tSASmtVHW8bIOUaUrOE6gmiBi7hAfBQyQPRbS
OTvCidpWHqD+0DRB3EDfAZTWPK4U0tgoEJYu.SShZBS.zbF2d5P.qsiP14Fn
ou2lMq4z7IxPvCsbCSq4RD4mnbltTrGIjZEB5ZNdjRlBRAKFImGMmLXdQn8V
VTsZqXXeRFvm3KxmTyTKgXtDa7LMrmMyUY79uQqHLI0lm20cd8wfTAHd3imd
Ye2znaS10E.wjIvPJN5lxvqBOJ1IjYpciFHwGw1PXncUgw9gDeyrYTOieBi9
EYEgAlvRCtMoER9tZm8oZNMzosRiec0GESSIHR.BFMqhtnjG.LoMDKLg10i3
iQwZo9bWUv6QhyhsZsRNLGfOygvS6VHnykmxqKXxUtW2ZBm6Z.+SuFfPnW20
.j.6WbhgaWswykCzivARrYFEv9uWCLFOYLfO39AB4srRfTIp30EBRWyJQAnf
QCIxTJBX2mEfie7pAbDVUkxj6JYEc35rJZBSgWPj8hcGD2GfYdP2MB4++6BF
Y1z+GoXkZaYZmHZ+LA5cclwqzBoIuu2XR9vXVKxx3x96uMWjUnp2PbqD.RnW
PM.RLKB8wGZfdZvo5qoTiOOoNQEAiPQQObJx+gSQM+svkjgYKM0lg0zXhZkL
FsdWo2XTD8hfWbhoJUheWiIpzvQnTxDXWci2l8O.Wmj7R.
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137241</guid>
					<title><![CDATA[Re: [Newbie] 2D matrix to 1D matrix ?]]></title>
					<link>http://cycling74.com/forums/topic/newbie-2d-matrix-to-1d-matrix/#post-137241</link>
					<pubDate>Sat, 02 Aug 2008 21:07:08 +0000</pubDate>
					<dc:creator>Alexandre</dc:creator>

					<description>
						<![CDATA[
						<p>Thats&#8217;s perfect, thank a lot !</p>
<p>
Note: this &#8220;jit.scanwrap&#8221; was not in the jitter.overview.maxpat..</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

