<?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: play~ audio quality problems</title>
		<atom:link href="http://cycling74.com/forums/topic/play-audio-quality-problems/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/play-audio-quality-problems/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 23:49:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-24913</guid>
					<title><![CDATA[play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-24913</link>
					<pubDate>Thu, 16 Mar 2006 15:30:29 +0000</pubDate>
					<dc:creator>pmt</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I&#8217;ve been using play~ to play back sounds loaded into a buffer~, and <br />
have discovered that the sound quality seems to be a problem. The <br />
playback sounds like it is being slightly ring-modulated, or that it is <br />
showing the effects of a sample-rate mismatch. In any case, to test out <br />
the problem, I tried playing the buffer back with wave~, and the issue <br />
did not occur. I am driving play~ with a line~ object, and thought that <br />
that might also be the problem, so I replaced the line~ with a phasor~ <br />
but the problem persisted.</p>
<p>The attached patch demonstrates the issue. Load a 1 minute stereo sample <br />
in the buffer, and then turn on the DAC. Both play~ and wave~ will <br />
playback simultaneously, but you can x-fade between the two to hear the <br />
sound quality difference. Any insight as to why this might be happening <br />
and what I could do to prevent it would be greatly appreciated. Many <br />
thanks in advance.</p>
<p>Best,</p>
<p>Peter Traub</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72693</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72693</link>
					<pubDate>Thu, 16 Mar 2006 15:40:09 +0000</pubDate>
					<dc:creator>pmt</dc:creator>

					<description>
						<![CDATA[
						<p>Apologies. It seems the binary file I attached may cause some problems. <br />
Here is a text version.</p>
<p>Best,</p>
<p>Peter</p>
<p>max v2;<br />
#N vpatcher 275 65 876 807;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P hidden message 181 85 20 196617 50;<br />
#P hidden newex 72 31 48 196617 loadbang;<br />
#P message 354 89 55 196617 0.016666;<br />
#P flonum 179 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 290 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 450 83 17 196617 0.;<br />
#P hidden newex 77 248 35 196617 *~ 1.;<br />
#P hidden flonum 172 249 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P hidden newex 123 246 35 196617 *~ 1.;<br />
#P hidden newex 147 210 27 196617 + 1.;<br />
#P hidden newex 147 187 34 196617 * -1.;<br />
#P hidden newex 342 251 35 196617 *~ 1.;<br />
#P hidden newex 295 251 35 196617 *~ 1.;<br />
#P hidden newex 235 198 40 196617 / 100.;<br />
#P user hslider 181 172 18 128 101 1 0 0;<br />
#P newex 354 113 46 196617 phasor~;<br />
#P newex 354 151 108 196617 wave~ buf 0 60000 2;<br />
#P user ezdac~ 221 550 265 583 0;<br />
#P user meter~ 196 390 213 514 50 0 168 0 103 103 103 255 153 0 255 0 0 <br />
217 217 0 153 186 0 12 3 3 3 3;<br />
#P user meter~ 283 390 300 514 50 0 168 0 103 103 103 255 153 0 255 0 0 <br />
217 217 0 153 186 0 12 3 3 3 3;<br />
#P user gain~ 254 391 24 100 158 0 1.071519 7.94321 10.;<br />
#P user gain~ 221 391 24 100 158 0 1.071519 7.94321 10.;<br />
#P newex 72 145 61 196617 play~ buf 2;<br />
#P message 72 84 86 196617 0 , 60000 60000;<br />
#P newex 72 111 32 196617 line~;<br />
#P message 386 395 30 196617 read;<br />
#P newex 386 423 103 196617 buffer~ buf 60000 2;<br />
#P comment 155 153 194 196617 x-fade between play~ and wave~ objects;<br />
#P window setfont &#8220;Sans Serif&#8221; 12.;<br />
#P window linecount 2;<br />
#P comment 387 355 158 196620 read a 1 minute stereo sample in here first;<br />
#P window linecount 7;<br />
#P comment 13 392 174 196620 Directions: read in a one minute stereo <br />
sample to buffer. start DAC. playback should begin immediately. crossade <br />
between play~ and wave~ objects to hear sound quality difference.;<br />
#P hidden connect 28 0 6 0;<br />
#P connect 6 0 5 0;<br />
#P connect 5 0 7 0;<br />
#P hidden connect 7 0 23 0;<br />
#P hidden connect 20 0 23 1;<br />
#P hidden connect 7 1 21 0;<br />
#P hidden connect 16 0 19 0;<br />
#P hidden connect 19 0 20 0;<br />
#P hidden connect 20 0 21 1;<br />
#P hidden connect 20 0 22 0;<br />
#P hidden connect 20 0 26 0;<br />
#P hidden connect 28 0 29 0;<br />
#P hidden connect 29 0 15 0;<br />
#P hidden connect 8 0 11 0;<br />
#P hidden connect 17 0 8 0;<br />
#P hidden connect 23 0 8 0;<br />
#P connect 8 0 12 0;<br />
#P hidden connect 15 0 16 0;<br />
#P hidden connect 8 1 9 0;<br />
#P hidden connect 18 0 9 0;<br />
#P hidden connect 21 0 9 0;<br />
#P connect 9 0 12 1;<br />
#P hidden connect 9 0 10 0;<br />
#P hidden connect 16 0 25 0;<br />
#P hidden connect 13 0 17 0;<br />
#P hidden connect 16 0 17 1;<br />
#P hidden connect 13 1 18 0;<br />
#P hidden connect 28 0 27 0;<br />
#P connect 27 0 14 0;<br />
#P connect 14 0 13 0;<br />
#P hidden connect 16 0 18 1;<br />
#P connect 4 0 3 0;<br />
#P connect 24 0 14 1;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72694</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72694</link>
					<pubDate>Thu, 16 Mar 2006 16:34:48 +0000</pubDate>
					<dc:creator>projects</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Peter,</p>
<p>I tried the patch you sent and couldn&#8217;t reproduce the effect. <br />
Sometimes with long sound files there is a problem with the bit depth<br />
of the playback signal that results in playback degradation, but &#8220;ring<br />
modulated&#8221; isn&#8217;t really how I would describe the sound&#8230; anyway, you<br />
could try Joshua&#8217;s hi-res objects<br />
 (<a href="http://cycling74.com/twiki/bin/view/Share/JoshuaKitClayton" rel="nofollow">http://cycling74.com/twiki/bin/view/Share/JoshuaKitClayton</a>) to see if<br />
that fixes your problem.  Otherwise the only thing I can suggest is to<br />
make your one minute sound file available somewhere on the web so that<br />
we can test that.</p>
<p>Ben</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72695</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72695</link>
					<pubDate>Thu, 16 Mar 2006 18:15:06 +0000</pubDate>
					<dc:creator>pmt</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Ben,</p>
<p>Yes, I suppose bit-depth degradation might be a better description of <br />
the sound, and it does happen over time. In my actual application, I&#8217;m <br />
using a 10 min. buffer and not the 1 min. one in my test file, so the <br />
problem is even more accute. In any case, I&#8217;ve uploaded a 1 min. test <br />
sound to the web that you can download and hear the issue with. It is at:</p>
<p><a href="http://www.people.virginia.edu/~pmt4u/testsnd.aif" rel="nofollow">http://www.people.virginia.edu/~pmt4u/testsnd.aif</a></p>
<p>After about 15 seconds of playback in the test patch, try hard x-fading <br />
between the play~ and wave~ output (i.e., listen fully to one and then <br />
the other), and the difference between the two should become quite <br />
audible. It becomes more audible over time. I will check out the hi-res <br />
objects you suggest, but I&#8217;m curious why this problem exists with play~ <br />
in the first place and if there is some sort of workaround? Many thanks.</p>
<p>Best,</p>
<p>Peter</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72696</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72696</link>
					<pubDate>Thu, 16 Mar 2006 18:42:22 +0000</pubDate>
					<dc:creator>Peter McCulloch</dc:creator>

					<description>
						<![CDATA[
						<p>You might compare it with the different interpolation modes on wave~.  <br />
(try interp 0, 1, 2)  Mode 2 is high quality, mode 1 is default, mode 0 <br />
is off.  Sorry, not a solution, but might reveal what&#8217;s going on.</p>
<p>Peter McCulloch</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72697</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72697</link>
					<pubDate>Thu, 16 Mar 2006 19:56:45 +0000</pubDate>
					<dc:creator>pmt</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Peter,</p>
<p>Upon reading the docs for the hi.res objects, it seems that it is a bit <br />
resolution issue. I have replaced my core playback module, that used <br />
line~, play~, and pong~ with the hi.res objects hr.line~, hr.play~, and <br />
hr.wrap~. They appear to do the trick in both the test application I <br />
posted to the list and my main application. However, they do appear to <br />
incur the cost of higher CPU utilization, meaning my poly~ instrument <br />
that uses these playback objects can&#8217;t have as many instances of them.</p>
<p>Btw, I did try playing with the interp modes for wave~, but interp 0, <br />
while giving noticeably diminished quality, did not give the same sort <br />
of effect as I was hearing with play~. Many thanks.</p>
<p>Best,</p>
<p>Peter</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72698</guid>
					<title><![CDATA[Re: play~ audio quality problems]]></title>
					<link>http://cycling74.com/forums/topic/play-audio-quality-problems/#post-72698</link>
					<pubDate>Fri, 17 Mar 2006 09:44:39 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>If you use the phase related playback methods on longer sound files than<br />
ca. 6 min 20 seconds you will run into that problem, and ist obvious,<br />
dealing with higher resolution will need more CPU.<br />
Most things you can do with play~ and wave~, you could also do with<br />
groove~. As you just start the playback, and then the object runs on its <br />
own, sample by sample. I guess redoing your approach with groove~&#8217;s <br />
might save you the missing CPU cycles. You could use the groove~&#8217;s sync <br />
outlet as you master if you need one. Though the resolution problem <br />
would then arise there as well, but you might not need the high <br />
resolution there. Depends on what you&#8217;re doing&#8230;</p>
<p>Stefan</p>
<p>&#8211; </p>
<p>  [][]  [][][]  [][]  [][][]<br />
[][][][][][][][][][][][][][][]</p>
<p>         Stefan Tiedje<br />
         Klanggestalter<br />
     Electronic Composition<br />
               &#038;<br />
         Improvisation</p>
<p>            /~~~~~<br />
     \   /|() ()|<br />
     ))))) )|  |  |( \<br />
     ///     _/)/ )))))<br />
             ___/   ///</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-x&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8212;&#8212;x&#8212;&#8211;</p>
<p>14, Av. Pr. Franklin Roosevelt,<br />
94320 Thiais, France<br />
Phone at CCMIX +33-1-57 42 91 09</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

