commit 3f9fd87a7c2284eac41a8851e0023823b8bd6cb7 Author: Max Date: Fri Apr 5 18:08:46 2024 +0200 Some initial attempts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62c8935 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..10b1388 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +cython>=0.25 +mido>=1.2.6 +numpy>=1.13.4 +scipy>=0.16 +madmom \ No newline at end of file diff --git a/src/main.py b/src/main.py new file mode 100644 index 0000000..c2c03a1 --- /dev/null +++ b/src/main.py @@ -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) \ No newline at end of file