Video and surround
Guide › Video and surround
Working to picture
Torqwave edits the sound of a video while you watch its picture, then writes the new sound back into a copy of the video. Most of this needs ffmpeg installed (see Getting started).
A video’s sound in the editor
- Open the video with File > Open, as you would an audio file. Its sound opens in the editor. ffmpeg reads the first audio stream from MP4, M4V, MOV, MKV, WebM or AVI.
- Show the picture: Window > Video. The picture follows the cursor and plays along.
- Edit the sound. The picture keeps up with edits that change the length:
- a cut jumps the picture;
- audio pasted from elsewhere in the file brings its picture with it;
- inserted silence or generated audio shows black.
- Write it back: File > Save Sound into Video… writes a copy of the video with your sound in place of its own.
- If the length is unchanged, the picture is copied exactly as it was.
- If the length changed, the picture is cut to match and encoded again: H.264, or VP9 for WebM and MPEG-4 for AVI.

The Video panel shows the frame at the cursor (the test picture’s own clock reads 00:00:06.000). Its foot names the video and its size.
To give an audio file a video to go with it, use File > Attach Video…. Detach Video removes it.
A video in a session
- In the multitrack view, File > Attach Video… gives the session a video.
- File > Video Start… sets where in the session its first frame plays. Type the time, or use the cursor.
- The Video panel follows the session’s playhead, and shows black before the video starts.
- File > Save Mix into Video… writes a copy of the video with the session’s mix, from that start, for the video’s length. The picture is copied as it is.
To bring the video’s own sound into the session, import the video as you would an audio file. The video and its start are saved in the session file.
Session timecode
A session can count its time in the timecode of its picture. Choose Multitrack > Picture > Session Timecode… and set:
- the frame rate: 23.976, 24, 25, 29.97 drop frame, 29.97 or 30 frames a second;
- the timecode at the session’s start, such as 01:00:00:00.
From Video reads both from the session’s video (it needs ffmpeg): the frame rate from its picture, drop frame when the video’s own timecode is counted that way, and the start so that the video’s first frame shows its own timecode. A video at 50, 59.94 or 60 frames a second is counted at 25, 29.97 or 30. When you attach a video to a session that has no timecode yet, the session takes the video’s.
With a timecode, the session’s clock, its time ruler, the marker list, the clip list, the selection’s times and Go to Time all show and take timecode, whatever View > Time Format says. Times run on through midnight back to 00:00:00:00. Choose None to go back to the app’s time format. The timecode is saved with the session; sessions from before it open as they were. View > Time Format now has 23.976 too.
Cuts and hits
- Multitrack > Picture > Find Cuts runs ffmpeg’s scene detection over the session’s video and puts a marker (Cut 01, Cut 02 and so on) at the first frame of each new shot. It finds hard cuts and leaves camera moves alone. Running it again adds only the cuts that have no marker yet.
- Mark Hit (Shift-M) puts a marker (Hit 01 and on) where the session is playing, or at the cursor when it is stopped. Tap it along with the picture to mark the moments the music should catch.
Both are ordinary point markers: move, rename or delete them as any other.
Fitting the tempo to hits
Multitrack > Picture > Fit Tempo to Hits… finds the tempo that puts the hits on the beat.
- Choose the hits. Every point marker is listed with its time; click a row to leave it in or out. With a time range selected, the markers inside it start chosen; otherwise all of them do.
- Choose what they land on:
- Beats or Bars: one tempo for the whole session, from its start, that lands the most hits within a frame of a beat (or of a bar’s first beat), with the farthest one as near as it can be. Any tempo changes in the session are replaced.
- Bar lines: a tempo map, with each hit on the first beat of a bar. Between two hits the tempo is as near the best one-tempo fit as a whole number of beats allows. Beats left over from whole bars go into a shorter bar just before the hit, so the first bar is a pickup when the first hit comes early.
- Set the tempos to look between. They start at 80 % and 125 % of the session’s tempo.
Each hit shows how far from its beat or bar it lands, in milliseconds and in frames; one more than a frame off shows in the warning colour. A frame is one of the session’s timecode, or of 25 fps without one. The line under the list sums the fit up. Apply sets the tempo as one undo step. Clips on musical tracks keep their beats, as with any tempo change.
Ask Torq can do the same with its fit_tempo_to_hits tool, given the markers’ names.
Spotting sounds
Drop a sound on a marker, from the Sound Library or from the Finder, and it lands with its sync point on the marker. A drop counts as on a marker when it is within a few pixels of the marker’s line, in the track lanes or the marker lane. The sync point is:
- the sound’s cue point named “Sync” (or any cue whose name holds the word);
- otherwise its first cue point;
- otherwise its loudest sample: the hit of an impact, the middle of a pass-by.
A sound whose sync point is further into it than the marker is into the session starts at the session’s start, with its head left out. Of several sounds dropped together, the first goes on the track it is dropped on and the others on new tracks, all synced on the marker.
What shows the picture
| System | How the picture is shown |
|---|---|
| Mac | macOS shows MP4, M4V and MOV (and some AVI) itself. For MKV, WebM and the rest, ffmpeg makes a preview, labelled “preview” in the panel |
| Windows | Windows shows AVI itself. Everything else goes through a preview |
| Linux | ffmpeg decodes every picture itself, so the panel needs ffmpeg |
Surround files
Files with more than two channels open and edit like any other. Each lane is named:
- 5.1: L R C LFE Ls Rs
- 7.1: L R C LFE Lrs Rrs Lss Rss
Listening: the Transport menu has two ways to play surround.
- Play Surround Folded Down plays it on two speakers. The centre and surrounds are at -3 dB, and the LFE is left out.
- Play Surround to Separate Outputs sends L and R to your output pair, and each other channel to the outputs after it, up to 8 channels.
- Both play through the effects rack. Its built-in compressor and limiter hear every channel at once; other effects run on each pair.
Splitting and joining:
- File > Save Channels as Mono Files… writes one mono WAV for each channel.
- File > New File from Mono Files… puts mono files back together as one. Files named … L, R, C, LFE, Ls, Rs go in 5.1 order, and … L, R, C, LFE, Lrs, Rrs, Lss, Rss in 7.1 order.
- Effects > Stereo and Channels > Make Stereo folds 5.1 or 7.1 down to stereo for good.
A 7.1 WAV is saved with its speakers marked.
Surround sessions
A session mixes in stereo unless you choose Multitrack > Surround > 5.1 Master or 7.1 Master.
Placing tracks:
- Each track and bus is placed with the surround pad on its mixer strip. The pad also sets a width and how much goes to the LFE.
- The surround pan can be automated like volume and pan: Left-Right, Front-Back, Width and LFE.
Surround tracks:
- A 5.1 track plays 5.1 clips straight to the speakers. Make one from a track’s right-click menu.
- Its effects run as three stereo pairs (L R, C LFE, Ls Rs).
- The built-in compressor and limiter link all six channels.
- It freezes to six channels.
- A 7.1 track does the same for 7.1 clips, as four pairs, with the compressor and limiter linking all eight.
Mixing between formats:
- In a 7.1 master, a 5.1 track’s surrounds play from the side surrounds.
- In a 5.1 master, a 7.1 track’s rear and side surrounds both go to Ls and Rs at -3 dB.
Listening and output:
- The master plays folded down or to separate outputs, as a surround file does, through the effects rack on every pair.
- A mixdown writes six or eight channels.
Next: The Sound Library.