<?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">
	<channel>
      <title>Tagged with #sound - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=%23sound</link>
      <pubDate>Sun, 08 Aug 2021 21:07:31 +0000</pubDate>
         <description>Tagged with #sound - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/tagged%23sound/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>(Solved) Problem with Sound Library</title>
      <link>https://forum.processing.org/two/discussion/20799/solved-problem-with-sound-library</link>
      <pubDate>Tue, 14 Feb 2017 20:54:28 +0000</pubDate>
      <dc:creator>kucky</dc:creator>
      <guid isPermaLink="false">20799@/two/discussions</guid>
      <description><![CDATA[<p>Hey,
II have this error message when I use the current processing sound library.</p>

<pre><code>java.lang.UnsatisfiedLinkError: no LIBWINPTHREAD-1 in java.library.path
    at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:479)
    at java.lang.Thread.run(Thread.java:745)
</code></pre>

<p>Can anybody help me? I use Netbeans 8.2.</p>
]]></description>
   </item>
   <item>
      <title>Loading a sound file causes my sketch not to run</title>
      <link>https://forum.processing.org/two/discussion/18058/loading-a-sound-file-causes-my-sketch-not-to-run</link>
      <pubDate>Sat, 03 Sep 2016 05:39:15 +0000</pubDate>
      <dc:creator>luckyfellow</dc:creator>
      <guid isPermaLink="false">18058@/two/discussions</guid>
      <description><![CDATA[<blockquote class="Quote">
  <p>terminate called after throwing an instance of 'std::runtime_error'
    what():  RtApiAlsa::probeDeviceOpen: pcm device (hw:0,3) won't open for input.
  Could not run the sketch (Target VM failed to initialize).</p>
</blockquote>

<p>Removing this function allows the code to run.</p>

<p><code>music = new SoundFile(this,"herbert.wav");</code></p>

<p>I believe this is a compatibility issue with Linux. I'm using Processing 3.2.1, the latest sound library, and Ubuntu 16.04.</p>

<p>I hope someone knows hows to solve this.</p>

<p>Thank you.</p>
]]></description>
   </item>
   <item>
      <title>Why does processing.sound make horrible screeching?</title>
      <link>https://forum.processing.org/two/discussion/17751/why-does-processing-sound-make-horrible-screeching</link>
      <pubDate>Thu, 04 Aug 2016 21:04:05 +0000</pubDate>
      <dc:creator>FivePointGames</dc:creator>
      <guid isPermaLink="false">17751@/two/discussions</guid>
      <description><![CDATA[<p>I am creating a click sound, and it works and plays (no looping), but as soon as the file is over, processing makes a horrible screech through my speakers.  Very rarely it works with no screech, but more often than not it is there. Im sure it can't be good for the speakers...or my ears.</p>
]]></description>
   </item>
   <item>
      <title>Sound library not working (Processing 3.0.2 64bit, Sound lib 1.31, Win10)</title>
      <link>https://forum.processing.org/two/discussion/15753/sound-library-not-working-processing-3-0-2-64bit-sound-lib-1-31-win10</link>
      <pubDate>Tue, 29 Mar 2016 16:40:51 +0000</pubDate>
      <dc:creator>Sipi</dc:creator>
      <guid isPermaLink="false">15753@/two/discussions</guid>
      <description><![CDATA[<p>No matter how i try installing the sound library i always encounter an error when trying to use it.
"Library used by this sketch is not installed properly"
"A library relies on native code that's not available."
"Or only works properly when the sketch is run as a 32-bit application."(Using the 32 bit processing doesn't help either)</p>
]]></description>
   </item>
   <item>
      <title>midi in problems</title>
      <link>https://forum.processing.org/two/discussion/14976/midi-in-problems</link>
      <pubDate>Wed, 17 Feb 2016 20:55:38 +0000</pubDate>
      <dc:creator>szebenyi</dc:creator>
      <guid isPermaLink="false">14976@/two/discussions</guid>
      <description><![CDATA[<p>Hi, I want to visualize some music, coming in to processing from ableton.
The idea is: I would like to make circles for each note received, using pitch for it's x value from the point of origin, and velocity for it's radius, then rotate the whole thing around to form a circle.</p>

<p>The whole thing works cool, but:</p>

<p>-somehow other circles start to appear for some reason that I don't want.</p>

<p>-it would be nice to avoid the delay as like this some notes are missed, but without it nothing appears.</p>

<p>-can't export pdf because of unknown exception. (image works) (???)</p>

<p>here is the code and image</p>

<p>thanks for your help!</p>

<pre><code>import themidibus.*;
import processing.pdf.*;

boolean record=false;

MidiBus myBus; // The MidiBus

void setup() {
  size(800, 800);
  background(255);

  MidiBus.list();
  myBus = new MidiBus(this, 1, 0);

}
float x;
float y;
float t;
float time;

void draw() {
  if (record) {
    save("pic.tif");
    record = false;
  }
  t = millis()/10000.0f;
  delay(10);

}
void noteOn(int channel, int pitch, int velocity) {
  // Receive a noteOn
  float velo = map (velocity, 0, 127, 1, 20);
  translate(400, 400);
  rotate(t);
  translate(10,0);
  fill(255,0);
  ellipse(50+(pitch*3), 0, velo, velo);
  println(t);
}

void noteOff(int channel, int pitch, int velocity) {
  // Receive a noteOff
}

void controllerChange(int channel, int number, int value) {
  // Receive a controllerChange
}

void delay(int time) {
  int current = millis();
  while (millis () &lt; current+time) Thread.yield();
}

void keyPressed() {
  if (key == 'q') {
    record=true;
  }
}
</code></pre>

<p>(<img src="http://i.imgur.com/UIYfuza.png" alt="" /></p>
]]></description>
   </item>
   <item>
      <title>How to make animation react to sound?</title>
      <link>https://forum.processing.org/two/discussion/14910/how-to-make-animation-react-to-sound</link>
      <pubDate>Sun, 14 Feb 2016 14:16:34 +0000</pubDate>
      <dc:creator>RudeBoi</dc:creator>
      <guid isPermaLink="false">14910@/two/discussions</guid>
      <description><![CDATA[<p>Hi, I'm a music student but we're learning processing and our lecturer wants us to make and animation which reacts to sound.</p>

<p>I'm trying to make an animation which creates spheres. The brightness( cooler colors for loq freq, brighter for high) and the number and size of the spheres increase with amplitude. Can anyone help me with how to go about doing that?</p>

<p>This is my code so far:</p>

<p>int c = 255;
float op = random(0, 255);</p>

<p>void setup() {
  size(960, 500, P3D);
  background(0);
  frameRate(25);
  noStroke();
  rectMode(CENTER);
}</p>

<p>void draw() {
  fill(c, random(100));</p>

<p>float sz = random(200);
  float big = random(1, 200);
  float placex = random(10, 960);
  float placey = random(10, 500);</p>

<p>fill(random(255), random(255), random(255));
  ellipse(random(width), random(height), sz, sz);
  noStroke();
  lights();
  translate(placex, placey);
  sphere(big);</p>

<p>if (frameCount % 200 == 0) {
    c = 255 - c; // 255 0 255 0 255 0 ..
  }
  saveFrame("frame-####.tif");</p>

<p>if (frameCount &gt; 500) { // 20 seconds * 25 fps = 500
    noLoop();
  }
}</p>
]]></description>
   </item>
   <item>
      <title>data sonification</title>
      <link>https://forum.processing.org/two/discussion/12323/data-sonification</link>
      <pubDate>Mon, 31 Aug 2015 22:07:46 +0000</pubDate>
      <dc:creator>Patricia_Brsk</dc:creator>
      <guid isPermaLink="false">12323@/two/discussions</guid>
      <description><![CDATA[<p>Hello!</p>

<p>Is there a way to sonify DSM (Digital Suface Model) data?</p>

<p>And, does anyone know which is the best way/site to find and download DSM data from all over the world?</p>

<p>This is so important.</p>

<p>Thank you all in advance.</p>
]]></description>
   </item>
   <item>
      <title>Why is the Sound library not working?</title>
      <link>https://forum.processing.org/two/discussion/12777/why-is-the-sound-library-not-working</link>
      <pubDate>Fri, 02 Oct 2015 01:10:02 +0000</pubDate>
      <dc:creator>dawnspectraa</dc:creator>
      <guid isPermaLink="false">12777@/two/discussions</guid>
      <description><![CDATA[<p>P3 here.</p>

<p>I tried using the Sound library but gave me the error "This library may not me properly installed", blah, blah, 64bits, blah...</p>

<p>I had the same error with the video one, but moving the folder to C:\ (I mean, with only english ASCII characters, no ñ or á), it worked. Now I don't know what the heck is going on with the Sound one :/</p>
]]></description>
   </item>
   <item>
      <title>sound</title>
      <link>https://forum.processing.org/two/discussion/12450/sound</link>
      <pubDate>Wed, 09 Sep 2015 13:39:10 +0000</pubDate>
      <dc:creator>lviensen</dc:creator>
      <guid isPermaLink="false">12450@/two/discussions</guid>
      <description><![CDATA[<p>Como faço para executar um som, (som.play()), e depois executá-lo de novo?  Executá-lo sempre que eu chame a função que ele está.</p>
]]></description>
   </item>
   <item>
      <title>Sound library not installed properly</title>
      <link>https://forum.processing.org/two/discussion/12363/sound-library-not-installed-properly</link>
      <pubDate>Wed, 02 Sep 2015 15:44:12 +0000</pubDate>
      <dc:creator>thijsvb</dc:creator>
      <guid isPermaLink="false">12363@/two/discussions</guid>
      <description><![CDATA[<p>Hello,
I have a problem with the sound library in Processing 3.0b5 on Ubuntu.
When I tried using it, Processing gave me an error at the import line. I tried running some examples that come with the library but they give this error:</p>

<p>A library used by this sketch is not installed properly.</p>

<p>Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 
UnsatisfiedLinkError: processing.sound.MethClaInterface.busConstructMono()I
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit application.</p>

<p>I've used the library before without any problems. I tried removing and installing the library, but it doesn't work.
Any ideas?</p>
]]></description>
   </item>
   <item>
      <title>Audio</title>
      <link>https://forum.processing.org/two/discussion/12334/audio</link>
      <pubDate>Tue, 01 Sep 2015 03:08:31 +0000</pubDate>
      <dc:creator>lviensen</dc:creator>
      <guid isPermaLink="false">12334@/two/discussions</guid>
      <description><![CDATA[<p>O que faz a função groove.left.get(i)*50?</p>

<p>Posso usá-la fora do draw()?</p>

<pre><code>  for(int i = 0; i &lt; groove.bufferSize() - 1; i++)
  {     
          groove.play();
          line(i, 50  + groove.left.get(i)*50,  i+1, 50  + groove.left.get(i+1)*50);
          line(i,150 + groove.right.get(i)*50, i+1,150 + groove.right.get(i+1)*50);
  }
</code></pre>
]]></description>
   </item>
   <item>
      <title>glitch pixels with sound</title>
      <link>https://forum.processing.org/two/discussion/12175/glitch-pixels-with-sound</link>
      <pubDate>Thu, 20 Aug 2015 15:36:49 +0000</pubDate>
      <dc:creator>Patricia_Brsk</dc:creator>
      <guid isPermaLink="false">12175@/two/discussions</guid>
      <description><![CDATA[<p>Hello everyone!</p>

<p>I am desperately trying to find out how to properly merge Shiffman's video pixelation sketch with some Minim to make rects react to mic input and glitch.</p>

<p>Any idea? Any Minim thing for mic input?</p>

<p>Thank you all in advance.</p>
]]></description>
   </item>
   <item>
      <title>Beads library - call for feedback and contributions</title>
      <link>https://forum.processing.org/two/discussion/11856/beads-library-call-for-feedback-and-contributions</link>
      <pubDate>Mon, 27 Jul 2015 07:11:29 +0000</pubDate>
      <dc:creator>olliebown</dc:creator>
      <guid isPermaLink="false">11856@/two/discussions</guid>
      <description><![CDATA[<p>This is a call to sound and music-minded Processing developers to make a contribution to the Beads audio and music library... anything that can be used by other people for the good of the world.</p>

<p>Beads is a rich audio library with lots of capabilities for synthesis, generative sequencing and analysis. It also has lots of gaps, missing features and improvements that can be made. It has been a pet project of mine for several years, with valuable contributions from a number of collaborators. Once in a while I like to spam the lists to see who is using Beads, and if they'd like to contribute any of the code that they have written to the Beads library. You may already have some code sitting on your machine that is screaming to be free! You may have a Beads-related project that you're dying to realise. Failing that, it would also be interesting just to hear about what you are using Beads for and what you like/dislike about it (though this is not a call for feature-requests, there are plenty of those below!).</p>

<p>Anything you send will be considered for inclusion in the Beads library, or for inclusion on the Beadsproject.net website. Have your name added to the list of contributors!</p>

<p>Here are some valuable contributions that could be made to the library:</p>

<ul>
<li><p>Demos and examples - show off your creative work with Beads. Contribute tutorials and examples that help people learn and share best practice.</p></li>
<li><p>Extra layers - If you work regularly with Beads, what code do you reuse the most? Can it make a reusable library that would reduce development overheads for others, or simplify using Beads in any way.</p></li>
<li><p>Beads libraries - effects UGens, data classes, wave types. New sequencing tools. Better granular and additive synthesis tools, wavelets, phase vocoders. Build a set of higher-level tools such as FM synths.</p></li>
</ul>

<p>More advanced projects:</p>

<ul>
<li><p>Beads analysis - produce high-level convenience classes for common analysis tasks, develop methods similar to Ableton Live for producing static analysis of audio files, that can be used for beat-synch, dynamic time warping, etc.</p></li>
<li><p>Implement loop crossfade in SamplePlayer - long promised missing feature.</p></li>
<li><p>Beads build - there are some things that would make the Beads source-code project easier to manage. Improved build scripts, merge all jar dependencies into the output jar, creating a Maven repository.</p></li>
<li><p>Beads platform-specific distributions - create versions of Beads for Android, MaxMSP, VST, and perhaps even GWT/WebAudio (this should technically be possible as GWT allows cross compilation from Java to JavaScript. Audio support unknown). Create better tools (e.g., GUIs, config files) for adaptive configuration of Beads AudioContext and AudioIO on different platforms. Better integration with IO contexts such as Jack, coreaudio, Windows and Linux environments, and other drivers (e.g., via PortAudio, RTAudio).</p></li>
<li><p>Beads core - new convenience classes for repetitive tasks, switch entire library to double precision, make use of Java 8 lambda expressions, profile and optimise the audio scheduler, better manage the GC, improved Sample loading, Sample streaming, comprehensive integration of OSC to control audio graph structures, audio network and network synch libraries.</p></li>
<li><p>Beads tooling - make use of annotations, make an Eclipse or IntelliJ plugin for improved creative coding with Beads, or even maybe a standalone development environment, show Beads in action with Clojure, Groovy, etc. Make dedicated Beads project build tools. (Also I have some other code around that has Beads running on the Pi and listening for network messages).</p></li>
</ul>

<p>Cheers!</p>

<p>Ollie Bown
Senior Lecturer, UNSW Art &amp; Design
Sydney, Australia
ollie@icarus.nu</p>

<p>PS: Beads also has a discussion list. See Beads homepage for details <a href="http://beadsproject.net/" target="_blank" rel="nofollow">http://beadsproject.net/</a>.</p>
]]></description>
   </item>
   <item>
      <title>Using minim to make a frequency time plot.</title>
      <link>https://forum.processing.org/two/discussion/11804/using-minim-to-make-a-frequency-time-plot</link>
      <pubDate>Thu, 23 Jul 2015 06:47:14 +0000</pubDate>
      <dc:creator>epiclapser</dc:creator>
      <guid isPermaLink="false">11804@/two/discussions</guid>
      <description><![CDATA[<p>Is there any way I can use minim to make a frequency time graph where I can get the highest frequency and the lowest frequency of a sound track along with the corresponding time at which that frequency occurred?</p>
]]></description>
   </item>
   <item>
      <title>Using gwoptics to plot a frequency time / amplitude time graph.</title>
      <link>https://forum.processing.org/two/discussion/11799/using-gwoptics-to-plot-a-frequency-time-amplitude-time-graph</link>
      <pubDate>Wed, 22 Jul 2015 17:36:24 +0000</pubDate>
      <dc:creator>epiclapser</dc:creator>
      <guid isPermaLink="false">11799@/two/discussions</guid>
      <description><![CDATA[<p>Hey,
I was wondering if there was any way using gwoptics, and minim or any other graphing library to make a frequency time / amplitude time graph of a given audio track.  Although this is my main question, it'd be great if someone could tell me how to find the local maxima and minima, i.e derivative of the resultant graph.</p>

<p>Thanks in advance,</p>

<h2>Epiclapser</h2>
]]></description>
   </item>
   <item>
      <title>how to import sound library on github?</title>
      <link>https://forum.processing.org/two/discussion/11535/how-to-import-sound-library-on-github</link>
      <pubDate>Wed, 01 Jul 2015 19:38:23 +0000</pubDate>
      <dc:creator>moorea21</dc:creator>
      <guid isPermaLink="false">11535@/two/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>I'd like to import and use the sound library with 64 bit 2.2.1, but can't find any instructions here, or on github pages. Which folders do I need to download? Do I need to create a folder to put them in? It's completely inscrutable to me at the moment.</p>

<p>Rich B</p>
]]></description>
   </item>
   <item>
      <title>mic</title>
      <link>https://forum.processing.org/two/discussion/11531/mic</link>
      <pubDate>Wed, 01 Jul 2015 14:01:47 +0000</pubDate>
      <dc:creator>Patricia_Brsk</dc:creator>
      <guid isPermaLink="false">11531@/two/discussions</guid>
      <description><![CDATA[<p>no prob</p>
]]></description>
   </item>
   <item>
      <title>How to make a three band equalizer? (Using the Minim library)</title>
      <link>https://forum.processing.org/two/discussion/11069/how-to-make-a-three-band-equalizer-using-the-minim-library</link>
      <pubDate>Sat, 30 May 2015 12:28:59 +0000</pubDate>
      <dc:creator>JeroenAlblas</dc:creator>
      <guid isPermaLink="false">11069@/two/discussions</guid>
      <description><![CDATA[<p>Hi guys,</p>

<p>I'm trying to make a three band equalizer in processing. Not only a graphic equalizer but one that you can actually use to limit the volume of certain frequency bands in the audio file that plays.</p>

<p>Has this ever been done? I could not find anything until now..</p>

<p>I have already made the visualization part using the FFT of the Minim library. 
It would be nice if I could somehow use the Minim library to control the equalizer as well.</p>

<p>I hope you have some ideas on how to approach this.
Thanks in advance!</p>
]]></description>
   </item>
   <item>
      <title>WaveWatch - Soundcard Oscilloscope with Processing</title>
      <link>https://forum.processing.org/two/discussion/10534/wavewatch-soundcard-oscilloscope-with-processing</link>
      <pubDate>Mon, 27 Apr 2015 07:40:05 +0000</pubDate>
      <dc:creator>Banson</dc:creator>
      <guid isPermaLink="false">10534@/two/discussions</guid>
      <description><![CDATA[<p>Hello world Processing community !</p>

<p>Just wanted to share my first Processing creation : <strong>WaveWatch</strong>, a soundcard oscilloscope 100% made with Processing.</p>

<p><img src="http://www.banson.fr/wiki/lib/exe/fetch.php?media=logoww.png" alt="" /></p>

<p><strong>Demonstration video (updated) :</strong> <a rel="nofollow" href="https://vimeo.com/banson/wavewatchdemo">https://vimeo.com/banson/wavewatchdemo</a></p>

<p>It’s got all the features you’d expect from a standard scope,</p>

<ul>
<li>dual channel, </li>
<li>configurable Triggering (single/Auto), </li>
<li>time and voltage measurement, </li>
<li>frequency calculation, </li>
<li>markers with delta calculation</li>
</ul>

<p>All you need is your computer soundcard, and Processing.</p>

<p><strong>Project detailed documentation :</strong> <a rel="nofollow" href="http://www.banson.fr/wiki/doku.php?id=wavewatch">http://www.banson.fr/wiki/doku.php?id=wavewatch</a></p>

<p><strong>Download (GiHub repo) :</strong> <a rel="nofollow" href="https://github.com/bansonfr/WaveWatch">https://github.com/bansonfr/WaveWatch</a></p>

<p><strong>Project Background:</strong></p>

<p>As a DIY audio maker, I was a fellow user of C.Zeitnitz’s Soundscope and the Zelscope software. Those are very good at their job and offer rich features, but suffer from several drawbacks, like a rough non-responsive GUI and Windows-only tools (Not to mention that they're paid proprietary tools).</p>

<p>WaveWatch development started one year ago with the goal to have a cross platform scope with basic measurement features running on both my workbench Linux PC and my home office personal computer. What began as a “filling-the-holes-rush-project” to empower my workbench PC ended up in a full featured oscilloscope that I use on a daily basis on all my audio projects.</p>

<p>I had in mind to focus on simplicity and efficiency, with mouse responsive GUI combined with handy keyboard shortcuts : when you need to perform an action, like moving a channel or calculating stuff, you’re always one click / keyboard stroke away from your result. It’s been proven to be very handy, I love it, and hope you will too.</p>

<p>Banson</p>
]]></description>
   </item>
   <item>
      <title>Audio output monitoring of video</title>
      <link>https://forum.processing.org/two/discussion/10797/audio-output-monitoring-of-video</link>
      <pubDate>Wed, 13 May 2015 23:35:26 +0000</pubDate>
      <dc:creator>wolfrog</dc:creator>
      <guid isPermaLink="false">10797@/two/discussions</guid>
      <description><![CDATA[<p>I am trying to monitor audio information of a Video I have playing within Processing and then use that data to trigger events. Is there a simple way to monitor the audio output of your soundcard using processing?</p>

<p>I just posted a question along similar lines, here <a href="http://forum.processing.org/two/discussion/10796/sound-library-confusion#latest" target="_blank" rel="nofollow">http://forum.processing.org/two/discussion/10796/sound-library-confusion#latest</a>  and thought my question was solved, now I am realizing it may not be as simple as I had hoped, as it looks like, as I understand it, that the Sound library can only monitor input audio, not output?</p>

<p>I have been messing with the Minim library and haven't figured out a way to transfer the audio output into number information. println("out"), out); returns ddf.minim.AudioOutput@73c66667</p>

<p>anyone know of a simple way to do this, or have a direction you might nudge me in?</p>

<p>Thanks!</p>
]]></description>
   </item>
   <item>
      <title>Sound Library Confusion</title>
      <link>https://forum.processing.org/two/discussion/10796/sound-library-confusion</link>
      <pubDate>Wed, 13 May 2015 20:08:38 +0000</pubDate>
      <dc:creator>wolfrog</dc:creator>
      <guid isPermaLink="false">10796@/two/discussions</guid>
      <description><![CDATA[<p>Hello all, I am relatively new to processing here,...</p>

<p>I am trying to get some audio information from a video that I have playing using the video library in processing. I have been clicking around for a couple hours and have seemingly found a way that I can analyze the video's sound information and use the information to trigger events...</p>

<p>My answer came in the form of the sound library;
<a href="https://processing.org/reference/libraries/sound/index.html" target="_blank" rel="nofollow">https://processing.org/reference/libraries/sound/index.html</a></p>

<p>However I have not been able to get the library installed. The 'Sound' library doesn't show up in the 'sketch, import library' dropdown, nor does it appear in the list that you can search through by clicking 'add library'. The other 5 big ones do show up (PDF, DXF, Serial, Net, Video) and then it would appear that the sound library has been replaced by 'Minim'</p>

<p>When I search for documentation about 'minim' I haven't found anything very helpful, spare for that it is indeed a sound library of sorts.</p>

<p>I tried downloading the 'sound' library following the hyperlink off of the processing page I aforementioned, 
<a href="https://github.com/processing/processing-sound" target="_blank" rel="nofollow">https://github.com/processing/processing-sound</a></p>

<p>but I don't know what the hell is going on with all of those files. haha.</p>

<p>Someday I will know the answer to all of this but for now I am a lost little n00bie, anyone out there have that magic insight I am looking for?</p>

<p>Thanks a ton!!</p>
]]></description>
   </item>
   <item>
      <title>Play sound with "keyPressed"</title>
      <link>https://forum.processing.org/two/discussion/10429/play-sound-with-keypressed</link>
      <pubDate>Mon, 20 Apr 2015 23:04:30 +0000</pubDate>
      <dc:creator>ROROB</dc:creator>
      <guid isPermaLink="false">10429@/two/discussions</guid>
      <description><![CDATA[<p>Hi everybody,
I want to know how can I put a sound everytime that a key is pressed ? For instance "if(keyPressed){
   if((key == 'z' )){  "play a sound" } ". 
 :-/</p>
]]></description>
   </item>
   <item>
      <title>Specifying a beat value in soundcipher</title>
      <link>https://forum.processing.org/two/discussion/10223/specifying-a-beat-value-in-soundcipher</link>
      <pubDate>Tue, 07 Apr 2015 14:15:18 +0000</pubDate>
      <dc:creator>sm2883</dc:creator>
      <guid isPermaLink="false">10223@/two/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>I am making use of the soundcipher library. I am not to much into music but I would like to create one Midi note with a specific beat.</p>

<p>For example: a Midi note of <strong>pitch</strong> 80 at <strong>beat</strong> 5 and a <strong>duration</strong> of 2BPS.</p>

<p>Can anyone help me how this can be done? Do I have to use the <code>playNote</code> method?</p>

<p>Thanks!</p>
]]></description>
   </item>
   <item>
      <title>Minim Clipping When Changing Notes</title>
      <link>https://forum.processing.org/two/discussion/9944/minim-clipping-when-changing-notes</link>
      <pubDate>Fri, 20 Mar 2015 01:41:57 +0000</pubDate>
      <dc:creator>Gustaf</dc:creator>
      <guid isPermaLink="false">9944@/two/discussions</guid>
      <description><![CDATA[<p>I'm trying to build a polyphonic synth in Minim using an array of Oscil ugens that I've put into classes. My problem is that whenever I change note I get a short click sound. If I play a 'x' amounts of notes simultaneously it's fine, but adding one by one causes a click to appear.</p>

<pre><code>void KeyPress()
{
  keysPressed=0; //FOR EACH KEYPRESSED, ADD ONE TO TO AMP
  for (int i = 0; i &lt; keys.length; i++) osc[i].adsr.unpatch(out); //Reset patches when keyPressed

  for (int i = 0; i &lt; keys.length; i++)
  {

    if (key == keys[i]) //if keypressed is equal to an element from my array keys
    {
      keyState[i] = true; //set corresponding boolean from keyState array to true
    }
    if (keyState[i]) //for each active keyState add one to keypressed
    {

      keysPressed++;
    }
  }

  if (keysPressed == 0) amp = MAXAMP; //no keyspressed amplitude is equal to maxamp
  else amp=MAXAMP/keysPressed; //divide amplitude by amount of keyspressed, otherwise sound distorts

  for (int i = 0; i &lt; keys.length; i++) osc[i].oscil.setAmplitude(amp); //set amplitude of each class individually to current amp

  for (int i=0;i&lt;keys.length;i++)
  {
    if (keyState[i] &amp;&amp; key == keys[i]) //if keyState[i] is true and corresponding key is active
    {
      osc[i].adsr.unpatch(out); //unpatch
      freq = Frequency.ofPitch(notes[i]+oct); //set freq to frequency
      osc[i].oscil.setFrequency(freq); //set freq
      osc[i].noteOn(); //initialise noteOn
    }
    else if (keyState[i]) { //if only keyState[i] is true, reset patch and turn noteOn, this ensures polyphony for keypressed
      osc[i].adsr.unpatch(out);
      osc[i].noteOn();
    }
  }  
}
</code></pre>

<p>Thanks for any assistance!</p>
]]></description>
   </item>
   <item>
      <title>Simple rhythm generator + source code</title>
      <link>https://forum.processing.org/two/discussion/8545/simple-rhythm-generator-source-code</link>
      <pubDate>Mon, 08 Dec 2014 07:09:45 +0000</pubDate>
      <dc:creator>ndrplz</dc:creator>
      <guid isPermaLink="false">8545@/two/discussions</guid>
      <description><![CDATA[<p>Hi everybody,</p>

<p>After I saw this TED-Ed talk (<span class="VideoWrap"><span class="Video YouTube" id="youtube-2UphAzryVpY"><span class="VideoPreview"><a href="http://youtube.com/watch?v=2UphAzryVpY"><img src="http://img.youtube.com/vi/2UphAzryVpY/0.jpg" width="640" height="385" border="0" /></a></span><span class="VideoPlayer"></span></span></span>) I was very impressed, so I decided to develop a simple rhythm engine that would work in a similar way.</p>

<p>You can find a short video of the software working here:
<span class="VideoWrap"><span class="Video YouTube" id="youtube-rklegouFtjI"><span class="VideoPreview"><a href="http://youtube.com/watch?v=rklegouFtjI"><img src="http://img.youtube.com/vi/rklegouFtjI/0.jpg" width="640" height="385" border="0" /></a></span><span class="VideoPlayer"></span></span></span></p>

<p>And you'll find the whole source code (3 files) here:
<a href="https://github.com/ndrplz/RoundRhythm" target="_blank" rel="nofollow">https://github.com/ndrplz/RoundRhythm</a></p>

<p>Hope you'll enjoy!
Best Regards,</p>

<p>Andrea</p>
]]></description>
   </item>
   <item>
      <title>Is the krister.Ess Library Still Maintained for Processing?</title>
      <link>https://forum.processing.org/two/discussion/8037/is-the-krister-ess-library-still-maintained-for-processing</link>
      <pubDate>Sun, 09 Nov 2014 23:02:56 +0000</pubDate>
      <dc:creator>rhieger</dc:creator>
      <guid isPermaLink="false">8037@/two/discussions</guid>
      <description><![CDATA[<p>I am a relative newbie to Processing trying to move forward a final project in a graduate course.</p>

<p>I am trying to explore Examples starting on page 593 of the Processing Book by Casey Reas and Ben Fry. These examples depend on importing the krister.Ess library, but this library does not appear to be part of the libraries that come standard with Processing.</p>

<p>All my searches for the library have been blind allies so far. My question is whether this library is still in active development, and if so, from where can I download it?</p>

<p>My thanks in advance.</p>
]]></description>
   </item>
   <item>
      <title>Paste sounds before playing, minim library</title>
      <link>https://forum.processing.org/two/discussion/7483/paste-sounds-before-playing-minim-library</link>
      <pubDate>Tue, 07 Oct 2014 06:31:08 +0000</pubDate>
      <dc:creator>anthony20</dc:creator>
      <guid isPermaLink="false">7483@/two/discussions</guid>
      <description><![CDATA[<p>Hello, good morning:</p>

<p>I am learning to use the minim library.</p>

<pre><code>if(sound != null) {sound= sound + minim.loadFile("1.mp3") ;} 
else {sound= minim.loadFile("1.mp3") ;} 
sound.play();
</code></pre>

<p>I want to load and paste multiple audio files before playing the sound.</p>

<p>the + does not work, how can I do this?</p>

<p>Greetings and thanks.</p>
]]></description>
   </item>
   <item>
      <title>Minim Errors - How to detect no playback device (speakers/headphones) and avoid errors?</title>
      <link>https://forum.processing.org/two/discussion/7271/minim-errors-how-to-detect-no-playback-device-speakers-headphones-and-avoid-errors</link>
      <pubDate>Sun, 21 Sep 2014 13:27:41 +0000</pubDate>
      <dc:creator>batroost</dc:creator>
      <guid isPermaLink="false">7271@/two/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>I have a Processing2 application that works fine on my PC. When I tried it on a spare machine I got multiple Minim errors. This appears to be because the spare machine (Windows7) has no Speakers or Headphones plugged-in i.e. no playback device. When I plug in headphones all of the errors disappear and the code runs as normal.</p>

