Skip to content

Envelope with the sequencer #109

Answered by chaosprint
bthj asked this question in Q&A
Jul 20, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Perhaps you can see this demo:
https://glicol.org/demo#kickdrumsynthesis

The behaviour of the envperc is that it will retrigger the envelope everytime it gets a non-zero value from the input. seq will output number patterns based on your command. For example, seq 60 will output one 1.0 in one bar of audio samples.

1.0, 0.0, 0.0, ...

You can also use the same seq to control pitches as well, which is shown in the example above.

One issue here is that with the lower pitch, the env amp will also be smaller. A temporary solution is to use a meta node in between.

out: sin ~pitch >> mul ~envb >> mul 0.9

~envb: ~triggerb >> meta `
    output = input.map(|i|
		if i > 0.0 {
			1.0
		} else {
			0…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bthj
Comment options

@bthj
Comment options

@bthj
Comment options

@chaosprint
Comment options

@bthj
Comment options

Answer selected by bthj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants