Comments (2)
Thanks for reporting this issue.
I have looked into it and it turns out that it is caused by the algorithm in the env calculation where the attack or decay will be used for division. If either attack or decay is 0, then the output will be a NaN
. When sending this NaN
to the filter it causes the issue.
Now it is fixed in the new version with an if statement.
Nevertheless, I recommend not to use 0 for env attack or decay. It will cause a sudden jump in amplitude and often leads to a popping sound.
from glicol.
thanks. yes, NaN makes sense.
i use 0 attack time all the time in other systems and like it. besides the filter will (should) smooth it out.
from glicol.
Related Issues (20)
- Bandlimited oscillators HOT 7
- Create `add node` and `add track` messages for synth context during rewriting
- Reverb got some noise...
- Support shared buffer to save memory space
- Use Enums for the AST HOT 4
- Help config Angular for Glicol HOT 1
- Add good real-time pitch shift and time stretch algorithm
- Use only one Rhai engine
- iOS or Android build? HOT 1
- Does glicol syntax resembles any other language? HOT 1
- tree-sitter parser HOT 2
- Feature idea HOT 4
- Panic when use specific code HOT 3
- Stop doesn't work in Glicol.js HOT 4
- API docs HOT 1
- Ideas List 2024
- Panic with this variation HOT 3
- Use `Result` in `process()` and other places
- Add `livecoding` toggle in glicol.js
- Trying to use glicol offline 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 glicol.