<?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: buffer~ help file error</title>
		<atom:link href="http://cycling74.com/forums/topic/buffer-help-file-error/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/buffer-help-file-error/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 06:31:59 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/buffer-help-file-error/#post-24906</guid>
					<title><![CDATA[buffer~ help file error]]></title>
					<link>http://cycling74.com/forums/topic/buffer-help-file-error/#post-24906</link>
					<pubDate>Thu, 16 Mar 2006 04:07:39 +0000</pubDate>
					<dc:creator>Leafcutter John</dc:creator>

					<description>
						<![CDATA[
						<p>The help file for buffer~ seems to be incorrect in it&#8217;s documentation of the read message.</p>
<p>it states that &#8220;read foo.aiff 500 500&#8243; will read all channels of the file foo.aiff for 500ms from 500ms into the file</p>
<p>When in fact it reads all channels of the file foo.aiff from 500ms into the file for 500ms</p>
<p>I suggest that the help file should be updated to give two values which are different and it should reference a file which actually exists (and is included in the standard distro of max) to aid the user in testing this message. I have altered the help file and it is included below.</p>
<p>Best,</p>
<p>John.</p>
<p>buffer~.help</p>
<p>max v2;<br />
#N vpatcher 172 139 928 671;<br />
#P origin 0 21;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 550 491 156 196617 waveform~;<br />
#P message 658 474 48 196617 poke~;<br />
#P message 658 457 48 196617 peek~;<br />
#P message 550 440 56 196617 record~;<br />
#P message 608 474 48 196617 sfplay~;<br />
#P message 658 440 48 196617 cycle~;<br />
#P message 608 423 48 196617 play~;<br />
#P comment 505 408 194 196617 see also: Max Tutorial 3 , 12 , 13;<br />
#P message 658 423 48 196617 wave~;<br />
#P message 550 474 56 196617 sfrecord~;<br />
#P message 608 440 48 196617 lookup~;<br />
#P message 550 423 56 196617 groove~;<br />
#P message 550 457 56 196617 2d.wave~;<br />
#P hidden newex 608 515 64 196617 prepend help;<br />
#P objectname phelp;<br />
#P hidden newex 608 535 45 196617 pcontrol;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 15 12 106 196626 buffer~;<br />
#B frgb 26 8 57;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 15 38 292 196617 Multichannel sample buffer;<br />
#P user panel 10 8 400 50;<br />
#X brgb 226 250 200;<br />
#X frgb 0 0 0;<br />
#X border 0;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P message 232 269 45 196617 clearlow;<br />
#P newex 541 181 81 196617 prepend filetype;<br />
#P button 436 222 15 0;<br />
#P message 63 121 38 196617 import;<br />
#P message 386 313 139 196617 read drumLoop.aif 500 1000;<br />
#P message 422 272 60 196617 read 0 -1 1;<br />
#P window linecount 2;<br />
#P comment 633 201 62 196617 default int16;<br />
#P user umenu 633 160 53 196647 1 64 176 0;<br />
#X add int8;<br />
#X add int16;<br />
#X add int24;<br />
#X add int32;<br />
#X add float32;<br />
#X add float64;<br />
#X add mulaw;<br />
#X add alaw;<br />
#P user umenu 543 160 60 196647 1 64 176 0;<br />
#X add aiff;<br />
#X add sd2;<br />
#X add wave;<br />
#X add au;<br />
#X add raw;<br />
#P window linecount 1;<br />
#P message 477 115 51 196617 writeraw;<br />
#P message 478 94 43 196617 writeau;<br />
#P message 478 73 55 196617 writewave;<br />
#P button 147 189 15 0;<br />
#P message 45 104 41 196617 replace;<br />
#P message 28 84 51 196617 readagain;<br />
#P message 261 117 49 196617 writesd2;<br />
#P message 261 95 49 196617 writeaiff;<br />
#P message 220 252 31 196617 clear;<br />
#P flonum 53 213 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 31 266 55 196617 set george;<br />
#P message 30 239 45 196617 size 500;<br />
#P message 262 73 33 196617 write;<br />
#P message 19 64 28 196617 read;<br />
#P newex 53 151 104 196617 buffer~ helpbuf 1000;<br />
#B color 5;<br />
#P window linecount 2;<br />
#P comment 93 75 97 196617 Messages for reading (see below);<br />
#P window linecount 1;<br />
#P comment 301 74 159 196617 save , select file format and name;<br />
#P window linecount 3;<br />
#P comment 161 145 360 196617 arguments are buffer name , optional filename to read or optional initial length in milliseconds , and optional number of channels (1 , 2 , or 4). The actual number of samples depends on the sampling rate.;<br />
#P window linecount 1;<br />
#P comment 78 240 166 196617 resize the buffer (in milliseconds);<br />
#P window linecount 2;<br />
#P comment 61 171 76 196617 ? double-click to see contents;<br />
#P window linecount 1;<br />
#P comment 92 267 100 196617 rename the buffer;<br />
#P window linecount 6;<br />
#P comment 22 292 345 196617 buffer~ works in conjunction with many different objects , including play~/groove~ (to play the buffer) , record~ (records into the buffer) , info~ (to report information about the buffer) , peek~ (to write into/read from the buffer like the table object) , lookup~ (to use the buffer for waveshaping) , cycle~ (to specify a 512-point waveform) , and wave~ (to specify a waveform).;<br />
#P window linecount 2;<br />
#P comment 99 209 305 196617 when clicking or dragging over a sample , left outlet reports the mouse position in milliseconds. Can be used for &#8220;scrubbing.&#8221;;<br />
#P window linecount 12;<br />
#P comment 22 369 267 196617 The read message takes several optional arguments. The first is a filename&#8211;if not present an open file dialog will be presented. The second is an offset into the file in milliseconds , the third is the size of the file to read in milliseconds , the fourth is the number of channels to read from the file. The default values for these arguments: offset is 0 , duration is the current size of the bufer (if you supply a negative argument for the duration , the file resizes the buffer to the specified duration , and a duration of -1 reads the entire file and resizes the buffer). The default number of channels is the number of channels in the file.;<br />
#P window linecount 1;<br />
#P comment 254 253 123 196617 set all sample values to 0;<br />
#P comment 313 96 91 196617 save as AIFF file;<br />
#P window linecount 2;<br />
#P comment 312 113 140 196617 save as Sound Designer II file (Mac Only);<br />
#P window linecount 3;<br />
#P comment 298 369 201 196617 The replace message is the same as read except the buffer is always resized to the size of the data being read.;<br />
#P window linecount 7;<br />
#P comment 297 408 204 196617 The readagain message takes the same optional offset , duration , and number of channels arguments as read and replace , and reads from the most recently used audio file. The negative duration argument (or -1) resizes the buffer to the size of the data being read from the file.;<br />
#P window linecount 1;<br />
#P comment 166 191 345 196617 right outlet sends bang when buffer~ has finished reading/writing a file;<br />
#P comment 539 73 100 196617 save as WAVE file;<br />
#P comment 526 95 124 196617 save as NeXT/Sun format;<br />
#P window linecount 2;<br />
#P comment 533 114 155 196617 save in headerless format (buffer~ cannot read these files);<br />
#P window linecount 1;<br />
#P comment 528 144 206 196617 set file format and sample characteristics:;<br />
#P comment 543 201 62 196617 default AIFF;<br />
#P comment 422 250 118 196617 read message examples:;<br />
#P window linecount 2;<br />
#P comment 487 268 157 196617 read all of one channel of the file selected by an open file dialog;<br />
#P comment 530 308 192 196617 read all channels of the file drumLoop.aif from 500ms into the file for 1000ms;<br />
#P comment 505 369 196 196617 The import message decompresses MP3 files and the audio tracks of movie files.;<br />
#P window linecount 1;<br />
#P comment 454 223 125 196617 bang redraws the contents;<br />
#P newex 633 181 89 196617 prepend samptype;<br />
#P comment 283 269 100 196617 clear at low priority;<br />
#P message 608 457 48 196617 buffir~;<br />
#P hidden connect 2 0 28 0;<br />
#P hidden connect 47 0 28 0;<br />
#P hidden connect 46 0 28 0;<br />
#P hidden connect 50 0 28 0;<br />
#P fasten 29 0 28 0 24 145 58 145;<br />
#P hidden connect 37 0 28 0;<br />
#P hidden connect 48 0 28 0;<br />
#P hidden connect 38 0 28 0;<br />
#P fasten 31 0 28 0 35 257 21 257 21 145 58 145;<br />
#P fasten 34 0 28 0 225 283 21 283 21 145 58 145;<br />
#P fasten 32 0 28 0 36 283 21 283 21 145 58 145;<br />
#P hidden connect 35 0 28 0;<br />
#P hidden connect 36 0 28 0;<br />
#P hidden connect 40 0 28 0;<br />
#P hidden connect 41 0 28 0;<br />
#P hidden connect 42 0 28 0;<br />
#P hidden connect 30 0 28 0;<br />
#P hidden connect 49 0 28 0;<br />
#P fasten 51 0 28 0 237 287 21 287 21 145 58 145;<br />
#P connect 28 0 33 0;<br />
#P connect 28 1 39 0;<br />
#P fasten 43 1 50 0 598 178 546 178;<br />
#P hidden connect 66 0 56 0;<br />
#P hidden connect 63 0 56 0;<br />
#P hidden connect 64 0 56 0;<br />
#P hidden connect 65 0 56 0;<br />
#P hidden connect 61 0 56 0;<br />
#P hidden connect 60 0 56 0;<br />
#P hidden connect 59 0 56 0;<br />
#P hidden connect 58 0 56 0;<br />
#P hidden connect 57 0 56 0;<br />
#P hidden connect 0 0 56 0;<br />
#P hidden connect 68 0 56 0;<br />
#P hidden connect 67 0 56 0;<br />
#P hidden connect 69 0 56 0;<br />
#P hidden connect 56 0 55 0;<br />
#P fasten 44 1 2 0 681 178 638 178;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/buffer-help-file-error/#post-72671</guid>
					<title><![CDATA[Re: buffer~ help file error]]></title>
					<link>http://cycling74.com/forums/topic/buffer-help-file-error/#post-72671</link>
					<pubDate>Thu, 23 Mar 2006 00:28:40 +0000</pubDate>
					<dc:creator>jonathan segel</dc:creator>

					<description>
						<![CDATA[
						<p>
On Mar 16, 2006, at 4:07 AM, Leafcutter John wrote:</p>
<p>><br />
> The help file for buffer~ seems to be incorrect in it&#8217;s  <br />
> documentation of the read message.</p>
<p>also i&#8217;ve been meaning to say that the little helpful hints when you  <br />
hover over an inlet or outlet are missing for the outlets of the  <br />
buffer~ object.<br />
         Jonathan Segel  &#8212;  4014 Brookdale Ave. Oakland, CA 94619<br />
                 MAGNETIC &#8212; <a href="http://www.MagneticMotorworks.com" rel="nofollow">http://www.MagneticMotorworks.com</a></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

