-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b73a1a7
commit ff430af
Showing
1 changed file
with
42 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,49 @@ | ||
# soundscope | ||
|
||
This is a library for the processing & visualization of audio data. | ||
Audio imager & editor Python package | ||
==================================== | ||
|
||
What does the library do: | ||
interactive plots of | ||
soundscope is a Python package for imaging & editing audio files. The | ||
package simplifies routine audio editing commonly performed in gui based | ||
software by bringing them to the command line. | ||
|
||
spectrogram | ||
magnitude log and linear | ||
waveform | ||
vectorscope | ||
combined plots of all | ||
utility dsp functions (midside (de/e)coding, peak normalization) | ||
reversing, polarity inversion, splitting and trimming leading and trailing 0's | ||
Automate routine audio editing and imaging processes that are costly to | ||
perform in a digital audio workstation. | ||
|
||
process & visualize audio numpy arrays | ||
The subpackages exported by soundscope include: | ||
|
||
dsp: modules for midside encoding & peak normalization. | ||
io: handles import and export of audio files to numpy arrays and back. | ||
util: editing modules that invert, reverse, split & trim audio arrays. | ||
vis: waveform, spectral & spatial audio array imaging modules. | ||
tests: unit test suite for dsp, io & util subpackages. | ||
|
||
soundscope exports the following modules: | ||
|
||
import_array: imports audio files as numpy arrays. | ||
export_array: exports numpy arrays as audio files. | ||
midside: converts stereo files to midside encoding and vice-versa. | ||
normalize: peak normalizes audio arrays. | ||
invert: reverses the polarity (inverts the phase) of audio arrays. | ||
reverse: reverses audio arrays by subdivisions. | ||
split: splits stereo audio arrays into 2 mono arrays. | ||
trim: trims leading and trailing 0's from audio arrays. | ||
bins: downsamples audio arrays by averaging bins for imaging resolution. | ||
magnitude: variable scale magnitude/frequency plot of audio array. | ||
spectrogram: spectrogram (frequency/time/amplitude) plot of audio array. | ||
vectorscope: stereo image intensity/position plot of audio array. | ||
visualizer: combined plot of all other imaging modules. | ||
waveform: plot audio array intensity over time. | ||
text_resizer: class that resizes plot text on figure window resizing. | ||
|
||
soundscope also includes a test runner for the unit tests & a suite of | ||
tests requiring the user to verify the visual output of the imaging | ||
modules. | ||
|
||
Dependancies include numpy, matplotlib, soundfile & inquirer. soundfile | ||
handles the import and export of audio files to and from numpy arrays. | ||
numpy handles the editing of the arrays of audio data. inquirer provides | ||
a ui for the tests requiring user interaction. matplotlib supplies the | ||
interface for the visualization functions. | ||
|
||
License MIT 2022 Kin Maynard |