Comments (6)
Hello,
Thanks for pointing out this issue.
The problem comes from the library pysndfx.
I believe you are using Windows right ?
I had trouble using this library on my Windows machine as well but it works just fine on Linux.
I will investigate further and come back to you with more information.
from librimix.
I couldn't replicate the error on my machine.
Have you installed sox on your machine ?
On a Windows environment with anaconda running conda install -c groakat sox
in your working environment should do the trick.
If it is still not working can you try to run this in a python console
from pysndfx import AudioEffectsChain
import numpy as np
s =np.random.randn(1,16000)
fx = (AudioEffectsChain().speed(0.8))
fx(s)
from librimix.
Yes, I am using Window.
conda install -c groakat sox printf()
solve the error caused by the library pysndfx.
However, I got another error like this.
And I tried to run this in a Linux VirtualBox environment.
The error reason is the same Index Error.
so I tried to modify the line in scripts/augment_train_noise.py
# Get 1st channel
# s = s[ : , 0 ]
change to
# Get 1st channel
# s = s
the running outcome will become like this.
in Linux VirtualBox environment
from librimix.
You have tried to run the augmentation on wham noise multiples times.
There are 20000 noises in wham_noise/tr
before augmentation and 60000 after augmentation.
The 20000 original noise have 2 channels the 40000 augmented have one this is why you have this error.
Just skip augmentation IMO
from librimix.
Yes. Thank you so much.
I commented out the augment noise and successfully generate the dataset.
And I find out that the program will fail if you only want to generate types mix_clean.
I do this at first then I always got error message.
Then I change the types to only mix_both or mix_clean + mix both and successfully generate the dataset.
Thank you
from librimix.
Glad to hear that !
I will look into the last error thank you for reporting it ! 🚀
from librimix.
Related Issues (20)
- use part of train-clean-100.tar.gz HOT 6
- data process HOT 3
- Generating 4 and 5 source mixtures HOT 5
- gitbash run generate_librimix.sh on windows HOT 1
- error while mixing, after downloading sources HOT 4
- soundfile.write() function
- How to create Libri1mix
- Bug when only ["mix_clean"] is assigned as the target HOT 2
- RuntimeError: Error opening…… HOT 2
- can't generate librimix_metadata as same as you provided HOT 1
- Error when generating the dataset
- How Extending LibriMix with reverb like whamr? HOT 1
- Unable to download wham_noise.zip HOT 5
- Train-100 & Train-360 samples are not generating
- soundfile.LibsndfileError: Error opening, HOT 8
- How to create Libri2Mix dataset? HOT 1
- why this bug will happend when i use single dataset max?
- Does s1 and s2 refer to speaker1 and speaker2 folders? But they are the same.
- Generating 4 and 5 source mixtures HOT 1
- Potential C++ Implementation?
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 librimix.