Some initial attempts
This commit is contained in:
commit
3f9fd87a7c
3 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.idea/
|
5
requirements.txt
Normal file
5
requirements.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
cython>=0.25
|
||||
mido>=1.2.6
|
||||
numpy>=1.13.4
|
||||
scipy>=0.16
|
||||
madmom
|
8
src/main.py
Normal file
8
src/main.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import madmom
|
||||
|
||||
audio_file = input("Enter the path to the audio file: ")
|
||||
|
||||
sig = madmom.audio.signal.Signal(audio_file)
|
||||
spec = madmom.audio.spectrogram.Spectrogram(sig)
|
||||
|
||||
print(spec)
|
Loading…
Reference in a new issue