Time stretching audio

Discussion of Digital Performer use, optimization, tips and techniques on MacOS.

Moderator: James Steele

Forum rules
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
User avatar
SMS
Posts: 332
Joined: Mon Dec 13, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco and Monterey
Contact:

Time stretching audio

Post by SMS »

I'm doing a project where I need to time stretch some drum tracks. These are fills or short sections that are a little rushed, so I need to stretch all the drum tracks the same amount so they land in the right place.

I cut the soundbite at the beginning of the bar and right at the end of the hit on "1", then stretch that until the hit lands on 1. I just do it visually, using the 'hand' cursor to stretch the soundbite until the hit lines up with the grid. Easy peasy for a single track, but I'd like to be able to do this to multiple tracks at once. As far as I can tell the only way to do that is with the Region>Scale Time... commmand, but then I need to know exactly where the end of the bite needs to be, or the correct percentage to scale by.

I want to make sure all the tracks are stretched exactly the same. You'd think that if multiple tracks are selected, the 'hand stretch' would apply to all selected bites, but no. Also doesn't seem like I can get the stretch to snap to the grid, which would also insure all tracks get stretched the same.

Thanks


Spence
MOTU user since Performer™ 1.22 on 128k floppy
DP 11.23
MacBook Pro 14” 2023 M2 max 12 core
64 Gb RAM
4TB SSD
OS 14.0 Sonoma
UAD Apollo 8
828 mk3 Hybrid
MIDI Express XT
User avatar
davidh
Posts: 71
Joined: Tue Feb 23, 2010 10:20 am
Primary DAW OS: MacOS
Location: uk
Contact:

Re: Time stretching audio

Post by davidh »

Not near my computers at the moment, but I'm pretty sure you can do this by creating a group comprising all your drum tracks. Make sure that 'edge edit' is enabled in the group's settings. Then when you edge edit (or stretch) any track within your drum group, all tracks in the group should be affected.
Mac Pro 'Nehalem' 2 x 2.66 Quad Core, 28GB, 10.11.6 || MacBook Pro 2.7 Intel Core i7 Retina, 16GB, 10.11.6 || MOTU 2408 Mk3, 828 Mk 2, MTP AV || DP 9.51 & 9.13, Mach 5 v3, MSI, Ethno2, MX4, VEPro6, all Spectrasonics, Kontakt ... and many of the other usual suspects.
http://www.thekeyboard.co.uk
User avatar
SMS
Posts: 332
Joined: Mon Dec 13, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco and Monterey
Contact:

Re: Time stretching audio

Post by SMS »

Oddly, that group setting doesn't apply to 'edge-stretching'.
MOTU user since Performer™ 1.22 on 128k floppy
DP 11.23
MacBook Pro 14” 2023 M2 max 12 core
64 Gb RAM
4TB SSD
OS 14.0 Sonoma
UAD Apollo 8
828 mk3 Hybrid
MIDI Express XT
User avatar
terrybritton
Posts: 1117
Joined: Thu Jun 04, 2015 8:45 am
Primary DAW OS: Windows
Location: Elizabeth City, NC
Contact:

Re: Time stretching audio

Post by terrybritton »

If worse comes to worse and DP cannot handle this, export the stems and try using the latest version of Audacity.

Just was notified that Audacity has updated from version 2.1.2 to 2.1.3, and it has added a high quality option to its time-stretch/pitch-shift algorithm as per this from the changelog:

SBSMS (higher quality but slower) option on Change Tempo / Change Pitch effects.


Here is the full change log:

Changes since version 2.1.2: 

Changes and Improvements:
   
 * Interface:  
   * (macOS) Support for horizontal scroll on Magic Mouse / Trackpad and for
     Trackpad pinch/expand zoom gesture.
   * Pinned option on waveform so waveform moves and recording/playing head
     stays still.
   * Timer Record options to save/export/exit after recording.
   * Scrub Ruler and optional Scrub Toolbar.
   * New shortcuts ALT+RIGHT and ALT+LEFT (move to labels without editing). 
   
 * Effects:
   * Effects no longer grayed out when paused.
   * New Distortion effect (replaces Leveller).
   * SBSMS (higher quality but slower) option on Change Tempo / Change Pitch 
     effects.
   * New Rhythm Track generator (replaces Click Track). 
   * New Generator for Sample Data Import.
   * Nyquist effects now significantly faster.
   
 * Other Changes:   
   * Upgraded the PortAudio library to v19 rev r1966.  This gives Audacity 
     Windows 10 support.
   * (macOS) Audacity.app now has its resources inside it rather than in a
     separate folder, so installation to /Applications/ is cleaner.
   * (macOS) Audacity 2.1.3 provides partial support for Sierra. Details at 
    http://wiki.audacityteam.org/wiki/Parti ... a_in_2.1.3

