<?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: Importing files into a buffer &#8211; only the left channel loads!</title>
		<atom:link href="http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 16:53:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-66129</guid>
					<title><![CDATA[Importing files into a buffer &#8211; only the left channel loads!]]></title>
					<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-66129</link>
					<pubDate>Sat, 19 Jan 2013 01:07:06 +0000</pubDate>
					<dc:creator>Jimmy</dc:creator>

					<description>
						<![CDATA[
						<p>Hi all!</p>
<p>I&#8217;m having a bit of trouble with a patch and would appreciate any help! I&#8217;ve searched the forum but can&#8217;t find an answer, though I&#8217;m sure it&#8217;s something small and stupid I&#8217;m doing wrong. as is always the way.</p>
<p>So I&#8217;m trying to load stereo files into a buffer~. I can do this with a &#8220;read&#8221; message and get the buffer to load both the left and the right channels of the audio file correctly. I can then use a play~ object to play the file back in stereo, exactly as they should sound. This is what I want, but this only works for a limited range of file types (wav, aiff, etc).</p>
<p>What I want is to use the import message instead, which allows many more files types to be loaded, including mp3. Problem is, all I seem to be able to do is import the left channel of the audio file into the two channels of the buffer~. So two channels load up when using the &#8220;import&#8221; message, but they&#8217;re both identical; they&#8217;re both the file&#8217;s left channel, and the right channel is always missing. I read the help file for buffer~ but can&#8217;t seem to make sense of it. If there was an example of how I should format my import message going into the buffer~, I might be able to fix the problem.</p>
<p>Any ideas?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238058</guid>
					<title><![CDATA[Re: Importing files into a buffer &#8211; only the left channel loads!]]></title>
					<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238058</link>
					<pubDate>Sat, 19 Jan 2013 05:31:05 +0000</pubDate>
					<dc:creator>Gregory Taylor</dc:creator>

					<description>
						<![CDATA[
						<p>I think it might help if you were to provide a sample patch that demonstrates the problem, and to tell us what platform, Max version, and OS version you&#8217;re running.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238059</guid>
					<title><![CDATA[Re: Importing files into a buffer &#8211; only the left channel loads!]]></title>
					<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238059</link>
					<pubDate>Sat, 19 Jan 2013 16:06:07 +0000</pubDate>
					<dc:creator>Jimmy</dc:creator>

					<description>
						<![CDATA[
						<p>Of course! I&#8217;m using the latest version of OSX (10.8.2) with up to date MaxMSP (6.0.8).</p>
<p>The patch is just something simple:</p>
<div><span id="toggle238059-0" class="patchtoggle" onmousedown="toggleMaxPatch('post238059-0', 'er238059-0');">&#8211; Pasted Max <span id="maxversion238059-0"></span> Patch, click to <span id="er238059-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----------%0A748.3oc0VkraaCCD8r7Ww.cVUPKwQx8VO1q8ROjDTPIMxloTjBjzwYAoe6kK%0AV1JM1NNoFAIP.TfCGR9l2rwGlDDVItEUgvWgKfffGlDD3DYEDrddPXG41ZFQ%0A4TKrCUJxbLLxulFuU6jS65ERMnQkNdE4lg06I55ET97eIwZs%2BdxymEOMBxSl%0AEmDAyRsiokwIvUq2Cswchhpq%2BxzgyoUv0bRG5V4aRJgMrBeYGkyPsCdYaEJV%0ApGjlN5PTz6cGRZl4d8h8ZpuqG8.LLDtxtxiSlXGh9OYlZFRjGhOl5nf77R2u%0AhCwGY4ehHjZQWGx0OiP9tKTwPB.ATZThBnkxPfx0BinpkssnD5H%2BFU.UCMTU%0AOibGnWIf5EDNGYF4bPu.Wqaj4uFPR8BPgXmBLmSEBWuTocZwvV8vVigeJjJz%0AHmvgNAWDeI27E9CjzbYHrhxX.SPZbazAqk8POJaM9K1cFIbLxd6qA9JpdATI%0ALCCPKdvdYFUqEK4NitX%2B9%2BLKwCYN%2Bd14tIoIIi7%2Bsx4UVUS13fFEQjN6UFQj%0AtyHhj8DQbByCjnkUOh5CY4Npn7L6uxrCkOjV7IJe.uugT%2BmvWJRH0WB3roCi%0A6zvSeEl2awK1HE81v%2Bgqw.UuabPfIZWnIZpf%2BDwUBYCJqELgzaT1n1QCoirm%0AcQAyJ1lMjm61RVx4i1j%2BBrZmuq7gMoCRSpWC17zDmiHSHauN8n2pimiqLP6Y%0AID8RrG4Mfu0Y3KSJSK11wLKY2AFkmjxAuOID6gW7E0%2BiqVwKyJ4EE1mSTbPV%0Ao3jvJYuRVo0zHQaCapH74m1dnMRho8oI3wlm55SofElNRGptZo%2BoVY97voIO%0AivNbilj2qFMN73Ze9OuL0YTV4OkvThkx5ANenq.r0rZLwQT9lRUWrIjXjNKn%0AMMHeL.MO6fTwVW.YmdtiEN1Gs8ABNkenPyzOTnY1Qflx2HZ7g0j99aPoZ8Q5%0A.hIi%2BZe2xyibSob%2BT2IZd2zMzA8KmXOsGm7WZ5nPoA%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post238059-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="pastedcode238059-0">----------begin_max5_patcher----------
748.3oc0VkraaCCD8r7Ww.cVUPKwQx8VO1q8ROjDTPIMxloTjBjzwYAoe6kK
V1JM1NNoFAIP.TfCGR9l2rwGlDDVItEUgvWgKfffGlDD3DYEDrddPXG41ZFQ
4TKrCUJxbLLxulFuU6jS65ERMnQkNdE4lg06I55ET97eIwZs+dxymEOMBxSl
EmDAyRsiokwIvUq2Cswchhpq+xzgyoUv0bRG5V4aRJgMrBeYGkyPsCdYaEJV
pGjlN5PTz6cGRZl4d8h8ZpuqG8.LLDtxtxiSlXGh9OYlZFRjGhOl5nf77R2u
hCwGY4ehHjZQWGx0OiP9tKTwPB.ATZThBnkxPfx0BinpkssnD5H+FU.UCMTU
OibGnWIf5EDNGYF4bPu.Wqaj4uFPR8BPgXmBLmSEBWuTocZwvV8vVigeJjJz
HmvgNAWDeI27E9CjzbYHrhxX.SPZbazAqk8POJaM9K1cFIbLxd6qA9JpdATI
LCCPKdvdYFUqEK4NitX+9+LKwCYN+d14tIoIIi7+sx4UVUS13fFEQjN6UFQj
tyHhj8DQbByCjnkUOh5CY4Npn7L6uxrCkOjV7IJe.uugT+mvWJRH0WB3roCi
6zvSeEl2awK1HE81v+gqw.UuabPfIZWnIZpf+DwUBYCJqELgzaT1n1QCoirm
cQAyJ1lMjm61RVx4i1j+BrZmuq7gMoCRSpWC17zDmiHSHauN8n2pimiqLP6Y
ID8RrG4Mfu0Y3KSJSK11wLKY2AFkmjxAuOID6gW7E0+iqVwKyJ4EE1mSTbPV
o3jvJYuRVo0zHQaCapH74m1dnMRho8oI3wlm55SofElNRGptZo+oVY97voIO
ivNbilj2qFMN73Ze9OuL0YTV4OkvThkx5ANenq.r0rZLwQT9lRUWrIjXjNKn
MMHeL.MO6fTwVW.YmdtiEN1Gs8ABNkenPyzOTnY1Qflx2HZ7g0j99aPoZ8Q5
.hIi+Ze2xyibSob+T2IZd2zMzA8KmXOsGm7WZ5nPoA
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>Was wondering if I&#8217;m getting my import messages wrong; maybe it should be more like &#8220;import test.wav 0 0 2&#8243;. I&#8217;ve read the help file to know that the number of channels is the third value to specify, and I have to also specify start point and duration. I ended up getting confused when testing it out and was not sure if I was doing something wrong or it was a glitch.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238060</guid>
					<title><![CDATA[Re: Importing files into a buffer &#8211; only the left channel loads!]]></title>
					<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238060</link>
					<pubDate>Sat, 19 Jan 2013 19:48:15 +0000</pubDate>
					<dc:creator>leafcutter</dc:creator>

					<description>
						<![CDATA[
						<p>That&#8217;s a bug (which could be in the max object or in Quicktime), I tested it and you are right. It only imports channel 1, what&#8217;s worse the copy that ends up in channel two is 1 sample earlier than channel 1. This is true for importing .mp3 and .aif I didn&#8217;t try .wav </p>
<p>the numbers after the import message stand for the start point / end point / channels if you want to import the whole file use -1. for the second argument. </p>
<p>I&#8217;d stick to .wav and .aif for now as they work fine. And you might as well use replace or read instead of import.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238061</guid>
					<title><![CDATA[Re: Importing files into a buffer &#8211; only the left channel loads!]]></title>
					<link>http://cycling74.com/forums/topic/importing-files-into-a-buffer-only-the-left-channel-loads/#post-238061</link>
					<pubDate>Sat, 19 Jan 2013 19:57:02 +0000</pubDate>
					<dc:creator>Jimmy</dc:creator>

					<description>
						<![CDATA[
						<p>That&#8217;s quite an annoying bug&#8230; A bit of a pain but oh well, I&#8217;ll just use a &#8220;read&#8221; message instead, not a massive deal. Thanks for taking the time to look at it and clearing that up!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

