Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASL noise generator design #438

Open
trentgill opened this issue Oct 19, 2021 · 0 comments
Open

ASL noise generator design #438

trentgill opened this issue Oct 19, 2021 · 0 comments
Labels
design Issue needs design consideration feature new features yet to be added

Comments

@trentgill
Copy link
Collaborator

at present the outputs are exclusively controlled by ASL, so it makes sense to implement noise as a sub-function of ASL.

ASL is centrally just about moving a voltage from {current location A} to point B over time C.

We can keep this notion of time C (ie the duration of the noise), but what is the meaning of the moving voltage?

noise by itself

in this case the voltage doesn't really matter, and a keyword / string 'noise' could be used instead of the voltage position

noise in sequence with voltages

here we can still use keyword 'noise' for a noisy segment, but there is no way of setting the amplitude of the noise in relation to the voltages. secondly, when the noise segment completes the voltage from which the next slope will run is a random value.

one alternative is to use a different to structure where 'noise' is just a 'shaper'. in this case noise would be scaled to the range of the current location A -> point B to 0. thus the voltage-gradient becomes a VCA curve over the noise amplitude.

while this is powerful & interesting, it's not necessarily what you want a 'noise' shaper to do. one could imagine wanting the 'noise' shaper to add noise to a path, rather than use the path as an amplitude sweep. ie. gradient+noise vs noise*gradient.

noise with varying amplitude / offset

the downside of the above 'shaper' idea is we can only scale the noise (with to destinations), but there is no way to offset the noise. notably it's not possible to generate bipolar noise (eg. +/-5V) which people may expect in the eurorack world.

we could introduce a totally new ASL keyword (like to), though it seems to be a very limited use-case to have to extend the DSL just to get it. of course this doesn't itself solve the question of "what is the voltage after the noise is done?" i wonder if there's another way?

@trentgill trentgill added feature new features yet to be added design Issue needs design consideration labels Oct 19, 2021
@trentgill trentgill changed the title people want outputs to generate noise ASL noise generator design Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Issue needs design consideration feature new features yet to be added
Projects
None yet
Development

No branches or pull requests

1 participant