Oscillator + Step Sequencer HELP
I’m new here.
I approached to MAX a little while ago, I learnt how to build a simple step sequencer and how to build a simple wave generator but what’s really driving me crazy is how to link a wave generator like cycle for example to a step sequencer. I’d like to arpeggiate the sound coming out from one or more wave generator, is this possible?
Maybe this is really simple but I’m self-educated with MAX and what sounds banal to you it turned out to be very difficult to me.
Sorry for my english.
Basically, your step sequencer sends control values that will control your audio values boxes (as cycle, phasor, volume or whatever you want).
By example, you can use
function to draw envelopes triggered by the bangs of your sequencer (i suppose it is a sequencer?) to modulate the amplitude or AM/FM of your wave generator.
Sorry if that is quite blurry, but there are thousand ways to answer your question!
- This reply was modified 1 year by domkirke.
As you can see from the screenshot this is where I stopped.
I think my problem is that I’m trying to send audio signal to a MIDI sequencer.
I tried to link each audio outputs to each gate INs (first to the first, second to the second and so on) and then I linked gate outputs to ezdac~ object.
It doesn’t work at all.
Any suggestion to let things work?
I don’t see any MIDI sequencer here!
You can control the pitch of your cycles by liking the left entry of the cycles to the outputs of your number boxes, or the amplitude linking the output of your number boxes to the right entry of your *~. But it depends also on what you aims, maybe i misunderstood and this won’t be sufficient.
Can you paste your patch here? That would be much more practical ;)
This is what I get. It isn’t what i wanted, definitely.
One thing that would solve my problem is something that will turn the toggle (the one on the * object) ON only when the signal that comes out from the GATE is active.
I’m searching for a sort of "STAY ON ONLY IF THE BUTTON BANGS AND TURN OFF WHEN THE BUTTON IS OFF", because if you send a value to *, turn ON every gate, turn ON the step sequencer and push the ezdac object you will notice that every channel will sound until they are all ON.
I want only one sound for each bang and not the sum
I hope you understand what I’m trying to say :(
I’m afraid your link doesn’t work :/ You can select the code you want to share, click Edit>Copy Compressed and past it here ; then i can copy it and open it by clicking File>New from clipboard
Here this isn’t surprising your sequencer isn’t working : nothing is changing the volume or the amplitude of your cycles. First, i recommend the objects "int"/"float" to capture a number, so you can trigger it with a bang message. Then you can do somthing like that :
----------begin_max5_patcher---------- 871.3oc6Y1saaBCEG+5To9NXwUaSYUXyWgc2tZODSUUDvI0cf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5urRQ7CzcWdgnt+bUcBUUWcFJqB78jlWIP0TTA+DcL9w4 pJTm1b6Bew+PN4.x+4O.ikuW.A -----------end_max5_patcher-----------
Sorry if I didn’t answer in the last days but your advices were so precious that I started working immediately.
The step sequencer project is almost done, I’m very grateful to you.
Now my idea is to made it "real" with arduino and some other hardwares. I have Arduino UNO and Arduino DUE, maybe I will open a different topic on this forum.
it does not matter if it is midi or not, his approach to build the sequencer looks pretty good in the image. (most of my sequencers also dont produce "note off" by default, so i just had to defend that) it is is basically how analog modular synth work in first place – an incoming frequency value sets the oscillator to this frequency. this already makes a "note event" and anything else is optional.
the only thing what seems strange is the picture with the 4 cycle~s, one should be enough.
[i]I’m searching for a sort of "STAY ON ONLY[/i]
it is not clear why you would need this (for picture 1?), because there is only a state of the bang beeing passed through and anpther state where it is not.
but. in general, the trick to find out if a bang passed or not, is to encode it into a yes bang and a no bang. i.e. you´d use 0 and 1 (checkbox->[i ]) instead of a checkbox->[gate].
Forums > MaxMSP