Comments (2)
@mark-buer sorry about the late reply! This sounds like it could be a useful addition. Just to clarify, by saturating do you mean clipping results of addition and multiplication to the minimum and maximum values for each Sample
type?
from dasp.
by saturating do you mean clipping results of addition and multiplication to the minimum and maximum values for each Sample type?
Yep.
Saturating (clipping) arithmetic seems like a natural choice in certain circumstances.
In a somewhat related topic... I also encountered problems with Rust's checked wrapping arithmetic as used by the current implementations for add_amp
etc. For example, Rust panicked when adding two large valued i16 samples together when the library was compiled for debug mode. Thus, I wonder if there is also a need for the library to provide unchecked wrapping arithmetic variants?
from dasp.
Related Issues (20)
- Incorrect feature name for `window` in `dasp` HOT 2
- Feature Request: Support for Planar Sample-layouts HOT 3
- [Question] Is there a way to dynamically add a signal to mix? HOT 1
- Resample Example does not work. HOT 1
- Build errors in old crate 'sample' which is used by other crates HOT 1
- Add a way to reset interpolator HOT 1
- [Question] What is the Rusty way to make an additive synth with dasp? HOT 2
- Missing Sample implementation for custom types U11, U20, I11, I20
- Overflow when adding two unsigned integers HOT 1
- buffer struct?
- Overflow when using Sinc Interpolation on i16 samples
- Feature request: integrate ebur128
- Readme code error
- Getting Error 'The requested stream configuration is not supported by the device on Mac with wav files' running the play wav example
- Downsampling using Sinc causes aliasing
- gpu.audio api surfaced on windows. How about RustGPUAudio or rs-gpu-audio?
- `dasp_graph` incompatible with latest version of `petgraph`
- Implement Frame generically over arbitrary N channels HOT 1
- Offset phase in Signal HOT 2
- Current best practice for the type of audio data in callback function?
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 dasp.