Comments (2)
I'm not really in favor of adding a dependency to audresample
to audiofile
. This was also the reason why I closed #108.
At the moment I see two issues with audresample
:
- the wheel that is downloaded is much bigger than it needs to be until audeering/audresample#25 is solved
- we cannot easily support all available platforms with
audresample
as we have seen with audeering/opensmile-python#64
As an alternative solution I would propose that we extend the usage documentation, and maybe even the docstring examples of audiofile.read()
with examples how to use audresample
to resample and/or mix the returned signal.
from audiofile.
Yes, those are indeed two strong arguments for avoiding the dependency, though users who don't care much about dependencies may prefer librosa.load()
if they want to resample. But I guess that's ok. At least extending the docstring seems like a good idea.
from audiofile.
Related Issues (20)
- Add return value to convert_to_wav()
- Allow outfile in convert_to_wav() to be None
- Add sampling_rate argument to convert_to_wav() HOT 2
- Handle negative duration and offset values HOT 7
- Normalize argument ignored in convert_to_wav()
- Use libsndfile for reading/writing MP3
- Problem with files with incomplete header HOT 15
- Error when duration is set to 0.0
- dtype argument not propagated to soundfile HOT 1
- Windows tests fail for MP3 files HOT 1
- Benchmark results HOT 2
- Inconsistent behavior if "sloppy" flag when determining duration of empty audiofile HOT 2
- Fallback if sox is not available HOT 13
- Investigate if we can remove sox HOT 11
- Remove dependency on pysox
- Offset and duration in samples HOT 3
- Benchmark partial file reading
- Reading file may hang if offset is greater than file duration HOT 3
- Add examples to the docstring
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 audiofile.