<?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 #analysis - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=%23analysis</link>
      <pubDate>Sun, 08 Aug 2021 18:13:18 +0000</pubDate>
         <description>Tagged with #analysis - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/tagged%23analysis/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Syncing video to audio</title>
      <link>https://forum.processing.org/two/discussion/8801/syncing-video-to-audio</link>
      <pubDate>Sat, 27 Dec 2014 17:41:52 +0000</pubDate>
      <dc:creator>rtavakko</dc:creator>
      <guid isPermaLink="false">8801@/two/discussions</guid>
      <description><![CDATA[<p>Hello everyone,</p>

<p>I recently started working on a project that creates visuals for music using the minim library. All is well until I export the video file using GSvideo and use windows movie maker to create my music video. The audio seems to be quite a bit behind and the visuals don't really make sense (I've tried different frames/s values and still the same issue).
I'm using processing 2.0, tried using the GSvideo pipeline but I'm not sure how to export both audio and video at the same time this way (any examples you have would be very much appreciated). 
Does anyone have any experience with this subject? Any pointers would be great.</p>

<p>Thanks in advance</p>
]]></description>
   </item>
   <item>
      <title>Minim FFT question</title>
      <link>https://forum.processing.org/two/discussion/4689/minim-fft-question</link>
      <pubDate>Fri, 25 Apr 2014 15:29:37 +0000</pubDate>
      <dc:creator>zoom</dc:creator>
      <guid isPermaLink="false">4689@/two/discussions</guid>
      <description><![CDATA[<p>Hey there,</p>

<p>I've been fooling around minim library to do some sound analysis.</p>

<p>What I want to achieve is performing FFT but do this for certain frequency ranges which are as follows;</p>

<p>20hz - 80hz = ........ Low Bass<br />
80hz - 320hz = ...... Midbass<br />
320hz - 1280hz = ... Midrange<br />
1280hz - 5120hz = .. High Midrange/Low Treble<br />
5120hz - 20840hz = . High Treble</p>

<p>For each range I need to get a magnitude so that I can send them to arduino.</p>

<p>Is this something possible to achieve.</p>

<p>Also I need to use the soundcard output of the computer as input data rather than using the built-in microphone with AudioInput function. However, couldn't find any way to do so. I reckon this is something feasible since I read the following comment lines under getLineIn function;</p>

<p>//it's feasible that the user may have the actual audio output of the computer as the active audio input</p>

<p>I do really appreciate if someone help me to sort those things.</p>

<p>Thank you.</p>
]]></description>
   </item>
   <item>
      <title>Using Processing to analyse song data</title>
      <link>https://forum.processing.org/two/discussion/7640/using-processing-to-analyse-song-data</link>
      <pubDate>Thu, 16 Oct 2014 09:14:09 +0000</pubDate>
      <dc:creator>Whackie</dc:creator>
      <guid isPermaLink="false">7640@/two/discussions</guid>
      <description><![CDATA[<p>Hello all,</p>

<p>I am looking for advice as to if it is possible to use processing to get a random song from an online service like spotify or last.fm. Once the song has been received, I want to analyse properties like tempo, key, bpm, lyrics and mood even. I then want to use the analysed data as input parameters generative artwork which will be created by interfacing with a kinect..E.g if the BPM is slow, the generative art will be created at a slower pace.</p>

<p>I have looked at using echonestp5 library/API to attempt this but I am confused as to how I would implement all of this coding into a processing sketch. What would be the best way to proceed with a project like this?</p>

<p>Any help or guidance is greatly appreciated..</p>

<p>If I am posting in the wrong area please let me know and i will  move the post</p>

<p>Many Thanks.
JJ.</p>
]]></description>
   </item>
   <item>
      <title>Build Error 720</title>
      <link>https://forum.processing.org/two/discussion/5419/build-error-720</link>
      <pubDate>Tue, 27 May 2014 16:21:09 +0000</pubDate>
      <dc:creator>kasperkamperman</dc:creator>
      <guid isPermaLink="false">5419@/two/discussions</guid>
      <description><![CDATA[<p>The simple project from the <a rel="nofollow" href="https://processing.org/learning/android/">learning section</a> doesn't build.</p>

<p>Processing 2.2.1, OSX 10.9.3</p>

<p>Wiki steps (.bash_profile) are followed <a rel="nofollow" href="http://wiki.processing.org/w/Android#Mac_Users">http://wiki.processing.org/w/Android#Mac_Users</a></p>

<pre><code>-set-mode-check:

-set-debug-files:

-check-env:
Android SDK Tools Revision 22.6.3
Installed at /Developer/AndroidSDK

-setup:
     [echo] Project Name: sketch_140527a
Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
Using latest Build Tools: 18.1.1
     [echo] Resolving Build Target for sketch_140527a...
Project Target:   Android 2.3.3
API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/res
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/rsObj
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/rsLibs
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/gen
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/classes
    [mkdir] Created dir: /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for sketch_140527a...
Library dependencies:
No Libraries

------------------
API&lt;=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 3 source files to /var/folders/q7/zk_87gvn1z3cyzkr4q6s09_c0000gn/T/android698411884173285614sketch/bin/classes
    [javac] Unable to locate an executable at "/Applications/Processing.app/Contents/PlugIns/jdk1.7.0_55.jdk/Contents/Home/jre/bin/javac" (-1)

BUILD FAILED
/Developer/AndroidSDK/tools/ant/build.xml:720: The following error occurred while executing this line:
/Developer/AndroidSDK/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.

Total time: 4 seconds
</code></pre>
]]></description>
   </item>
   <item>
      <title>Sketch not running :( (Error running javac.exe compiler)</title>
      <link>https://forum.processing.org/two/discussion/6468/sketch-not-running-error-running-javac-exe-compiler</link>
      <pubDate>Wed, 23 Jul 2014 08:30:22 +0000</pubDate>
      <dc:creator>dattasaurabh82</dc:creator>
      <guid isPermaLink="false">6468@/two/discussions</guid>
      <description><![CDATA[<p>Hello all.</p>

<p>I'm recently trying to run processing in android mode.. 
I followed this thread and was able to successfully put processing to Android mode.
Then I went with a very simple example just to check if it shows up. e.g. sketch:</p>

<pre><code>/**
 * Random. 
 * 
 * Random numbers create the basis of this image. 
 * Each time the program is loaded the result is different. 
*/
 void setup(){
size(200, 200);
 }

 void draw(){
smooth();
background(0);
strokeWeight(10);

for(int i = 0; i &lt; width; i++) {
  float r = random(255);
  float x = random(0, width);
  stroke(r, 100);
  line(i, 0, x, height);
}
 }
</code></pre>

<p>When I run this, I got the following error:</p>

<pre><code>"Error from inside the Android tools, check the console "
 Debug window says:

-set-mode-check:

-set-debug-files:

-check-env:
Android SDK Tools Revision 23.0.2
Installed at C:\Users\saurav datta\AppData\Local\Android\android-sdk

-setup:
     [echo] Project Name: Random
Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
Using latest Build Tools: 20.0.0
     [echo] Resolving Build Target for Random...
Project Target:   Android 2.3.3
API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\res
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\rsObj
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\rsLibs
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\gen
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\classes
    [mkdir] Created dir: C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for Random...
Library dependencies:
No Libraries

------------------
API&lt;=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 3 source files to C:\Users\SAURAV~1\AppData\Local\Temp\android965288119214272428sketch\bin\classes

BUILD FAILED
C:\Users\saurav datta\AppData\Local\Android\android-sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\Users\saurav datta\AppData\Local\Android\android-sdk\tools\ant\build.xml:734: Error running javac.exe compiler

Total time: 0 seconds
</code></pre>

<p>Now I've no idea about android what so ever but I heard those who develop for android have an emulator installed and they run it there. I'm confused if that's required in case of running it from processing, whether it's automatically installed while I installed SDK and relative packages as mentioned in this thread: <a rel="nofollow" href="http://wiki.processing.org/w/Android#Android_Mode"></a></p>

<pre><code>I've windows 8.1 64 bit
Processing 2.2.1
java version 7 update 55. 
</code></pre>
]]></description>
   </item>
   <item>
      <title>GSoC-2014; participation + ideas</title>
      <link>https://forum.processing.org/two/discussion/3638/gsoc-2014-participation-ideas</link>
      <pubDate>Wed, 12 Mar 2014 03:20:54 +0000</pubDate>
      <dc:creator>bdshadow</dc:creator>
      <guid isPermaLink="false">3638@/two/discussions</guid>
      <description><![CDATA[<p>Hello to all,</p>

<p>My name is Bocharov Dmitry. I'm 1st year master student (5th year at all) of the Moscow Institute of Physics and Technology. My specialisation is Computer Science.</p>

<p>I would like to take part in GSoC-2014, and I've searched for projects, connected with image analysis and image designing because now I'm writing my master's diploma on theme "Shape decomposition". This is its key point, however, my global plan is to create web-service, which will allow to try different instruments of image analysis online, without programming. I use Python (numpy, scikit-image... + Django). So I bumped into your Processing project and found our ideas quite similar. What do you think of an idea to create some kind of an image analysis library? I've looked through the existing libraries, but didn't find some kind of such a library. The closest is <a rel="nofollow" href="http://toxiclibs.org/">toxiclib</a>. Maybe I wasn't attentive and missed something. However, if you help me with developing this ieda, it will be great!</p>

<p>Don't think I'm a python developer, Actually, I use Java as my professional language for 2 years practivcally. <a rel="nofollow" href="http://www.linkedin.com/profile/view?id=179174172">Here</a> is my linked-in account.  During the last year I'm a part-time developer of Amdocs CRM system for big Russian telecom provider.</p>

<p>One more thing. A year ago I took part in the Imagine Cup student competition. My team created a system for remote robot driving and programming, that allows students to learn robotics. We've got a robot with Linux OS and Kinect. We used to read and transfer data from kinect through wi-fi to the laptop with MRDS.  So I have an experience working with kinect and openkinect and may be useful in updating Processing Kinect library and creating its new features. I saw <a rel="nofollow" href="http://forum.processing.org/two/discussion/3611/kinect-programmimg">here</a>, that vva_innovate has already applied for this. Maybe we can work together for this.</p>

<p>Thanks for your help and comments in advance.</p>
]]></description>
   </item>
   </channel>
</rss>