What is the best way to handle long audio files?
See original GitHub issueHello! I need to separate speakers in long audio files (2min and more). Could this be done with Asteroid? If yes, then what is the best way to achieve this?
I tried to do it like this, but it throws CUDA out of memmory error.
from asteroid.models import ConvTasNet
nnet = ConvTasNet.from_pretrained('SeparatorModels/ConvTasNet_LibriMix_sepclean.pth')
nnet.cuda(3)
nnet.separate('2_min_long.wav')
Here’s the error
RuntimeError: CUDA out of memory. Tried to allocate 14.68 GiB (GPU 3; 10.92 GiB total capacity; 527.54 MiB already allocated; 9.92 GiB free; 530.00 MiB reserved in total by PyTorch)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Compress Large Audio Files: 5 Easy and Effective Ways
Another go-to tool used for audio compression is Audacity. The software is available for Windows, Mac, and Linux. Audacity has plenty of ...
Read more >Best Free Audio Tools for Splitting Up Large Files - Lifewire
Free audio file splitters are useful for slicing large MP3s to create free ringtones, individual tracks from an album, and audiobook ...
Read more >How to Compress Large Audio Files on Android
How to Compress Large Audio Files on Android · 1. WinZip · 2. MP3, MP4 Audio Video Cutter, Trimmer, Converter · 3. Audio...
Read more >Analysing long audio files - Sound Design Stack Exchange
Analysing long audio files ... I have a 9 hour audio recording. ... What's the best way to do this, preferably without resorting...
Read more >How to Send Large Audio Files | FileWhopper Blog
It is a very common problem: you want to get a new ringtone or cut your audiobook into pieces, but have no idea...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you! I’ll try that and add an example if it going to work out.
Solved in #221