Skip to content

Python Script to suggest the volume at which the music audio file needs to be played for better experience and feeling.

License

Notifications You must be signed in to change notification settings

akash-rajak/Volume-Suggester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✔ Volume Suggester

  • Python tool to provide suggestion on volume at which the music audio file needs to be played for better experience and feeling.
  • In backend, it extracts various generic features for particular audio and analyze among them and provide feedback on volumne on it.
  • This tools helps in maintaining goob vibes along the music playout.

GitHub Repo stars GitHub Repo forks GitHub Repo watchers GitHub contributors

GitHub language count GitHub top language GitHub repo file count GitHub repo size

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

GitHub commit activity GitHub commit activity/year GitHub commit activity/month GitHub commit activity/week GitHub last commit GitHub Discussions

Github

image


📌REQUIREMENTS :

  • python 3
  • tkinter
  • from tkinter import filedialog
  • pyaudio
  • time
  • from pynput import keyboard
  • from pydub import AudioSegment
  • wave
  • os
  • numpy
  • matplotlib.pyplot
  • librosa
  • mutagen
  • from mutagen.wave import WAVE
  • subprocess
  • pathlib
  • from pathlib import Path

📌How this Script works :

  • First user need to download the script and run Volume Suggester.py in the local system.
  • After running it, user will be prompted to select an audio file(mp3 file) using dialog box.
  • Once user has selected the audio file, following feature extraction and analysis graph will be generated at the backend.
    • Generic Audio Features:
      • Channels : (number of channels; 1 for mono, 2 for stereo audio)
      • Sample Width : (number of bytes per sample; 1 means 8-bit, 2 means 16-bit)
      • Frame Rate / Sample Rate : (frequency of samples used (in Hertz))
      • Frame Width : (Number of bytes for each “frame”. One frame contains a sample for each channel.)
      • Audio Length / Duration : (audio file length (in milliseconds))
      • Frame Count : (the number of frames from the sample)
      • Intensity : (loudness in dBFS (dB relative to the maximum possible loudness))
    • Plot on Amplitude over Time Analysis
    • Following Derived Audio Features:
      • Spectogram
      • RMS/Energy Spectogram
      • Zero Crossing Rate
      • Mel Frequency Cepstral Coefficients
      • Mel Frequency Spectogram
      • Chroma Feature
      • Tempogram
  • After these feature extraction is done, user will be able to Play/Pause(using CTRL button) and Stop(using ESC button) the selected song.

📌SCREENSHOTS :

image

Amplitude over Time Plot

image

Spectogram

image

RMS/Energy Spectogram

image

Zero Crossing Rate

image

Mel Frequency Cepstral Coefficients

image

Mel Frequency Spectogram

image

Chroma Feature

image

Tempogram

image


🌟Stargazers Over Time:

Stargazers over time


📌Contributors:

Releases

No releases published

Packages

No packages published

Languages