http://bugs.cinelerra.org/show_bug.cgi?id=486

           Summary: Feature request: ADR/Looping/Dubbing
           Product: Cinelerra
           Version: 2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Medium
         Component: Effects/Transitions
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Here are my notes on a hypothetical cinelerra ADR plugin:

The ADR/dubbing/looping plugin would be a much more functional alternative to
the live audio plugin, which could be used as a reference.   Unlike the live
audio plugin, it could be placed on a new track or over an existing one.  
Putting it over the existing track would simplify crossfading to the new audio.
Controls:

- Mode:
  - Original
  - Play existing take
  - Record new take
- Playback Audio – pulldown menu
   -Original
   -Take 1
   -Take 2
   - Take 3
  This is the audio that will be played back, usually the original audio.
- Record Audio – radio buttons with note fields
   - Original
   - Take 1              NOTES:  good______   SHIFT: 0.000     [AUTO]
   - Take 2              NOTES:  bad_______    SHIFT: 0.000     [AUTO]
   - Take 3              NOTES  ugly________   SHIFT 0.000     [AUTO]
   - New take
  This is where the recorded audio will be placed.   Each recording probably
  creates a separate file.    Notes field allows comments on quality of
  different takes so you don't have to review the lousy ones later.   Shift 
  lets you shift the sound forward/backward to avoid rubber lips.   [AUTO]
  button runs a corellation between original and new sound and sets the shift 
  automatically.
- Filename prefix
- Crossfade in time:   0.100  
   Time to crossfade in from original material
- Crossfade out time:  0.100
  Time to crossfade back to original material
- Ambient Sound file:    _______________________   (with in/out points)
- Mixer settings
  - Original    (level after crossfade)
  - Dubbed    (level after crossfade for substituted audio)
  - Ambient  (level of ambient sound to mix after crossfade
  - Record level: level to record
- Original track(s):    (if not dropped over existing track)
- Number of tracks: 2
- Optional: display of audio of original track above selected playback track 
  or track being recorded if actively recording.
= Optional: stretch tool that works with the auto correlator and 
  stretches/shrinks new recording during silence intervals to better align a
  long line of dialog with original for better lip sync.

Corellator is simple in principle.   For each sample in the two waveforms to be
corellated, compute:
   SUM += a[i] * b[i];
If the waveforms are lined up, positive peaks will correspond with positive
peaks and negative peaks with negative peaks both producing a positive result
leading to a large sum indicating high correlation.    Now, shift one of the
waveforms with respect to the other and repeat.   Find the shift that yields
the highest sum.    This gives you the best corellation for two very similar
signals.   This works well if, for example, you are correllating two samples
recorded at the same time.   For dubbing, it is a little more complicated as
the speeds may be slightly different, and one may want to correlate the
envelope of the audio rather than the audio waveform itself.   You are trying
to match syllables/words.   FFT based matching might also be useful.

Reproducible: Always


-- 
Configure bugmail: http://bugs.cinelerra.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to