A fast MDCT implementation using SciPy and FFTs

Overview

MDCT

Build Status Docs Status

A fast MDCT implementation using SciPy and FFTs

Installation

As usual

pip install mdct

Dependencies

  • NumPy
  • SciPy
  • STFT

Usage

import mdct

spectrum = mdct.mdct(sig)

Also see the docs

References

  • Implementation: Marina Bosi, Richard E. Goldberg and Leonardo Chiariglione, "Introduction to Digital Audio Coding and Standards", Kluwer Academic Publishers, 01 December, 2002.
You might also like...
Music generation using ml / dl

Data analysis Document here the project: deep_music Description: Project Description Data Source: Type of analysis: Please document the project the be

Voice to Text using Raspberry Pi

This module will help to convert your voice (speech) into text using Speech Recognition Library. You can control the devices or you can perform the desired tasks by the word recognition

Sound-Equalizer-  This is a Sound Equalizer GUI App Using Python's PyQt5
Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5

Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5. It gives you the ability to play, pause, and Equalize any one-channel wav audio file and play 3 different instruments.

A voice based calculator by using termux api in Android

termux_voice_calculator This is. A voice based calculator by using termux api in Android Instagram account 👉 👈 Requirements and installation Downloa

Python implementation of the Short Term Objective Intelligibility measure

Python implementation of STOI Implementation of the classical and extended Short Term Objective Intelligibility measures Intelligibility measure which

Supysonic is a Python implementation of the Subsonic server API.

Supysonic Supysonic is a Python implementation of the Subsonic server API. Current supported features are: browsing (by folders or tags) streaming of

Official implementation of  A cappella: Audio-visual Singing VoiceSeparation, from BMVC21
Official implementation of A cappella: Audio-visual Singing VoiceSeparation, from BMVC21

Y-Net Official implementation of A cappella: Audio-visual Singing VoiceSeparation, British Machine Vision Conference 2021 Project page: ipcv.github.io

Official implementation of A cappella: Audio-visual Singing VoiceSeparation, from BMVC21

Y-Net Official implementation of A cappella: Audio-visual Singing VoiceSeparation, British Machine Vision Conference 2021 Project page: ipcv.github.io

Music Streaming Platform based on full implementation of DBSM

Symphony Music Streaming Platform based on full implementation of DBSM List of Commands Insert User (INSERT) Function to implement input in USER Get a

Comments
  • output of the mclt

    output of the mclt

    hello Dear Dr. Werner in my research in audio watermarking, I encountered your valuable MCLT python module. but when I apply mclt function to a simple sin wave, its output had three dimensions. my code is as follows:

    fs = 100 t =np.arange(0,1,1/fs) f= 3 x = np.sin(2np.pif*t)

    spec = mdct.mclt(x) output = mdct.imclt(spec)

    x.shape, spec.shape, output.shape

    ((100,), (512, 3), (100,))

    now, my question is what is the difference between any dimensions of the output? and which of them is the MCLT transform of the sin wave?

    best regard Mostafa Alaviyan

    opened by MostafaAlaviyan 0
  • the problem is about conservation of energy?

    the problem is about conservation of energy?

    Hello, thank you for the code. I found that the energy of the input time sequence is not equal to the energy after mdct transformation. Why is it that?

    opened by Joll123 0
  • Added example of spectrogram plot

    Added example of spectrogram plot

    You might consider adding an example such as the one I created, that demonstrates how to use the mdct output to make a spectrogram plot. I made one which offers a comparison of the standard pyplot spectrogram with your stft and mdct methods.

    If you're not interested in including this, no worries. Might help someone else though. :-)

    I grant permission for you or others to use the merged code with no attribution, or license of any kind.

    opened by drscotthawley 1
Owner
Nils Werner
Postdoctoral Researcher at FAU.
Nils Werner
Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.

Summary Pyroomacoustics is a software package aimed at the rapid development and testing of audio array processing algorithms. The content of the pack

Audiovisual Communications Laboratory 1k Jan 9, 2023
An app made in Python using the PyTube and Tkinter libraries to download videos and MP3 audio.

yt-dl (GUI Edition) An app made in Python using the PyTube and Tkinter libraries to download videos and MP3 audio. How do I download this? Windows: Fi

null 1 Oct 23, 2021
Mina - A Telegram Music Bot 5 mandatory Assistant written in Python using Pyrogram and Py-Tgcalls

Mina - A Telegram Music Bot 5 mandatory Assistant written in Python using Pyrogram and Py-Tgcalls

null 3 Feb 7, 2022
NovaMusic is a music sharing robot. Users can get music and music lyrics using inline queries.

A music sharing telegram robot using Redis database and Telebot python library using Redis database.

Hesam Norin 7 Oct 21, 2022
Algorithmic and AI MIDI Drums Generator Implementation

Algorithmic and AI MIDI Drums Generator Implementation

Tegridy Code 8 Dec 30, 2022
Telegram Voice-Chat Bot Written In Python Using Pyrogram.

Telegram Voice-Chat Bot Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group Support All linux based os. Windows Mac Diagram Requi

TheHamkerCat 314 Dec 29, 2022
Gammatone-based spectrograms, using gammatone filterbanks or Fourier transform weightings.

Gammatone Filterbank Toolkit Utilities for analysing sound using perceptual models of human hearing. Jason Heeris, 2013 Summary This is a port of Malc

Jason Heeris 188 Dec 14, 2022
Simple, hackable offline speech to text - using the VOSK-API.

Nerd Dictation Offline Speech to Text for Desktop Linux. This is a utility that provides simple access speech to text for using in Linux without being

Campbell Barton 844 Jan 7, 2023
controls volume using hand gestures

controls volume using hand gestures

null 1 Oct 11, 2021
Using python to generate a bat script of repetitive lines of code that differ in some way but can sort out a group of audio files according to their common names

Batch Sorting Using python to generate a bat script of repetitive lines of code that differ in some way but can sort out a group of audio files accord

David Mainoo 1 Oct 29, 2021