http://www.audacityteam.org/download/

Terry
Computer: Sweetwater CS400v7 Intel Core i7-10700K CPU @ 3.80GHz | 64Gigs RAM | Windows 11 Pro x64 |
MOTU 828 mk3 hybrid

DAWs & Live: MOTU Digital Performer 11.31 | Cantabile Performer 4
Keyboard Synths: Kawai K5000s, Korg Wavestation
Controllers: NI Komplete Kontrol S-88 Mk3 & S-49 Mk2; Maschine Mk3 & JAM;
Akai MPK249 & 225, Alesis QX49, Behringer BCF2000 & FCB1010
Rack Modules: Ensoniq ESQm, Yamaha TX81Z, Wavestation SR

Tutorials: https://youtube.com/@CreatorsMediaTools
User avatar
mikehalloran
Posts: 15213
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Time stretching audio

Post by mikehalloran »

Good news and bad:

It's easy enough to line your tracks up if you zoom to a higher resolution in DP. That's the good news.

The bad is that DP's time stretch and compression are limited before you start hearing artifacts. Percussion should be less noticeable—that's good

More good news: MOTU announced at NAMM that this function was getting a nice update. Those who heard it were impressed. The bad news is that it's not been released yet.

There are many third party tools that do this very well including Melodyne 4 and IRCAM Time Stretch, available as its own plugin and bundled with MachFive3, UVI Falcon and others.

There are other 3rd party plugs whose quality ranges from ok/on par with DP to very good. I haven't heard that any are as good as Melodyne or IRCAM, however.

I'd try DP first. Zoom in and see if you can make it work.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4.1, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
User avatar
SMS
Posts: 332
Joined: Mon Dec 13, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco and Monterey
Contact:

Re: Time stretching audio

Post by SMS »

Thanks for the replies.

In DP, drum tracks and also upright Bass parts are stretching just fine with no audible artifacts. These are small (around 105% at the most) stretches, and even stretching the drum tracks individually at lower edit resolutions seems to be OK, so I don't need to use external apps. I was just looking for a quicker, more 'guaranteed successful' way to accomplish this in DP.

Speaking of external apps, for those times when I need to do a significant time or pitch change on complex material, the IRCAM algorithm in Machfive does an amazing job. Check out the YouTube videos on this if you haven't seen it.
MOTU user since Performer™ 1.22 on 128k floppy
DP 11.23
MacBook Pro 14” 2023 M2 max 12 core
64 Gb RAM
4TB SSD
OS 14.0 Sonoma
UAD Apollo 8
828 mk3 Hybrid
MIDI Express XT
User avatar
mikehalloran
Posts: 15213
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Time stretching audio

Post by mikehalloran »

I usually find that anything outside the 90%–110% range is pushing it in DP.

Yes, MachFive3 is quite good for this. I also have Melodyne Studio 4 but don't use it for that. Well, not yet but I hear that's also quite good.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4.1, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
User avatar
SMS
Posts: 332
Joined: Mon Dec 13, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco and Monterey
Contact:

Re: Time stretching audio

Post by SMS »

Luckily I haven't had to deal with tracks that rush or drag by more than 10%!
MOTU user since Performer™ 1.22 on 128k floppy
DP 11.23
MacBook Pro 14” 2023 M2 max 12 core
64 Gb RAM
4TB SSD
OS 14.0 Sonoma
UAD Apollo 8
828 mk3 Hybrid
MIDI Express XT
mike_o
Posts: 400
Joined: Sun Dec 31, 2006 9:00 pm
Primary DAW OS: MacOS
Location: inside the mind of myself

Re: Time stretching audio

Post by mike_o »

you can get a time-stretch to snap to grid by holding the command key while using the hand tool, I'm pretty sure its the command key, but it might be option.

