Some initial attempts

This commit is contained in:
Maximilian Giller 2024-04-05 18:08:46 +02:00
commit 3f9fd87a7c
3 changed files with 14 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea/

5
requirements.txt Normal file
View 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
View 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)