Author |
Message |
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
sitarman
Joined: Jul 08, 2007 Posts: 20 Location: New Lenox Il.
|
Posted: Tue Jul 08, 2008 11:37 am Post subject:
|
|
|
I think whaqt you are hearing is an interaction between the pulse timing and the release time. I ran your patch in the demo version, when I turned the release time to zero the "echo" disappeared! |
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24075 Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320
|
Posted: Tue Jul 08, 2008 12:00 pm Post subject:
|
|
|
From the help file
Quote: | T/G button
Toggle between Trig and Gate mode with these buttons. In the Trig mode, every step transmits its own logic signal, which is an exact copy of the current Clk pulse or’ed with the current state of the trigger-row chain input. In the Gate mode, the logic state of the step will be low or high for the complete duration of the step. If both the current step and the next step are a logic high the steps will be ‘glued together’ into one longer Gate signal that is actually as long as both steps. |
The only way to accomplish the G mode is indeed to switch off the output on the next clock unless the following step is active as well, resulting in a double pulse in the circuit you posted.
So a solution could be to use T mode instead, but maybe with a longer positive duration of the clock signal. This could be the shape LFO for instance set to clk mode. Unfortunately thatis a bit of an expensive module, and probably you want the gluing of pulses otherwise you would not have used the gate mode, likely.
You could of course double the sequencer using one in gate mode and the other in trig mode, sequencers are relatively cheap modules to use.
Another option could be, depending on how you want to use this, to invert the output of the clock module, as that module produces short pulses that will result in a longer pulse that starts a bit late ... but there seem to be some startup issues with this? Of course the sequencer would have to be clocked by the un-inverted clock. See attached patch for this.
Description: |
|
Download |
Filename: |
double_pulse_196-1.pch2 |
Filesize: |
1.33 KB |
Downloaded: |
2478 Time(s) |
_________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Tue Jul 08, 2008 2:07 pm Post subject:
|
|
|
Antimon wrote: | Or maybe just use a short logic delay wherever appropriate. Not as cheap as the inverter trick perhaps.
/Stefan |
By the way, I tried using a mixer to delay the signal with one sample, but that didn't work (maybe the G2 compiler was too clever for that). Could some other simple module be used for a miniscule delay?
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24075 Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320
|
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
Posted: Tue Jul 08, 2008 2:38 pm Post subject:
|
|
|
Right. The thing is, though that if I set two adjacent cells in the sequencer, I want them to run together into a single gate.
Let me elaborate on what I'm trying to do. Ultimately, I would like to write a fairly flexible sequencer that I can use in live performance. The idea would be to use the front panel knobs and switches to enter the notes and their durations.
So the idea is to have a note sequencer (actually more than one so that I'm not limited to 16 notes) together with an event sequencer. Each gate cell in the note sequencer turns on a note; the corresponding cell in the event sequencer makes the note longer.
Right now, I have divided each 16th note into three equal segments, hence 48th notes. If just the note sequencer itself is turned on, the note is 2/48ths long; if the note sequencer is off and the event sequencer is on, then the note is 1/48th long. Finally, if both of them are on, the note takes up the full 16th note.
This is pretty easy to do so far. Where I am running into trouble is that I want to allow for notes longer than 1/16th. I am doing that with the following rule: If two consecutive steps in the sequencer have the same pitch, and the first of those steps has both sequencers turned on, then the second note is considered part of the first note. Similarly for subsequent notes.
You may ask why I care whether another note starts when the pitch changes. The reason is that I want to restart the amplitude envelope in that case, or if I'm using MIDI, I want to send another MIDI note off/on pair. So I put together a little note-change detector with a sample-and-hold module, two level comparison modules, and a gate.
So far, this has been difficult enough that I'd rather try to untangle what I have a little before posting it. |
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24075 Location: The Netherlands, Enschede
Audio files: 277
G2 patch files: 320
|
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
ark
Joined: Mar 06, 2008 Posts: 679 Location: New Jersey
Audio files: 13
G2 patch files: 31
|
|
Back to top
|
|
|
|