<p>Does anyone know of a simple way to detect the lack of playback device from within the code? I could then use this to skip the sound-related commands for any machine that has no sound.</p>

<p>Many thanks,</p>

<p>Batroost</p>
]]></description>
   </item>
   <item>
      <title>Trouble printing AudioInput data with Minim library</title>
      <link>https://forum.processing.org/two/discussion/7209/trouble-printing-audioinput-data-with-minim-library</link>
      <pubDate>Wed, 17 Sep 2014 11:23:05 +0000</pubDate>
      <dc:creator>ryanhammond</dc:creator>
      <guid isPermaLink="false">7209@/two/discussions</guid>
      <description><![CDATA[<p>Hello All, I'm modifying an example code I found online that uses the Minim library to detect sound with AudioInput and draw a line that displays oscillations -- a simple oscilloscope. I want to use a similar method to modify background color with audioinput - I want to map sound from 100hz to 2000hz onto the color spectrum so that as you slide up through a scale, the screen slides through the color spectrum.</p>

<p>Right now I'm simply trying to print the data coming in from audio input in this applet I'm modifying so that I can see the range of numbers coming in. I inserted "println(in)" at the end of the "void draw()" section to print the AudioInput variable, but it just prints this over and over: ddf.minim.AudioInput@416fa1ee</p>

<p>I'm stuck, any suggestions?</p>

<p>Here's the full code I'm working with:</p>

<p>import ddf.minim.*;</p>

<p>Minim minim;
AudioInput in;
color white;</p>

<p>void setup()
{
  size(512, 200, P2D);
  white = color(255);
  colorMode(HSB,100);
  minim = new Minim(this);
  minim.debugOn();</p>

<p>// get a line in from Minim, default bit depth is 16
  in = minim.getLineIn(Minim.STEREO, 512);
  background(0);
}</p>

<p>void draw()
{
  background(0);
  // draw the waveforms
  for(int i = 0; i &lt; in.bufferSize() - 1; i++)
  {
    stroke((1+in.left.get(i))<em>50,100,100);
    line(i, 50 + in.left.get(i)</em>50, i+1, 50 + in.left.get(i+1)<em>50);
    stroke(white);
    line(i, 150 + in.right.get(i)</em>50, i+1, 150 + in.right.get(i+1)*50);
  }</p>

<p>println(in);
}</p>

<p>void stop()
{
  // always close Minim audio classes when you are done with them
  in.close();
  minim.stop();
  super.stop();
}</p>
]]></description>
   </item>
   <item>
      <title>Speed up, speed down sound in Minim</title>
      <link>https://forum.processing.org/two/discussion/6463/speed-up-speed-down-sound-in-minim</link>
      <pubDate>Wed, 23 Jul 2014 05:35:27 +0000</pubDate>
      <dc:creator>ukicar</dc:creator>
      <guid isPermaLink="false">6463@/two/discussions</guid>
      <description><![CDATA[<p>Hello,
Is there any way to speed up or speed down playing sound with Minim library. I found setSampleRate function but there is 0 examples of how is it supposed to work.</p>

<p>Best regards,
uros</p>
]]></description>
   </item>
   </channel>
</rss>