<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Manual: Controller</title>
	<atom:link href="http://code.compartmental.net/tools/minim/manual-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.compartmental.net</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 07:48:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tarik Barri</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-2549</link>
		<dc:creator>Tarik Barri</dc:creator>
		<pubDate>Thu, 01 Jul 2010 13:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-2549</guid>
		<description>Loads of thanks for your impressive work.

I&#039;m wondering if there is any way of changing the playback speed of recorded audio. ..or if you have any advice for me where to start looking if I want to create a class (within or without Minim) which can do this.</description>
		<content:encoded><![CDATA[<p>Loads of thanks for your impressive work.</p>
<p>I&#8217;m wondering if there is any way of changing the playback speed of recorded audio. ..or if you have any advice for me where to start looking if I want to create a class (within or without Minim) which can do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddf</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-2205</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Sat, 24 Apr 2010 02:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-2205</guid>
		<description>hasControl most certainly exists: http://code.compartmental.net/minim/javadoc/ddf/minim/Controller.html#hasControl(javax.sound.sampled.Control.Type)

Is your program running and it&#039;s printing out that the *control* doesn&#039;t exist? That is sometimes the case, depending on the Java implementation you are running on. Often, if something doesn&#039;t have a VOLUME control, it will have a GAIN.</description>
		<content:encoded><![CDATA[<p>hasControl most certainly exists: <a href="http://code.compartmental.net/minim/javadoc/ddf/minim/Controller.html#hasControl(javax.sound.sampled.Control.Type)" rel="nofollow">http://code.compartmental.net/minim/javadoc/ddf/minim/Controller.html#hasControl(javax.sound.sampled.Control.Type)</a></p>
<p>Is your program running and it&#8217;s printing out that the *control* doesn&#8217;t exist? That is sometimes the case, depending on the Java implementation you are running on. Often, if something doesn&#8217;t have a VOLUME control, it will have a GAIN.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Doherty</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-2091</link>
		<dc:creator>Michael Doherty</dc:creator>
		<pubDate>Thu, 15 Apr 2010 13:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-2091</guid>
		<description>when I try to call this method on my audioplayer object:

audioPlayerObject.hasControl(Controller.VOLUME)

it tells me that the function does not exist. How do you change volume or gain on an audioplayer object???</description>
		<content:encoded><![CDATA[<p>when I try to call this method on my audioplayer object:</p>
<p>audioPlayerObject.hasControl(Controller.VOLUME)</p>
<p>it tells me that the function does not exist. How do you change volume or gain on an audioplayer object???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jas</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-1879</link>
		<dc:creator>jas</dc:creator>
		<pubDate>Sat, 06 Mar 2010 20:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-1879</guid>
		<description>okay! i finally figured out what is going on! 
it was just that missing piece of code defining the WaveformRenderer class...

this is really cool! thanks again!

jasper</description>
		<content:encoded><![CDATA[<p>okay! i finally figured out what is going on!<br />
it was just that missing piece of code defining the WaveformRenderer class&#8230;</p>
<p>this is really cool! thanks again!</p>
<p>jasper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jas</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-1876</link>
		<dc:creator>jas</dc:creator>
		<pubDate>Sat, 06 Mar 2010 12:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-1876</guid>
		<description>hi. i&#039;ve been working through your tutorial which i&#039;ve found to be quite enjoyable!

on the examples above:

import ddf.minim.*;
import ddf.minim.signals.*;
 
Minim minim;
AudioOutput out;
WaveformRenderer waveform;
SawWave saw;

i get a &quot;Cannot find a class or type named &quot;WaveformRenderer&quot; error.

i&#039;m using processing 1.0.9 with minim 2.0.2

any ideas about this?

thanks!</description>
		<content:encoded><![CDATA[<p>hi. i&#8217;ve been working through your tutorial which i&#8217;ve found to be quite enjoyable!</p>
<p>on the examples above:</p>
<p>import ddf.minim.*;<br />
import ddf.minim.signals.*;</p>
<p>Minim minim;<br />
AudioOutput out;<br />
WaveformRenderer waveform;<br />
SawWave saw;</p>
<p>i get a &#8220;Cannot find a class or type named &#8220;WaveformRenderer&#8221; error.</p>
<p>i&#8217;m using processing 1.0.9 with minim 2.0.2</p>
<p>any ideas about this?</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddf</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-1595</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-1595</guid>
		<description>The sampleRate() method you are calling returns a float value that is the current sample rate of the player. It&#039;s not like the pan() method, which returns a FloatControl that you can use to change the pan value. A sample rate control is typically not available, but if it is, you can get it by using player.getControl(Controller.SAMPLE_RATE). If there is no sample rate control available, this method will return null, so be sure you check for that or your program will crash when you try to use the return value.</description>
		<content:encoded><![CDATA[<p>The sampleRate() method you are calling returns a float value that is the current sample rate of the player. It&#8217;s not like the pan() method, which returns a FloatControl that you can use to change the pan value. A sample rate control is typically not available, but if it is, you can get it by using player.getControl(Controller.SAMPLE_RATE). If there is no sample rate control available, this method will return null, so be sure you check for that or your program will crash when you try to use the return value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moi</title>
		<link>http://code.compartmental.net/tools/minim/manual-controller/comment-page-1/#comment-1582</link>
		<dc:creator>moi</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://code.compartmental.net/tools/minim/manual-controller/#comment-1582</guid>
		<description>hi there!

is there anyway to control the sample rate, thus changing playback speed of an audioplayer file while playing??
tried lots of stuff, but nothing works.

the code handling sampling rate looks like this so far:

if (player.isPlaying()) {
      if (player.hasControl(Controller.SAMPLE_RATE)) {
         float val = map(mouseX, 0, width, 0.0, 44100.0);
         println(player.sampleRate().setValue(val));
      }
    }

i get &quot;Cannot invoke setValue(float) on the primitive type float&quot;

any help is very much appreciated!

cheers.</description>
		<content:encoded><![CDATA[<p>hi there!</p>
<p>is there anyway to control the sample rate, thus changing playback speed of an audioplayer file while playing??<br />
tried lots of stuff, but nothing works.</p>
<p>the code handling sampling rate looks like this so far:</p>
<p>if (player.isPlaying()) {<br />
      if (player.hasControl(Controller.SAMPLE_RATE)) {<br />
         float val = map(mouseX, 0, width, 0.0, 44100.0);<br />
         println(player.sampleRate().setValue(val));<br />
      }<br />
    }</p>
<p>i get &#8220;Cannot invoke setValue(float) on the primitive type float&#8221;</p>
<p>any help is very much appreciated!</p>
<p>cheers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

