Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Latency
No permission to create posts
December 17, 2015
10:49 am
Avatar
Dr Tarantism
Member
Members
Forum Posts: 5
Member Since:
December 13, 2015
sp_UserOfflineSmall Offline

Hi. I've been going through the projects in the book, but am having trouble finding information about plugin latency. I see that there is a field for latency when you create a new project, but was hoping to get a little information on how it works, and the ramifications, before I jump into it.

December 17, 2015
3:29 pm
Avatar
Tom
Admin
Forum Posts: 65
Member Since:
April 3, 2014
sp_UserOfflineSmall Offline

Hi,
it is relatively simple: in the VST API there is a method/function for the host to query the plugin latency so it can compensate for it. I guess inside RackAFX the value has no relevance, only when you export to VST or load the hybrid RackAFX dll in a VST host which does latency compensation.

If I remember correctly, the FX book has some places where "look-ahead" is mentioned (Chapter 13?). The plugin of course cannot foresee the future samples. So it actually has to delay the processing and thus the output until it has the required number of samples to realize a "look-ahead" feature. But the host needs to place the processed samples back into their original position in time, so the shift needed for the look-ahead inside the plugin needs to be compensated by shifting the output signal back. Again, as the host can't predict future samples, this actually works by delaying "everything else", e.g. the "non-look-ahead" tracks will receive their signal "latency value" samples later. The complicated part of this technique happens inside the DAW, your plugin only has to tell the number of samples it will delay the output.

I hope this answers your questions?
Cheers
Tom

December 17, 2015
6:05 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Yes, the Latency and Tail Time fields are new additions in RAFX.

Latency has no meaning in RAFX; BUT, it is used in the RAFX-DLL-as-VST2/3 plugin, as well as the Make VST and Make AU projects. VST and AU hosts can compensate for plugin latency which is especially useful for aligning samples across multiple tracks.

Tail Time is used in all APIs - RAFX, VST and AU as a way to let you listen to your reverb/delay tails after audio is stopped.

Somewhat related:
For the fastest playback (and synth rendering) you can use the Audio/MIDI -> Setup Audio Devices

If you have an ASIO compliant driver, choose the ASIO ports for I/O, then set the latency multiplier to 1 and the buffer size as low as you can get without clicks or stuttering - I can use a buffer size of 16 samples reliably on my system. This gives the fastest audio playback. FFT monitoring, and synth rendering.

- Will

December 17, 2015
6:12 pm
Avatar
Dr Tarantism
Member
Members
Forum Posts: 5
Member Since:
December 13, 2015
sp_UserOfflineSmall Offline

Thanks guys, much appreciated.

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143