I have a dream of external delay compensation.

For seeking technical help with Digital Performer and/or plug-ins on MacOS.

Moderator: James Steele

Forum rules
This forum is for seeking solutions to technical problems involving Digital Performer and/or plug-ins on MacOS, as well as feature requests, criticisms, comparison to other DAWs.
Fibes
Posts: 266
Joined: Thu Oct 21, 2004 10:01 pm
Primary DAW OS: MacOS
Contact:

I have a dream of external delay compensation.

Post by Fibes »

C'mon already.
Fibes

"You can like it, or not like it."
-----------------------------------
DP 7.24, 12 Core 2.66, Reason, Live, UAD-2 full meal deal, Sonalksis 315 & 517, DUY Everpack, Altiverb 6, Apptrigga, Autotune 5, OHM Force Experience, Audio Damage Dishord/Adverb/Dubstation, PSP full meal deal, Camelphat/Space, Wave Arts Power pack and many more.
User avatar
monkey man
Posts: 14074
Joined: Fri Apr 22, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Melbourne, Australia

Post by monkey man »

Hey, Fibes

A thought I had the other day:

E-ADC plug gets inserted in mixer slot.
Its only 3 parameter fields are:
1) Input selection from the return
2) Output selection as the send
3) Manual compensation setting, just in case of trouble, and for possible fine-tuning.

DP compares a (sent) blip or the incoming and outgoing audio and measures the I/O delay.
From here in, it's normal ADC measures all the way.
I believe this would then only involve a "virtual, non-destructive" track-shift.
Who knows, maybe I've missed something, but shouldn't it be this simple? :?

Monkey

Mac 2012 12C Cheese Grater, OSX 10.13.6
MOTU DP8.07, MachFive 3.2.1, MIDI Express XT, 24I/O
Novation, Yamaha & Roland Synths, Guitar & Bass, Kemper Rack

Pretend I've placed your favourite quote here
Fibes
Posts: 266
Joined: Thu Oct 21, 2004 10:01 pm
Primary DAW OS: MacOS
Contact:

Post by Fibes »

I DON'T want to start a platform war but Nuendo can do it.

It's native.

And very easy to ping.
Fibes

"You can like it, or not like it."
-----------------------------------
DP 7.24, 12 Core 2.66, Reason, Live, UAD-2 full meal deal, Sonalksis 315 & 517, DUY Everpack, Altiverb 6, Apptrigga, Autotune 5, OHM Force Experience, Audio Damage Dishord/Adverb/Dubstation, PSP full meal deal, Camelphat/Space, Wave Arts Power pack and many more.
User avatar
auptown
Posts: 337
Joined: Mon Oct 31, 2005 11:08 pm
Primary DAW OS: MacOS
Location: Boulder, CO
Contact:

Post by auptown »

Well, I think I can write this plug-in. I did a similar algorithm in the Digital Audio Toolbox for the Latency measurement (my company is TerraSonde, although now Sencore sells these things).

So that I understand, can someone describe the full details of the setup, and what is not happening now that should be? I think this is related to using external outboard gear to process tracks, but I am not sure if that fully covers it.
MacPro 2x2.66, 5G ram, 1 SATA, 2 raptors, 2408 mk3, MOTU HD192, Mackie MCU
Dual 2.0g G5, 7g ram, 1 SATA drive, 1 IDE drive, Duende, Liquid Mix, UAD-1,
OS X 10.4.11, DP 5.13, MOTU 2408mk3, BFD, RMX, Atmosphere, EWQLSO Gold XP, Ethno, Grace m906, Blue Sky 5.1 monitors
MacBook Pro 2.13 3G ram, ext FW drive
User avatar
Eleventh Hour Sound
Posts: 1920
Joined: Fri Feb 03, 2006 7:50 pm
Primary DAW OS: MacOS
Location: Southern California
Contact:

Post by Eleventh Hour Sound »

I sometimes use a second computer as a MIDI sound module running BFD drums and it would be nice to use "automatic external delay compensation" to compensate for any latency introduced. Right now, I do it manually using the MIDI shift plug in to advance a track so it will play in time....
jeronimo
Posts: 191
Joined: Sun Nov 21, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Salvador BA Brazil
Contact:

Post by jeronimo »

That would be awsome to have on DP.
Cubase SX 3 and Nuendo 3 have it.
Maybe someone that owns SX3 or N3 could help auptown to write this plug!
C'mon guys!!
Fibes
Posts: 266
Joined: Thu Oct 21, 2004 10:01 pm
Primary DAW OS: MacOS
Contact:

