Search - User list
Full Version: CHOPS as a audio synthesizer
Root » Work in Progress » CHOPS as a audio synthesizer
WillA
Im experimenting with Chops as a audio synthesizer.
Thanks to the post by Fabricio Chamon on Youtube explaining how the ChOPS oscillator chop can be use to generate all the notes on a piano. He explained the base frequency formula
261.63 * pow(2,(0/12))
which produces the note C.
I used this basic concept to generate synthetic audio with CHOPS.

On the SOP side a attributewrangle vex code block below created a animated attribute which controlled the audio amplitude via a geometry Chop node and the rectangle rotation in this movie

this is the code ... it makes a flattened sin wave

float sinflatten(int currentframe; int cyclelength; float flattenamount){
// currentframe is an integer
// cyclelength is the number of frames in the wave cycle
// flattenamount range is float 0 to 10
float bsquared = flattenamount * flattenamount;

float sinval = sin(2 * $PI * ((float)currentframe/(float)cyclelength));
float sinvalsquared = sinval * sinval;
float sqrtval = sqrt( (1.0 + bsquared) / (1.0 + bsquared * sinvalsquared) );
float yval = sqrtval * sinval;
return yval;
}
float flattenamount = ch("flattenamount");
float amplitude = ch("amplitude");
float valoffset = ch("valoffset");
int cyclelength = chi("cyclelength");
float cycleoffset = ch("cycleoffset");
@newyval = amplitude * (valoffset + sinflatten($FF+cycleoffset, cyclelength, flattenamount));
@P.y = @newyval;
Reynold Dodson
Very cool!
WillA
This time I tried a few vacation pics.
The image chop scans an image to create a channel as the source of the pitch modulation.

The idea is to convert an image into a song.
More audio detail would be helpful.

Image Not Found
WillA
I want to develop a more complex algorithm for deciding which piano note to pick
per pixel so it's more in sync with the picture and the sound is more "other worldly"

a picture is a thousand words and maybe it's a thousand notes too
WillA
Here is another example of my latest CHOPS network that now scans multiple rows of pixels
and uses hue saturation and luminance per pixel to generate audio .wav files.

It ain't pretty but it sounds that way.

I'm coining a phrase to describe the potential

A picture is worth a thousand words and maybe 1000 notes too
WillA
Motion and music have so much in common.
The sound in this clip is based on ground impact and angular velocity of a rbd dops network.

Simulation sometimes accidentally tells the story of a character that is inclined to
leave the herd and continue on alone.
WillA
Im on a binge journey with generating audio with rigid body dynamics motion.
Never ending possibilities.
Benjamin Lemoine
Did you ever check HMT houdini music toolset ? some really nice tool to make music from Houdini all CHOP based;
https://vimeo.com/536214871 [vimeo.com]
WillA
Benjamin Lemoine
Did you ever check HMT houdini music toolset ? some really nice tool to make music from Houdini all CHOP based;
https://vimeo.com/536214871 [vimeo.com]

Yes I've been looking at Andrew Lowel's posts and the sounds generated by his approach are awesome.
I actually downloaded the HMT package and started playing with it a little.
The thing is I wanted to generate audio .wav files directly.
Then I found Fabricio Chamon's post on using the oscillator chop.
https://vimeo.com/343143856 [vimeo.com]
Its more down on the metal.
Not as elegant a sound quality but still interesting and has many possibilities.
Benjamin Lemoine
Thanks i will check your video !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB