Skip to content

CodyMcC/audio_processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Audio Processing

This package was created to simplify the process of audio processing in LED related projects.

This package samples live audio and gives the max volume in each of the given pitch ranges.

Instalation

First install portaudio

Mac brew install portaudio

from audioprocessing import *

audio_obj = AudioProcessor(num_pitch_ranges=None)  # Create instance

while True:
    try:
        can_save_data = audio_obj.update()  # Returns self.data_dict
        audio_obj.data_dict  # Or can just access it directly 
        audio_obj.print_bars()  # An option to print a graphical representation of the audio
    except KeyboardInterrupt:
        break
    

About

Separates audio into frequency ranges

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages