Comments (4)
Oh, wait:
saw (midicps $ 24 +- 0.03 $ sin 1) >> centre; -- go between 3% below MIDI note 24 and 3% above
// and
(+-) :: Graph -> Graph -> Graph -> Graph
a +- b = modulatedRangeGraph (a - (a*b)) (a + (a*b))
But I was looking at the reference, which seems incorrect:
[centre] +- [offset] $ [input] -- bipolar (-1,1) input rescaled to range centre +- offset
Offset is really a scaler: a +- 1
ranges 0 .. 2a.
I'll change the issue title, then.
from punctual.
Do you think it's better if it says "scaled offset"?
from punctual.
Do you think it's better if it says "scaled offset"?
Sure, with a couple of examples, like [centre] +- [offsetRatio] $ [input] -- bipolar (-1,1) input rescaled to range centre +- (offsetRatio * centre), e.g. a +- 0.5 ranges from 0.5a to 1.5a
hjh
from punctual.
Done - thanks!
from punctual.
Related Issues (10)
- FM for a graphical position gives strange results HOT 2
- Punctual reference in Estuary is out of date? HOT 2
- syntax error if comment ends with semicolon HOT 3
- add mod operation HOT 1
- add 'between' to reference
- add scroll functions
- step needs to take expressions and support multichannel output HOT 1
- img and vid textures can get swapped with eachother in some circumstances HOT 2
- Variety of unexpected output with continuous functions on Intel UHD 620 graphics HOT 3
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 punctual.