Mostly hobby projects here
porzione / wavescan Goto Github PK
View Code? Open in Web Editor NEWGenerate drum kits from audio files
License: MIT License
Generate drum kits from audio files
License: MIT License
trying this on an sfz
on kubuntu 20.04 I installed python 3.9.
pip install audiofile
pip install Jinja2
#in terminal
wavescan -d /path/to/drum/folder --sfz > ~/Music/my.sfz
I get this:
Traceback (most recent call last):
File "/home/alnone/Downloads/wavescan/wavescan", line 9, in
import libsfz
File "/home/alnone/Downloads/wavescan/libsfz.py", line 5, in
from jinja2 import Template as J2, StrictUndefined as J2Undef
ModuleNotFoundError: No module named 'jinja2'
Just trying this for the first time and when I'm getting an error that I'm not sure how to solve. Speedrum says that the resultant kit is invalid or unsupported.
./wavescan -d '/home/me/Music Production/Samples/Drums/-Full Kits/Autodafe - Mega Drum Machines Collection/Acetone_Rhythm-Ace/' --speedkit -D > '/home/me/Music Production/Presets & Banks/Speedrum Kits/Acetone_Rhythm-Ace.speedkit'
guess PERC2.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess PERC1.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess PERC7.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess KICK3.WAV is .*(kick|kik|BassDrum).+ 36 Kick 1
guess PERC4.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess SNARE1.WAV is .*snare.+ 38 Snare
guess KICK1.WAV is .*(kick|kik|BassDrum).+ 36 Kick 1
guess HHCL.WAV is .*(CHH|HHC|Hat.?c|HH.*c~/Music/SFZ/5pin_DrumKit.sfzl|Cl.*Hat|\WCH).+ 42 Closed HH
guess CLAVE.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess PERC5.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess SNARE2.WAV is .*snare.+ 38 Snare
guess PERC3.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess PERC6.WAV is .*chin(a|e).+ 52 Chinese Cymbal
guess SNARE3.WAV is .*snare.+ 38 Snare
guess HHOP.WAV is .*(OHH|HHO|Hat.*Op|HH.*Op|Op.*Hat|Op.*HH|\WOH).+ 46 Open HH
guess KICK2.WAV is .*(kick|kik|BassDrum).+ 36 Kick 1
Traceback (most recent call last):
File "./wavescan", line 103, in <module>
bank.build()
File "/home/me/.git_repos/wavescan/libspeedrum.py", line 110, in build
self.build_speedkit()
File "/home/me/.git_repos/wavescan/libspeedrum.py", line 215, in build_speedkit
ET.indent(self.xml_root, space="\t", level=0)
AttributeError: module 'xml.etree.ElementTree' has no attribute 'indent'
python -V
Python 3.8.10
I think not being python 3.9 might be causing the problem. I have it installed but it seems 3.8 is still the default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.