Coder Social home page Coder Social logo

audio-editor's Introduction

Audio Player and Editor

Desigined a simple Audio editor in python

Installation

Use the package manager pip to install the required libraries.

pydub

pip install pydub

import pydub

from pydub import Audiosegment

we used pydub module for audio maipulation and to perform actions like merging and cutting audios

pygame

pip install pygame

import pygame

pygame to play sound although playsound can also be used for playing audios

Mutagen

pip install mutagen

from mutagen.mp3 import MP3

Muta gen to get the favourable format for our audios

Time

pip install time

import time

to sync the song with its lenght and to precisely cut the song on the basis of time elapsed

Tkinter

pip install tk

from tkinter import *

import tkinter.ttk as ttk

from tkinter import messagebox

from tkinter import filedialog

Used tkinter to design the GUI of the app and to run various functions.

Usage

Sample code(demonstrating how to pause/unpause the audio)

#pause/unpause
global paused
paused = False   

def pause(is_paused):                          
    global paused
    paused = is_paused
    if paused:
        pygame.mixer.music.unpause()
        paused= False
    else:
        pygame.mixer.music.pause()
        paused=True

Owners

Vedant Chavan

Kunal Chaturvedi

Atharv Chandane

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


##Thankyou

audio-editor's People

Contributors

kcmean avatar vedantchavan03 avatar atharv-chandane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.