<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Code Log</title>
	<link>http://code.compartmental.net</link>
	<description>Prototypes and Other Bits of Code</description>
	<pubDate>Fri, 25 Jul 2008 13:27:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>Comment on Musicker v1. by craig</title>
		<link>http://code.compartmental.net/2008/04/20/musicker-v1/#comment-600</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Sun, 20 Apr 2008 21:08:41 +0000</pubDate>
		<guid>http://code.compartmental.net/2008/04/20/musicker-v1/#comment-600</guid>
		<description>sweet!</description>
		<content:encoded><![CDATA[<p>sweet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Springy Synth by Dan</title>
		<link>http://code.compartmental.net/2008/01/27/springy-synth/#comment-597</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 07 Apr 2008 10:27:49 +0000</pubDate>
		<guid>http://code.compartmental.net/2008/01/27/springy-synth/#comment-597</guid>
		<description>Hey, no problem. I'd love to see it when you've got the time, but no pressure, or anything. My assignments aren't due for a couple weeks yet! heh.</description>
		<content:encoded><![CDATA[<p>Hey, no problem. I&#8217;d love to see it when you&#8217;ve got the time, but no pressure, or anything. My assignments aren&#8217;t due for a couple weeks yet! heh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Springy Synth by ddf</title>
		<link>http://code.compartmental.net/2008/01/27/springy-synth/#comment-596</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Sun, 06 Apr 2008 15:36:32 +0000</pubDate>
		<guid>http://code.compartmental.net/2008/01/27/springy-synth/#comment-596</guid>
		<description>That would be because I have an updated version of Minim I have yet to release. I am a bad person. :(</description>
		<content:encoded><![CDATA[<p>That would be because I have an updated version of Minim I have yet to release. I am a bad person. <img src='http://code.compartmental.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Springy Synth by Dan</title>
		<link>http://code.compartmental.net/2008/01/27/springy-synth/#comment-595</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 05 Apr 2008 11:16:16 +0000</pubDate>
		<guid>http://code.compartmental.net/2008/01/27/springy-synth/#comment-595</guid>
		<description>I can't seem to make this work, for some reason - when I save springsynth, I get a class missing error, and when I add the class from the other .pde you include, I get "Semantic Error: No accessible method with signature "setAudioListener(Temporary_4316_3485.SignalListener)" was found in type "ddf.minim.signals.Oscillator"."

I'm not sure if this is due to my installation, or you having an updated library you haven't released, or the beer. If you could let me know what's what, I'd appreciate it.

p.s. thanks for this library!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to make this work, for some reason - when I save springsynth, I get a class missing error, and when I add the class from the other .pde you include, I get &#8220;Semantic Error: No accessible method with signature &#8220;setAudioListener(Temporary_4316_3485.SignalListener)&#8221; was found in type &#8220;ddf.minim.signals.Oscillator&#8221;.&#8221;</p>
<p>I&#8217;m not sure if this is due to my installation, or you having an updated library you haven&#8217;t released, or the beer. If you could let me know what&#8217;s what, I&#8217;d appreciate it.</p>
<p>p.s. thanks for this library!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim: An Audio Library for Processing by ddf</title>
		<link>http://code.compartmental.net/2007/03/27/minim-an-audio-library-for-processing/#comment-506</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Thu, 17 Jan 2008 02:54:25 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/03/27/minim-an-audio-library-for-processing/#comment-506</guid>
		<description>Hi Stelios, sorry for the slow reply.

You can let the pan for a sound, so you could set the "a" sound to have a hard-left pan (-1) and the "b" sound to have a hard-right pan (1).

See: http://code.compartmental.net/tools/minim/manual-controller/</description>
		<content:encoded><![CDATA[<p>Hi Stelios, sorry for the slow reply.</p>
<p>You can let the pan for a sound, so you could set the &#8220;a&#8221; sound to have a hard-left pan (-1) and the &#8220;b&#8221; sound to have a hard-right pan (1).</p>
<p>See: <a href="http://code.compartmental.net/tools/minim/manual-controller/" rel="nofollow">http://code.compartmental.net/tools/minim/manual-controller/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim: An Audio Library for Processing by Stelios</title>
		<link>http://code.compartmental.net/2007/03/27/minim-an-audio-library-for-processing/#comment-505</link>
		<dc:creator>Stelios</dc:creator>
		<pubDate>Thu, 10 Jan 2008 13:34:49 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/03/27/minim-an-audio-library-for-processing/#comment-505</guid>
		<description>Hey! It's a very nice  library indeed! I am using minim library for some of my projects.Perhaps a simple question for you: is there a function (way) to determine the sounds you listen to from which speaker you want them to be heared? I mean i want to listen the "a" sound from the left speaker and the "b" sound for the right speaker. Is that doable?  I searched the manual and I din't find an example about that.
Thanks!</description>
		<content:encoded><![CDATA[<p>Hey! It&#8217;s a very nice  library indeed! I am using minim library for some of my projects.Perhaps a simple question for you: is there a function (way) to determine the sounds you listen to from which speaker you want them to be heared? I mean i want to listen the &#8220;a&#8221; sound from the left speaker and the &#8220;b&#8221; sound for the right speaker. Is that doable?  I searched the manual and I din&#8217;t find an example about that.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim 1.1 Released! by ddf</title>
		<link>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-503</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Sun, 30 Dec 2007 19:59:42 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-503</guid>
		<description>Basil: What you could do is write a class that implements AudioEffect and then just have it add the signal to the samples it receives.  Your process function might look like this:

&lt;pre lang="Java"&gt;
void process(float[] samps)
{
   sine.generate(samps);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Basil: What you could do is write a class that implements AudioEffect and then just have it add the signal to the samples it receives.  Your process function might look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="java"><span style="color: #996600;">void</span> process<span style="color: #333;">&#40;</span><span style="color: #996600;">float</span><span style="color: #333;">&#91;</span><span style="color: #333;">&#93;</span> samps<span style="color: #333;">&#41;</span>
<span style="color: #333;">&#123;</span>
   sine.<span style="color: #333;">generate</span><span style="color: #333;">&#40;</span>samps<span style="color: #333;">&#41;</span>;
<span style="color: #333;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim 1.1 Released! by Basil Stotz</title>
		<link>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-502</link>
		<dc:creator>Basil Stotz</dc:creator>
		<pubDate>Tue, 18 Dec 2007 14:22:12 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-502</guid>
		<description>Hello

Minim is a great thing. It is easy to use and has many nice interfaces. 

But ther is one problem I can't resolve.

I have an app which gets the signal from an input line, then it filters the signal and finally renders the waveform. perfekt.

Now I'd like to add a signal (e.g. SineWave) to this input signal before the rendering?  But I can't find a suitable hook?

Basil</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>Minim is a great thing. It is easy to use and has many nice interfaces. </p>
<p>But ther is one problem I can&#8217;t resolve.</p>
<p>I have an app which gets the signal from an input line, then it filters the signal and finally renders the waveform. perfekt.</p>
<p>Now I&#8217;d like to add a signal (e.g. SineWave) to this input signal before the rendering?  But I can&#8217;t find a suitable hook?</p>
<p>Basil</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim 1.1 Released! by ddf</title>
		<link>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-498</link>
		<dc:creator>ddf</dc:creator>
		<pubDate>Thu, 06 Dec 2007 01:13:08 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-498</guid>
		<description>Hey Oliver, 

That is a weird workaround and I'm not sure why it works for you as you say it does. There isn't an event that you can listen for to tell you when the sound finishes playing, I'm trying to avoid having too much callback stuff because it can be confusing for beginners. What you can do is poll the isPlaying() method of the AudioPlayer. If you just start the player playing and don't  stop it yourself, this will return false when the sound is done playing. Or, at least it should. This may not work entirely correctly in Minim 1.1 but I am making absolutely sure it does for the next release.

There isn't any way to change the pitch of the sound at the moment, a SAMPLE_RATE control is not typically available from Javasound. But I'm working on something that will make this possible.</description>
		<content:encoded><![CDATA[<p>Hey Oliver, </p>
<p>That is a weird workaround and I&#8217;m not sure why it works for you as you say it does. There isn&#8217;t an event that you can listen for to tell you when the sound finishes playing, I&#8217;m trying to avoid having too much callback stuff because it can be confusing for beginners. What you can do is poll the isPlaying() method of the AudioPlayer. If you just start the player playing and don&#8217;t  stop it yourself, this will return false when the sound is done playing. Or, at least it should. This may not work entirely correctly in Minim 1.1 but I am making absolutely sure it does for the next release.</p>
<p>There isn&#8217;t any way to change the pitch of the sound at the moment, a SAMPLE_RATE control is not typically available from Javasound. But I&#8217;m working on something that will make this possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minim 1.1 Released! by Oliver</title>
		<link>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-497</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Tue, 04 Dec 2007 22:10:48 +0000</pubDate>
		<guid>http://code.compartmental.net/2007/06/03/minim-11-released/#comment-497</guid>
		<description>Hello
With Minim sound in java get's easy!!! Great Work !!!
Question.
If I have a AudioPlayer, is it possible to have a listener ore anything else, that can tell me, that the sound is played ready, so that it can start now, to play a next soundfile?

And second Question.
Is it possible to change the pitch (I mean play it faster or slower) ?

A problem I have is, if I want to change the pan or gain. It is not recognized if i do this to early.

my workaround is to have a request like this, which is called in the repeated draw method, before change any parameters.

  boolean canPlay(){
    player.pause();
    player.mute();
    test=player.isMuted();
    player.unmute();
    return(test);
  }


Thank you very much for this great library.

Oliver</description>
		<content:encoded><![CDATA[<p>Hello<br />
With Minim sound in java get&#8217;s easy!!! Great Work !!!<br />
Question.<br />
If I have a AudioPlayer, is it possible to have a listener ore anything else, that can tell me, that the sound is played ready, so that it can start now, to play a next soundfile?</p>
<p>And second Question.<br />
Is it possible to change the pitch (I mean play it faster or slower) ?</p>
<p>A problem I have is, if I want to change the pan or gain. It is not recognized if i do this to early.</p>
<p>my workaround is to have a request like this, which is called in the repeated draw method, before change any parameters.</p>
<p>  boolean canPlay(){<br />
    player.pause();<br />
    player.mute();<br />
    test=player.isMuted();<br />
    player.unmute();<br />
    return(test);<br />
  }</p>
<p>Thank you very much for this great library.</p>
<p>Oliver</p>
]]></content:encoded>
	</item>
</channel>
</rss>
