Comments (4)
@mgood7123 yeah it's been on my to-do list for a while. Having said that, though, the performance bottleneck is the actual interpolation/decimation/convolution. I have tried reading larger blocks of data and didn't make a lot of difference to the speed, and reading the whole file is just extending the block size to it's logical conclusion. It turns out the file i/o is a fairly small percentage of the processing time.
As far as operating as a resampler as a library, this is where memory buffers make more sense than reading from a file. So I can see why you would want that.
I might be able to have a look at it over the Christmas break.
(Note: the clipping-protection mechanism writes the whole conversion to a temp file (as floating point) and then scales it down if it clipped.)
.
One thing I do want to do is enable live input from a pipe, but this is pretty much the opposite of processing the whole thing in memory, and instead using small blocks to reduce latency.
from resampler.
Closing this, but noted for future reference.
from resampler.
Found a very informative video related to this, may be useful for improving realtime decoding speed (eg for streamed resampling and playback)
CPU Performance vs. Real-Time Performance in Digital Audio Workstations (DAW) https://m.youtube.com/watch?v=GUsLLEkswzE
from resampler.
Interesting
from resampler.
Related Issues (20)
- ANDROID - Error: Couldn't Open Output File (System error.) HOT 9
- Re: more elegant cleanup of androidbuf upon exit HOT 17
- Need help from CMake expert to improve CMake Code
- account for android when printing progress HOT 4
- Testing quad precision in resampling DSD to PCM HOT 3
- Sometimes audio is duplicated HOT 1
- Quiet param? Batch processng? HOT 1
- Static build
- Print out CAF header info?
- Gapless playback not perfect HOT 1
- Compiling with many errors on M1-Macs HOT 3
- Very short sound clips do not convert correctly HOT 3
- Segementation fault in flac to oga conversion HOT 3
- Slow and low quality output HOT 1
- Dear @jniemann66, it seems I have found a sample that puts ReSampler to shame. HOT 3
- Sound duration HOT 3
- ReSampler-2.1.1pre on ArchLinux: ‘numeric_limits’ is not a member of ‘std’ HOT 1
- how is ReSampler different than soxr
- stdin/stdout option
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 resampler.