I snap to grid on time-stretch all the time, it's there.
Mac Pro 2X Dual Core 2.66Ghz-10.4.9-7 GigRam-828MKII-MTPAV-Ultralight MK3-Digi Performer6.01-PeakPro5.1-Reason4-AbeltonLive6-Virus Rack(Red)-ReMOTE 25 & 37 SL-Nocturn-Stanton Dacratch-PluggoPack-DimensionLE W/EmuProteusPack-Sylenth1-Discovery MAC-MX4-Rapture-Alpha-Octopuss-Automat-Automat1-TALbassline-TALUno60
Don T
Posts: 547
Joined: Fri Oct 29, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Portland, OR

Re: Time stretching audio

Post by Don T »

Hello,
OK I just have to be "that guy" again.
This problem is why I also have PT running on my rig. What you are trying to do is incredibly easy and transparent using elastic audio / warp in ProTools.
I love DP and it is my main DAW but I believe in using the best tool for any job which means there are things I do in other DAWs as well.
It's the ear, not the gear!
MacPro 2.66 gHz 12 core (dp 10.01) - Lynx Aurora16 - OS 10.12.6/WaveArts/TruePianos - Legend 32ch console - G16 Fostex
(2) MacPro 2.66 gHz 12 core (DP 9.5) OS 10.12 - 24 I/O - 2408 mk2 - Da7- (PT 12) - 8 trk MCI
MacPro 2.66 gHz 12 core - OSX 10.12 - Genesys Black - Lynx Aurora16 - waves - Oxford - McDSP - 16 trk Otari - analog sweetness
EMRR
Posts: 1079
Joined: Sat Jan 07, 2006 11:17 am
Primary DAW OS: MacOS
Contact:

Re: Time stretching audio

Post by EMRR »

Love to see a useful update in DP. I gave up on stretching multi-miked anything in DP, drums always develop audible phasing problems (phase shifter stomp box sound) between tracks, no matter how small or large the stretch.
Doug Williams
Electromagnetic Radiation Recorders
The Martha Bassett Show broadcast mixer
Tape Op issue 73

DP 11.31
Studio M1 Max OS12.7.3
MOTU 16A and Monitor 8
M1 Pro MBP for remotes and editing
Morpheo
Posts: 295
Joined: Sun Oct 17, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Montreal by day...Paris by night...

Re: Time stretching audio

Post by Morpheo »

Don T wrote:Hello,
OK I just have to be "that guy" again.
This problem is why I also have PT running on my rig. What you are trying to do is incredibly easy and transparent using elastic audio / warp in ProTools.
Besides, the resulting sound quality in DP in always more than questionable, even with very small amount of stretching. I've done this countless times in Pro Tools and it's indeed so much easier. Being able to do it on a group of tracks simultaneously would be a very welcome addition to DP.
Mac Pro 5,1 12-core 2.4 GHz//40GB RAM//RX 560//macOS 10.13.6//SSDs//MOTU 896//Keylab 88//Faderport 8
Pro Tools 2018.7//LPX 10.4.1//DP 9.51
NI Komplete Ultimate 11//Albion One//Soundiron Choirs//Pianoteq//Analog Lab//VSL SE & Chamber Strings//etc
User avatar
buzzsmith
Posts: 3097
Joined: Mon Dec 27, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Houston
Contact:

Re: Time stretching audio

Post by buzzsmith »

Hoping the eventual update will incorporate a useable time stretching algorithm!

Buzzy


Sent from my iPad using Tapatalk
Early 2009 Mac Pro 4,1>5,1 3.33 GHz Hex Core Intel Xeon OS X 10.8.5 SSD (32 gigs RAM)
DP 9.51 PCI-424e / original 2408, 2408mkII, 24I/O, MTP-AV

Yamaha C7 Conservatory Grand
Hammond B-3 / Leslie 145
Focal Twin6 Be(s)

Klaus
Posts: 1175
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Nordring 38, CH - 3013 Berne

Re: Time stretching audio

Post by Klaus »

Hi all :D
I'm working on a live album and one song is played pretty well, but speeds up gradually…
Is there a plug or a standalone app that you can 'input' a time / speed curve ?
Thanks for hints and
best regards to everybody

Klaus
User avatar
bayswater
Posts: 11958
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Time stretching audio

Post by bayswater »

Klaus wrote:Hi all :D
I'm working on a live album and one song is played pretty well, but speeds up gradually…
Is there a plug or a standalone app that you can 'input' a time / speed curve ?
Thanks for hints and
best regards to everybody

Klaus
Melodyne works with tempo maps and can be used to change tempo. I haven't tried it for this. Their manual is on line.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
Post Reply