Audio Frequency to Video Data

michael watson's icon

Hey!

I've been experimenting with creating a visual show and I am trying to make a patch that can take a live input from a band or instrument and effect macros on vizzie devices.

For example, If I'm playing guitar the low pitches will create a lower value effect and if I play higher notes then the effect becomes more drastic.

Thanks in advance,
Fairly new to beautiful word of Max

Sébastien Gay's icon

[fzero~] might be a good starting point, at least for a single instrument. It reports pitch in Hz and peak amplitude (see help & reference).
The second outlet of the [retune~] object also reports pitch, as a signal.

michael watson's icon

Legend! Thanks for the prompt reply.
That's done the trick. Is there a way to limit the range from the outputted data of [fzero~)?

Sébastien Gay's icon

There are many ways ....
You could try this one :

michael watson's icon

Perfect really appreciate that! As a learner coming from Live it is quite overwhelming but loving it.

michael watson's icon

Still struggling with this one sorry!

I played around with the split values but nothing was happening.
I am attempted to make the freq control any of those inputs on the vizzie feedr.
This is where I am at so far. Having any suggestions?

Thanks again

Source Audio's icon

open fzero help file and read how to configure it.
then use output values to scale them and make them usable.
why do you use this premade blocks ?

cycle~ and a float are easier to test fzero, than this modules,
which probably are totally unknown to you.


Sébastien Gay's icon

I am not familiar at all with Vizzie nor BEAP, but, as an example, here is a patch that makes the FEEDR's gain parameter move from 0. to 1. when the oscillator's frequency varies from 500 to 2000 Hz, and allows this frequency range to be modified dynamically.
Important note : as always, audio must be turned "on" to have audio signal generated.

Max Patch
Copy patch and select New From Clipboard in Max.

(patch edited)

michael watson's icon

Brilliant thank you!