isse – an interactive source separation editor, part injb/research/isse-i.pdf · audio...

50
ISSE – An Interactive Source Separation Editor, Part I 1 Nicholas J. Bryan Stanford University Sound Check

Upload: others

Post on 11-May-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

ISSE – An Interactive Source Separation Editor, Part I!

1

Nicholas J. Bryan !Stanford University!

Sound Check

Page 2: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

2

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 3: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Single-Channel Source Separation!

3

§  Generally, a very difficult problem!

§  Large underdetermined system of equations!

§  Many strategies to overcome this problem!

§  We will employ interactive feedback!

Page 4: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Denoising!

4

§  Live broadcast/TV!

§  Live recordings (e.g. orchestra cough)!

§  Studio recordings!

Page 5: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Spatial Audio and Upmixing!

5

§  Consumer electronics!

§  Home stereo systems!

Page 6: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Audio Post-Production and Remastering!

6

§  Extracting dialogue from old movies!

§  Redo music and sound fx!

§  Removing noisy hum, hiss, etc. in old tape recordings!

Page 7: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Music Information Retrieval!

§  Automatic speech recognition!

§  Tempo estimation!

§  Key detection!

§  Melody extraction!

7

Page 8: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Music Remixing and Content Creation!

8

§  DJs!

§  Sound artists!

§  Electronic musicians!

§  Audio/recording engineers!

Page 9: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Automatic!

9

Independent Component Analysis

Classical Denoising/ Weiner Filtering

Microphone Arrays/ Beamforming

Non-Negative Matrix Factorization

Machine Learning Approaches

§  Powerful!

§  Operate independently!

§  Operate based on the geometry or statistics!

!

§  Can breakdown/fail!

§  No way to correct for errors!

Page 10: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Manual!

10

Filtering/EQ

Time-Frequency Selection

Vocoders

Sinusoidal Modeling

Spectral Processing

§  Tedious, manual work!

§  Work on simple cases!

§  Cannot achieve quality of automatic approaches!

§  Allow adjustment refinement!

Page 11: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Automatic vs. Manual!

11

Filtering/EQ

Time-Frequency Selection

Vocoders

Sinusoidal Modeling

Spectral Processing

Independent Component Analysis

Classical Denoising/ Weiner Filtering

Microphone Arrays/ Beamforming

Non-Negative Matrix Factorization

Machine Learning Approaches

Page 12: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Automatic and Manual!

12

Filtering/EQ

Time-Frequency Selection

Vocoders

Sinusoidal Modeling

Spectral Processing

Independent Component Analysis

Classical Denoising/ Weiner Filtering

Microphone Arrays/ Beamforming

Non-Negative Matrix Factorization

Machine learning Approaches

Page 13: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

User’s Perspective!

13

§  DJs!

§  Sound artists!

§  Electronic musicians!

§  Audio/recording engineers!

Page 14: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

User’s Perspective!

§  How does an audio/recording engineer perform source separation?!

!

!

§  For what purpose?!

§  What skill level? !

14

Advanced knowledge and skill

Music remixing and content creation

Audio editing, plugin, processing

Page 15: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Analogy!

15

§  Photoshop “layers”!

!!

!

§  3D Sculpting!

§  User-feedback is key! !

!

… …

Giraffe - Todd Fowler Create Commons License Attribution-NonCommercial-ShareAlike 2.0 Generic

Page 16: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Automatic and Manual!

§  Balance between machine and the human user!

16

Page 17: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Automatic and Manual!

§  Very exciting products over the past decade!

§  Melodyne/Celemony !

§  iZotope RX!

§  Adobe Audition!

§  Many others (please shout out!)!

17

Page 18: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

18

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 19: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

ISSE – An interactive Source Separation Editor!

19

Page 20: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Vocal Extraction Examples!

20

Page 21: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

21

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 22: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

ISSE Overview!

§  Alpha release, open-source, freely available project.!

§  Cross-platform (OSX, Windows, Linux), C++.!!§  Useful for applications such as:!

§  Released in collaboration with:!§  Adobe Research!

§  Stanford University!

Music remixing/upmixing!

Audio denoising!

Dialogue extraction!

Audio-based forensics!

Page 23: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Third-Party Dependencies!

§  JUCE (juce.com)!§  An extensive, cross-platform C++ toolkit!§  GUI windowing, widgets, audio playback!§  Open-source with GPL license!

§  Eigen (eigen.tuxfamily.org)!§  C++ template library for linear algebra and matrix library!§  Mozilla Public License 2!

