Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

REGARDING PROCESSING PROGRAM Does anyone know why the library \"papaya\" won\'t

ID: 3912669 • Letter: R

Question

REGARDING PROCESSING PROGRAM

Does anyone know why the library "papaya" won't show up in the Processing program. Ill post pictures of the folder and what it looks like but its in the same place as the Minim library and that shows up fine in Processing.

sketch | Processing 3.3.7 sketch + these can be calculated: Linearly, by grouping equal numbers of adjacent frequency bands, or Logarithmically, by grouping frequency bands by octave, which is more akin to how humans hear sound This sketch uses the logarithmic average because its application deals with nusic and its visualization + Noving the nouse across the sketch will display the center frequency of that band For more information about Minim and additional features, visit http://code.compartmental.net/minim/ import processing.net. import processing.serial.*i import ddf.minin.analysis. import ddf.minin. import papaya.* / minin Minim minin; AudioInput in; FFT fftlin; FFT fftLog; 37 constants defines final int avgSens75; final int naxSens300 final float spectrumScale 2; If scalar to nake bars nore visible final int timeSens250; final float avgMult 1.8; final float avgoffset4; final int buffersize1024; f for the FFT analysis // number of averages for calculating running average /f number of averages for calculating running maximums ms to wait until next beat is valid / scales the threshold /I higher number prevents noisy detections FUTURE WORK final int spectrumAvgSens5 number of averages for calculating running spectrum avg final int spectrumMaxSens40number of averages for calculating running spectrum max The package "papaya" does not exist. You might be missing a library No library found for papaya Libraries must be installed in a folder named 'libraries' inside the sketchbook folder (see the Preferences window)

Explanation / Answer

Let's just install it from the scratch again.

1) Go to the location where you installed the package papaya ( The folder which currently contains your papaya folder) and delete the papaya folder.

2) Click on the Preference section on the Processing application.

3) See the "sketchbook location". (Remmember this folder).[This is your base folder. This is where you need to create the libraries folder]

4)Now go to that folder which was previously pointed in sketchbook location and create a folder named "libraries". If you already have a libraries folder then ignore this step.

5) Now download the papaya package from the official link.

6) Extract the "papaya.zip"

7) Copy the extracted folder into the "libraries" folder you created in step 4.

8) And paste it there.

9) Now close the processing application and relaunch it ( Important to do so. Otherwise it wont read it).

10) It should start working now.

-----------------------------------------------------------------------------

If it still doesn't work,

--> Download some other package made for processing and extract it and paste it in the libraries folder and import this library. Try running the programming. Even then if you get import error then it means that your processing installation is not working properly. Try re installing the processing application.(This is highly unlikely).