Making a Dual Voice Track Editor
(Episode #T3)
Making a Dual Voice Track Editor
(Episode #T3)
Ten Minute One-liners for the Curious: https://www.youtube.com/@10minute1liners
In this video, I show how to make a dual voice track editor using Matlab. The code can be found at https://www.innovationincrisis.com/10minute1liners/episode-t3 and downloaded here. The code dualvoiceedit.m requires SpectralCentroid.m (below). Also included is getjsonwords, a shell script that extracts word and word times from a JSON file produced by OpenAI Whisper.
To run
GITHUB code for Spectral Centroid: https://github.com/edk26/Common-Matlab-Functions/blob/master/SpectralCentroid.m
Matlab R2024b Update 5 (24.2.0.2863752) 64-bit (glnxa64)
The different features of this minimalist editor are as follows:
Reads in two audio voice files and two transcript files
Speaker volume setting for each track along with continuous cursor/mouse signal value
Both voice signals and spectrum centroid signals shown
Scroll down strip chart
Play and stop cursors
Zoom in and out, one or both tracks
Select time interval and delete/zero out audio
Select time interval and insert/overwrite audio
Select and raise/lower track region volume
Go up and down the edit version tree