SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
ModulatorP5
Make your sketches more dynamic with
Modulators
Why ModulatorP5?
Inspired by my experience as an electronic musician.
Driven out of creating sketches for a performance at
the Milwaukee Avenue Arts Fest.
I missed LFO’s (Low Frequency Oscillators.)
Also wanted an easy way to “tap in” to audio analysis
data without a lot of work.
Why a Processing library?
Building a Processing library isn’t nearly as hard as it
might look.
It pushes all the boilerplate repetitive code out of your
sketch, and into one definitive place.
An easy way to get access to the power of Java, while
keeping your sketches feeling “light-weight.”
What can it do?
Sine/Cosine and Perlin Noise LFO-type Modulators
with adjustable rate and modulation amount.
Audio Analysis Modulator with adjustable frequency
range, easing and modulation amount.
Add a control UI for any Modulator in one line of code.
Modulation
Sine Modulator modulating Particle Size.
Modulation with UI
Sine Modulator modulating Particle Size.
The Code - Setup
// “this” is a reference to the sketch (PApplet)
minim = new Minim(this);
input = minim.getLineIn();
controlP5 = new ControlP5(this);
modP5 = new ModulatorP5(this, controlP5, minim, input);
The Code - Oscillator
Modulator sizeOsc = modP5.createCosineOscillator()

.setMinRange(0)

.setMaxRange(120)

.setMinRate(0.0)

.setMaxRate(0.5);
The Code - Control Panel
modP5.createControlPanel(20, 200, "P-Size (Osc)", sizeOsc);
No other code is needed!
I wanted ModulatorP5 to require a fair amount of
configuration and setup in setup() up front.
Once it is up and running, nothing needs to be done in
the draw() loop.
That’s not quite true - behind the scenes ModulatorP5
taps into the draw() loop, but it’s hidden from your
sketch.
Audio Analysis
One caveat. There is a lot of room for improvement in
the current version of the Audio Analysis code, both in
the API and under the hood.
Audio Analysis comes down to picking a frequency
range, easing, and modulation amount.
Currently supported frequency ranges are: sub-bass,
bass, mids and highs.
Audio Analysis
Audio Analyzer modulating Particle size.
Audio Analysis with UI
The Code
analyzer = modulatorP5.createAudioAnalyzer()
.setMinRange(0)
.setMaxRange(160)
.setEasing(0.2);
modP5.createControlPanel(20, 20, "P-Size (Anaylzer)", analyzer);
Plans for the future
Remove the ControlP5 dependency and replace with a
custom UI.
Support more diverse waveforms like Saw, Square,
Sample-and-hold, and maybe simple FM synthesis.
More sophisticated audio analysis, including setting
frequency start and end bands, and multi-band
analysis returning an array of values.
Don’t be afraid to dive in
and build your own library.
Even if you’re the only one who is ever going to use it.
Push overly complicated logic out of your sketches.
Reuse your code!
Get more ambitious with your architecture, with Java
you get generics, interfaces, enums and more.
The Processing Library Template for Eclipse gets you
up and running quickly.
Contribute!
ModulatorP5

http://github.com/nathankoch/ModulatorP5

Más contenido relacionado

Destacado

Destacado (15)

Insumo para las mesas de trabajo lam
Insumo para las mesas de  trabajo lamInsumo para las mesas de  trabajo lam
Insumo para las mesas de trabajo lam
 
Ssp165 Simos Motormanagement System
Ssp165 Simos Motormanagement SystemSsp165 Simos Motormanagement System
Ssp165 Simos Motormanagement System
 
Fermi puig
Fermi puigFermi puig
Fermi puig
 
Facing the challenges of the new millenium...
Facing the challenges of the new millenium...Facing the challenges of the new millenium...
Facing the challenges of the new millenium...
 
Mision udl139980
Mision udl139980Mision udl139980
Mision udl139980
 
Mapa conceptual Nasly Robles
Mapa conceptual Nasly RoblesMapa conceptual Nasly Robles
Mapa conceptual Nasly Robles
 
RESUME
RESUMERESUME
RESUME
 
Mapa conceptual
Mapa conceptualMapa conceptual
Mapa conceptual
 
Practico n°2 algebra
Practico n°2   algebraPractico n°2   algebra
Practico n°2 algebra
 
Analitica Web-2016-06-30
Analitica Web-2016-06-30Analitica Web-2016-06-30
Analitica Web-2016-06-30
 
