Comments (1)
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
- a new rand{} mutation
- nested ASLs seem cool :)
Cheers! Just wanted to respond to the post after thinking about it some more.
from crow.
Related Issues (20)
- ASL is running at half speed HOT 4
- improve & add documentation HOT 6
- when using `input.mode = 'clock'` sense start/stop
- memory allocation issues with new modules HOT 1
- 'make -j' build successful, but with errors HOT 2
- Updates needed for Disting EX ii support
- `CROW.Q1` gives `ii lines are low` when 2 crows are on bus HOT 4
- Clear script by self-patching on boot HOT 1
- ceify the metro lib HOT 3
- Clock & Metro libraries are slightly out of sync
- v1.1 hardware changes HOT 8
- v4.0.2RC fails when accessing `input` in druid HOT 2
- Firmware compilation fails under Docker (Windows) with missing GLIBC_2.27 HOT 5
- script clear doesn't seem to purge everything (v4.0.3)
- clock.sync to values less than 1 can cause rapid-firing (v4.0.3) HOT 1
- Crow can fail to boot with Doepfer PSU-3 HOT 3
- Add support for i2c2midi to firmware HOT 7
- tuning issues HOT 2
- simultaneous use of teletype queries and norns crow.send crashes crow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crow.