Post by Fibes »

Bows down and prays...
Fibes

"You can like it, or not like it."
-----------------------------------
DP 7.24, 12 Core 2.66, Reason, Live, UAD-2 full meal deal, Sonalksis 315 & 517, DUY Everpack, Altiverb 6, Apptrigga, Autotune 5, OHM Force Experience, Audio Damage Dishord/Adverb/Dubstation, PSP full meal deal, Camelphat/Space, Wave Arts Power pack and many more.
User avatar
mcevilley
Posts: 195
Joined: Thu Jul 21, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Los Angeles
Contact:

Post by mcevilley »

auptown wrote:Well, I think I can write this plug-in. I did a similar algorithm in the Digital Audio Toolbox for the Latency measurement (my company is TerraSonde, although now Sencore sells these things).

So that I understand, can someone describe the full details of the setup, and what is not happening now that should be? I think this is related to using external outboard gear to process tracks, but I am not sure if that fully covers it.
Sounds great! Yeah, I think he's just talking about being able to use outboard processing or modules without any noticeable delay. Maybe Fibes could elaborate? C'mon Fibes, auptown is offering...
DP 9.52, Max OS 10.11, Mac Pro (early 2008), 2x2.8 dual quad core.
User avatar
monkey man
Posts: 14074
Joined: Fri Apr 22, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Melbourne, Australia

Post by monkey man »

auptown wrote:So that I understand, can someone describe the full details of the setup, and what is not happening now that should be? I think this is related to using external outboard gear to process tracks, but I am not sure if that fully covers it.
Hey, auptown

What have I missed? Have you read this?
Did anyone read my post? No comment so far...
monkey man wrote:Hey, Fibes
A thought I had the other day:

E-ADC plug gets inserted in mixer slot.
Its only 3 parameter fields are:
1) Input selection from the return
2) Output selection as the send
3) Manual compensation setting, just in case of trouble, and for possible fine-tuning.

DP compares a (sent) blip or the incoming and outgoing audio and measures the I/O delay.
From here in, it's normal ADC measures all the way.
I believe this would then only involve a "virtual, non-destructive" track-shift.
Who knows, maybe I've missed something, but shouldn't it be this simple? :?
Monkey
1) Input selection from the return = Output from your 'verb, comp etc.
2) Output selection as the send = DP channel insert "sends" to 'verb, comp etc. input.

DP compares a (sent) blip or the incoming and outgoing audio = Stopped (not playing) "blip calibrate" option, or DP realtime calibration where the app intelligently compares incoming with outgoing (confident :lol:) audio on the mixer channel.
mcevilley wrote:Sounds great! Yeah, I think he's just talking about being able to use outboard processing or modules without any noticeable delay. Maybe Fibes could elaborate? C'mon Fibes, auptown is offering...
External delay = Introduced processing lag
Compensation = Well, compensation, ie. track-shift.
I hope this is what Fibes is talking about. Dunno what else it could be. :?
All I've done here is explain what I've already written.
Some sort of response or comment would help, as typing to myself aint as gratifying as talking (to myself). :lol:

Cheers
M

Mac 2012 12C Cheese Grater, OSX 10.13.6
MOTU DP8.07, MachFive 3.2.1, MIDI Express XT, 24I/O
Novation, Yamaha & Roland Synths, Guitar & Bass, Kemper Rack

Pretend I've placed your favourite quote here
User avatar
auptown
Posts: 337
Joined: Mon Oct 31, 2005 11:08 pm
Primary DAW OS: MacOS
Location: Boulder, CO
Contact:

Post by auptown »

Hey there Monkey Man,

Sorry if you felt ignored!

I did read your post and in my programmer mode was just trying to make sure that I had the full grasp of the problem before I started codin' codin' codin'. I myself posted a question about an aspect of this situation a while back, at the time I thought (incorrectly) that the buffers were part of the delay problem. I was corrected, and now I believe that the only delays com from the external equipment itself.

Might be a bit dicier in the case of external VIs, since I'm not sure quite how to pass a blip through them to figure out their delay. But there must be a way...

Meantime I'm going to try to build this beast. I just started working in the plugin arena, I have previously worked in actual DSP coding. But I have built a few plugs and although I am fumbling around quite a lot I think I can get them to do my bidding now.

Thanks for the idea, and I will keep you posted as to my progress.

