Oscillator + Step Sequencer HELP
Hi guys,
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!
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 ;)
Yeah, sure.
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 :
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].
-110