Which sound library should I use?

Thanks for sharing this

@robertesler

Hi and thanks! All seems to be working now :slight_smile:

Have also got it working in Android Studio :slight_smile:

you should eventually use something at the level of:

  • ableton
  • maxmsp
  • pd
  • csound
  • supercollider
  • kyma

just focus on:

  • using OSC (opensoundcontrol) for the sake of handling communication
  • use a double window, in processing, one for the ui, another one for data visualization throughout a simple animation, of what you have in your environment

what else should i advise to complement the visuals:

  • something at the level of spout ndi or syphon
  • a vj software like modul8, resolume, vdmx, or similar
  • touch designer
  • unity or unreal engine
  • after effects

any way, the framework under which you decide to do all these things is only meaningful to you

If you mean detecting the pitch of a sound signal, there is a PitchDetection example in the new release: https://github.com/processing/processing-sound/blob/main/examples/Analysis/PitchDetection/PitchDetection.pde

If you mean a full frequency spectrum analysis, use an FFT: https://github.com/processing/processing-sound/blob/main/examples/Analysis/FFTSpectrum/FFTSpectrum.pde

1 Like

Thanks for reply Sir I mean measuring frequency of sound as frequency counter

Hello @kevinstadler,

Thank you! :+1:

I took the pitch detection out for a spin using:
Online Tone Generator - generate pure tones of any frequency < Read the caution! I used earplugs to protect my ears at higher volumes and frequencies!

And adding the line to display pitch:

println(pitchAndConfidence);

I managed to measure pitch (frequency) between 100 Hz and 4000Hz.
I did a bit of fiddling with microphone levels and volume to get a confidence level to register at higher frequencies… I was also careful not to damage my hearing or microphone and speakers.

:)

1 Like