GithubHelp home page GithubHelp logo

ASL modulations about crow HOT 1 OPEN

trentgill avatar trentgill commented on July 17, 2024 1
ASL modulations

from crow.

Comments (1)

entzmingerc avatar entzmingerc commented on July 17, 2024

Heyo! There's a cool video here I wanted to send you! Adding noise to animation.
This demonstrated how I was thinking of how noise could be used in an ASL table.

Updating my comment from a few days ago:

Being able to add noise from 0-100% to the CV shapes would be great, but I don't think it opens things up as much as nested ASL. If we had a 2-stage LFO going from 0 to 5V, some way to add 25% noise (maybe to the CV shape function) as the voltage goes from 0 to 5V would be great. If we had a noise mutation, that might slot in a bit easier for random numbers.

Something like the following might output a random voltage: 5 + random_range(rand, -rand) every 0.01 seconds.

output[1].action = loop{ to( dyn{ x = 1}:rand{1}, 0.01) }

If we try to do something like 0 to 5V with some randomness along the path, the rand{1} is executed once when we want it executing a lot (with nested ASL we could tell it how often).

output[1].action = loop{ 
to( 0, 0),
to( dyn{ x = 5}:rand{1}, 1),
}

If the CV shape function are accessed each sample output step in the C code, could we add a noise function inside them?
This seems like a small corner case when nested ASLs as you described above sounds like the best next step in complexity.

output[1].action = dynasl{rand = loop{ to( dyn{ x = 1}:rand{1}, 0.01) }}, 
loop{ 
to( 0, 0), 
to(5 + dyn("rand"), 1) } }

This would still need some way to call math.random() or something, otherwise we'd just be implementing an LCG as a dynasl and we're sort of where we started.

So maybe

  1. a new rand{} mutation
  2. nested ASLs seem cool :)

Cheers! Just wanted to respond to the post after thinking about it some more.

from crow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.