Cheers
MacPro 2x2.66, 5G ram, 1 SATA, 2 raptors, 2408 mk3, MOTU HD192, Mackie MCU
Dual 2.0g G5, 7g ram, 1 SATA drive, 1 IDE drive, Duende, Liquid Mix, UAD-1,
OS X 10.4.11, DP 5.13, MOTU 2408mk3, BFD, RMX, Atmosphere, EWQLSO Gold XP, Ethno, Grace m906, Blue Sky 5.1 monitors
MacBook Pro 2.13 3G ram, ext FW drive
User avatar
Eleventh Hour Sound
Posts: 1920
Joined: Fri Feb 03, 2006 7:50 pm
Primary DAW OS: MacOS
Location: Southern California
Contact:

Post by Eleventh Hour Sound »

My application would be for eliminating delay on tracks that were originally MIDI being sent to any combination of internal and external sound modules and computers. For example, When I record the MIDI data from Roland eDrums, and then on playback send the MIDI track to several destinationsL a Roland TD-12 (very little latency) BFD running internally in DP (No latency because of DP's built in delay compensation) or BFD running on another computer (lots of latency) I have to duplicate the MIDI track and use the MIDI shift plug in to set the right offset for the tracks sending MIDI to the external devices...
User avatar
auptown
Posts: 337
Joined: Mon Oct 31, 2005 11:08 pm
Primary DAW OS: MacOS
Location: Boulder, CO
Contact:

Post by auptown »

RecordingArts, this is certainly possible as well. In this case, would you have some audio somewhere that is aligned correctly, ie not delayed? That would give me the 2 signals that I need to compare, in order to compute the offset and clean up.
MacPro 2x2.66, 5G ram, 1 SATA, 2 raptors, 2408 mk3, MOTU HD192, Mackie MCU
Dual 2.0g G5, 7g ram, 1 SATA drive, 1 IDE drive, Duende, Liquid Mix, UAD-1,
OS X 10.4.11, DP 5.13, MOTU 2408mk3, BFD, RMX, Atmosphere, EWQLSO Gold XP, Ethno, Grace m906, Blue Sky 5.1 monitors
MacBook Pro 2.13 3G ram, ext FW drive
User avatar
Eleventh Hour Sound
Posts: 1920
Joined: Fri Feb 03, 2006 7:50 pm
Primary DAW OS: MacOS
Location: Southern California
Contact:

Post by Eleventh Hour Sound »

Could you use MIDI data as your reference point?

If you wanted internal audio as a reference, I guess we could use audio coming from BFD running as an AudioUnits plug in. External audio could come from the Roland TD-12 since it's pretty low latency.

Thanks,
Vincent
acro
Posts: 30
Joined: Fri Oct 22, 2004 10:01 pm
Primary DAW OS: Unspecified

Post by acro »

Thank you auptown for the gracious offer!

I'd been dreaming of the same feature for quite a long time myself; after all, delay compensation/alignment have been part of hardware like the O2R, DA-88, or the Oxford desk... so we're talking about >10 years that DP hasn't caught up (no intent of starting a flame war here). The audio delay or automatic SMPTE negative offsets on all these devices worked quite nicely, too.

The overall "reference" would depend on the setup, in that the instantiation with the max. latency determines the overall amount of compensation.

In theory, MIDI latency compensation is an entirely different story. However, setting up a dummy instantiation of this hypothetical plugin in an audio aux track (ex. named "MIDI delay compensation" in your "start as new template" file...) should take care of the problem quite nicely.
User avatar
auptown
Posts: 337
Joined: Mon Oct 31, 2005 11:08 pm
Primary DAW OS: MacOS
Location: Boulder, CO
Contact:

Post by auptown »

Well, I'm happy to have somthing useful to provide as I figure out how work in this new software programming environment. I have a number of the issues solved already, and I have a plan sketched out, and so far I haven't found anything that would prevent this from working.

Looks like I won't have any problems finding beta testers!
MacPro 2x2.66, 5G ram, 1 SATA, 2 raptors, 2408 mk3, MOTU HD192, Mackie MCU
Dual 2.0g G5, 7g ram, 1 SATA drive, 1 IDE drive, Duende, Liquid Mix, UAD-1,
OS X 10.4.11, DP 5.13, MOTU 2408mk3, BFD, RMX, Atmosphere, EWQLSO Gold XP, Ethno, Grace m906, Blue Sky 5.1 monitors
MacBook Pro 2.13 3G ram, ext FW drive
Post Reply