§  FFTW (fftw.org)!§  Cross-platform C library for fast Fourier transforms!§  GPL license!

23

Page 24: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Load in a short 5-30 second recording (a chorus, verse, etc.)!

24

Page 25: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Choose What to Separate!

25

Mixture

Page 26: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Start Painting, Processing, & Listening!

26 Automatically updates processing after annotations when processing is on

Mixture

Page 27: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Start Painting, Processing, & Listening!

27

Mixture

Source 1 (Blue)

Source 2 (Red)

Page 28: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Display Controls I!

Multi Paint View Single Paint View

Page 29: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Display Controls II!

29

Zoom controls

Layer visibility

Visualization Controls

Page 30: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Transport Control!

30

Auto Solo

Play, pause, stop, loop, etc.

Mute, solo, volume

Loop markers, playback cursor placement

Master volume

Page 31: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Painting Controls!

Source select

Paint or erase

Brush select: time, frequency, box, training, spray

Additional brush controls

Add and clear paintings

Color control

Page 32: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Processing Control!

32

On/Off, progress

FFT and HOP size Changing clears paintings

Iterations, number of basis vectors

Parameters all effect processing speed

Page 33: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Save, Loading, Undo, Redo!

33

§  Project saving and loading !

§  Undo/redo!§  Cleared on save!

§  Currently implementation is memory intensive!

Page 34: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

34

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 35: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Perspective I!

§  Machine learning approach that constantly adapts to user annotations!

§  User is training the separation algorithm!

§  Separation algorithm is learning what to separate!

§  A single, local annotation can have a global effect on separation quality!

Page 36: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Perspective II!

§  Reduces manual effort required by the user!

§  Not copying the pixel data underneath the annotations!

!

§  Improves upon automatic approaches via user-refinement!

§  Indirectly incorporate a perceptual objective into the separation algorithm!

Page 37: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Strategy!

§  High-quality separation will take time (separate 100+, 1000+ times)!

§  Work with short sound files!

§  Paint on regions large-to-small!

§  Annotate, listen, and refine!

§  Each iteration is (hopefully) an improvement. If not, undo and continue.!

Page 38: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Strategy: Large-to-Small Annotations!

1.  Time regions (time brush, training brush, box brush)!

2.  Frequency regions (frequency brush, box brush)!

3.  Large time-frequency regions (box brush, spray brush)!

4.  Harmonics, fricatives, transients, and detail (box brush, spray brush)!

Page 39: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Limitations!

§  Significant learning curve!§  Difficult at first!

§  You will improve!

!§  Will not work well on all sounds !

§  Very dense or noisy sounds!

§  Highly orchestrated music!

!§  Bugs!

§  Slow and/or crashes with long files (try 5-30 seconds)!

§  A few issues with older OS…!

Page 40: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

But!!

§  We’re constantly working on upgrades!

§  Interested in gaining community developers!

§  Will have a third-party plugin format!

Page 41: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

41

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 42: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

How does it work?!

§  A model-based approach (NMF)!

§  Build a model of each sound source that together explain the mixture!

§  Learn the parameters of the model from data!

§  Leverage the user to help with the parameter estimation!

§  Interactive machine learning!

Page 43: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Block Diagram!

User Correction!

Learning Algorithm!

Unlabeled!Data!

Feedback to User!

Page 44: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Non-negative matrix factorization!

§  Non-negative matrix factorization & probabilistic models!§  [Lee & Seung, 2001]!

§  [Smaragdis & Brown 2003] !

§  [Raj & Smaragdis 2005, Smaragdis et al., 2006]!

§  [Virtanen et al. 2007]!

§  [Févotte et al. 2009]!

§  Mysore, Fitzgerald, and many others!

!

Page 45: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

NMF With Spectrogram Data!

§  Frequency model!

§  Weights or gains of frequency!

45

Spectrogram Frequency Model

Gains/Weights

Page 46: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Traditional Approach!

Page 47: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Traditional Approach!

Page 48: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

p(f |z)

p(t|z)

p(z)

48

Interactive Approach!

Page 49: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

Overview!

49

§  Introduction!

§  Demonstration!

§  Software!

§  Perspective!

§  Algorithm!

§  Download!!

Page 50: ISSE – An Interactive Source Separation Editor, Part Injb/research/ISSE-I.pdf · Audio Post-Production and Remastering! 6 ! Extracting dialogue from old movies!! Redo music and

50

http://isse.sourceforge.net!

Thank you!!