El noviazgo
El noviazgoEl noviazgo
El noviazgo
 
C:\Fake Path\Proposal Love Runs The City
C:\Fake Path\Proposal Love Runs The CityC:\Fake Path\Proposal Love Runs The City
C:\Fake Path\Proposal Love Runs The City
 
Static and dynamic indices of hemodynamic monitoring
Static and dynamic indices of hemodynamic monitoringStatic and dynamic indices of hemodynamic monitoring
Static and dynamic indices of hemodynamic monitoring
 
X MIA 5 Proyek Kerja Fisika (Elastisitas pegas) by Kelompok 1
X MIA 5 Proyek Kerja Fisika (Elastisitas pegas) by Kelompok 1X MIA 5 Proyek Kerja Fisika (Elastisitas pegas) by Kelompok 1
X MIA 5 Proyek Kerja Fisika (Elastisitas pegas) by Kelompok 1
 
VMIL keynote : Lessons from a production JVM runtime developer
VMIL keynote : Lessons from a production JVM runtime developerVMIL keynote : Lessons from a production JVM runtime developer
VMIL keynote : Lessons from a production JVM runtime developer
 

Similar a Modulator p5: Make your Processing Sketches More Dynamic with Modulators

UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_is
UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_isUplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_is
UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_isSatya Harish
 
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...Sagar Mali
 
Using the Cypress PSoC Processor
Using the Cypress PSoC ProcessorUsing the Cypress PSoC Processor
Using the Cypress PSoC ProcessorLloydMoore
 
Ananthprofilepln
AnanthprofileplnAnanthprofilepln
Ananthprofileplnananthch
 
Ni labview y multisim
Ni labview y multisimNi labview y multisim
Ni labview y multisimTame Claudio
 
ECET 380 Entire Course NEW
ECET 380 Entire Course NEWECET 380 Entire Course NEW
ECET 380 Entire Course NEWshyamuopuop
 
Clear One X A P Converge
Clear One  X A P  ConvergeClear One  X A P  Converge
Clear One X A P Convergechwoo7
 
ECS: Graph Driven Audio in an ECS World
ECS: Graph Driven Audio in an ECS WorldECS: Graph Driven Audio in an ECS World
ECS: Graph Driven Audio in an ECS WorldUnity Technologies
 
Acidgrooves DSP SDK Brochure
Acidgrooves DSP SDK BrochureAcidgrooves DSP SDK Brochure
Acidgrooves DSP SDK BrochureAcidgrooves
 
Programmable Rf Attenuation Project
Programmable Rf Attenuation ProjectProgrammable Rf Attenuation Project
Programmable Rf Attenuation ProjectRon Harding
 
Raspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-stripRaspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-stripStefan Oprea
 
Live streaming your podcast
Live streaming your podcastLive streaming your podcast
Live streaming your podcastPaul Richards
 
Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002dpdobrev
 
Aspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency InjectionAspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency InjectionRobert Lemke
 
Jonny doin lt spice servo_dac
Jonny doin lt spice servo_dacJonny doin lt spice servo_dac
Jonny doin lt spice servo_dacJonny Doin
 
Analog for all_preview
Analog for all_previewAnalog for all_preview
Analog for all_previewAnand Udupa
 
Analog for all_preview
Analog for all_previewAnalog for all_preview
Analog for all_previewSahyogeeTech
 

Similar a Modulator p5: Make your Processing Sketches More Dynamic with Modulators (20)

UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_is
UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_isUplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_is
UplinQ - enhance qualcomm® snapdragon™ audio using android audio ap_is
 
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
BLUETOOTH CONTROLLED HIGH POWER AUDIO AMPLIFIER (III-II minor project proposa...
 
Using the Cypress PSoC Processor
Using the Cypress PSoC ProcessorUsing the Cypress PSoC Processor
Using the Cypress PSoC Processor
 
Ananthprofilepln
AnanthprofileplnAnanthprofilepln
Ananthprofilepln
 
Ni labview y multisim
Ni labview y multisimNi labview y multisim
Ni labview y multisim
 
ECET 380 Entire Course NEW
ECET 380 Entire Course NEWECET 380 Entire Course NEW
ECET 380 Entire Course NEW
 
Clear One X A P Converge
Clear One  X A P  ConvergeClear One  X A P  Converge
Clear One X A P Converge
 
ECS: Graph Driven Audio in an ECS World
ECS: Graph Driven Audio in an ECS WorldECS: Graph Driven Audio in an ECS World
ECS: Graph Driven Audio in an ECS World
 
Acidgrooves DSP SDK Brochure
Acidgrooves DSP SDK BrochureAcidgrooves DSP SDK Brochure
Acidgrooves DSP SDK Brochure
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
Programmable Rf Attenuation Project
Programmable Rf Attenuation ProjectProgrammable Rf Attenuation Project
Programmable Rf Attenuation Project
 
Audio equalizer
Audio equalizerAudio equalizer
Audio equalizer
 
Raspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-stripRaspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-strip
 
Live streaming your podcast
Live streaming your podcastLive streaming your podcast
Live streaming your podcast
 
Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002
 
Aspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency InjectionAspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency Injection
 
CATV Headend (Basic)
CATV Headend (Basic)CATV Headend (Basic)
CATV Headend (Basic)
 
Jonny doin lt spice servo_dac
Jonny doin lt spice servo_dacJonny doin lt spice servo_dac
Jonny doin lt spice servo_dac
 
Analog for all_preview
Analog for all_previewAnalog for all_preview
Analog for all_preview
 
Analog for all_preview
Analog for all_previewAnalog for all_preview
Analog for all_preview
 

Último

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Último (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Modulator p5: Make your Processing Sketches More Dynamic with Modulators

  • 1. ModulatorP5 Make your sketches more dynamic with Modulators
  • 2. Why ModulatorP5? Inspired by my experience as an electronic musician. Driven out of creating sketches for a performance at the Milwaukee Avenue Arts Fest. I missed LFO’s (Low Frequency Oscillators.) Also wanted an easy way to “tap in” to audio analysis data without a lot of work.
  • 3. Why a Processing library? Building a Processing library isn’t nearly as hard as it might look. It pushes all the boilerplate repetitive code out of your sketch, and into one definitive place. An easy way to get access to the power of Java, while keeping your sketches feeling “light-weight.”
  • 4. What can it do? Sine/Cosine and Perlin Noise LFO-type Modulators with adjustable rate and modulation amount. Audio Analysis Modulator with adjustable frequency range, easing and modulation amount. Add a control UI for any Modulator in one line of code.
  • 6. Modulation with UI Sine Modulator modulating Particle Size.
  • 7. The Code - Setup // “this” is a reference to the sketch (PApplet) minim = new Minim(this); input = minim.getLineIn(); controlP5 = new ControlP5(this); modP5 = new ModulatorP5(this, controlP5, minim, input);
  • 8. The Code - Oscillator Modulator sizeOsc = modP5.createCosineOscillator()
 .setMinRange(0)
 .setMaxRange(120)
 .setMinRate(0.0)
 .setMaxRate(0.5);
  • 9. The Code - Control Panel modP5.createControlPanel(20, 200, "P-Size (Osc)", sizeOsc);
  • 10. No other code is needed! I wanted ModulatorP5 to require a fair amount of configuration and setup in setup() up front. Once it is up and running, nothing needs to be done in the draw() loop. That’s not quite true - behind the scenes ModulatorP5 taps into the draw() loop, but it’s hidden from your sketch.
  • 11. Audio Analysis One caveat. There is a lot of room for improvement in the current version of the Audio Analysis code, both in the API and under the hood. Audio Analysis comes down to picking a frequency range, easing, and modulation amount. Currently supported frequency ranges are: sub-bass, bass, mids and highs.
  • 12. Audio Analysis Audio Analyzer modulating Particle size.
  • 14. The Code analyzer = modulatorP5.createAudioAnalyzer() .setMinRange(0) .setMaxRange(160) .setEasing(0.2); modP5.createControlPanel(20, 20, "P-Size (Anaylzer)", analyzer);
  • 15. Plans for the future Remove the ControlP5 dependency and replace with a custom UI. Support more diverse waveforms like Saw, Square, Sample-and-hold, and maybe simple FM synthesis. More sophisticated audio analysis, including setting frequency start and end bands, and multi-band analysis returning an array of values.
  • 16. Don’t be afraid to dive in and build your own library. Even if you’re the only one who is ever going to use it. Push overly complicated logic out of your sketches. Reuse your code! Get more ambitious with your architecture, with Java you get generics, interfaces, enums and more. The Processing Library Template for Eclipse gets you up and running quickly.