Latency | Using RackAFX/RackAFX Projects | Forum


Please consider registering

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 Topic RSS sp_TopicIcon
December 17, 2015 - 10:49 am
Member Since: December 13, 2015
Forum Posts: 5
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
Member Since: April 3, 2014
Forum Posts: 75
sp_UserOfflineSmall Offline

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?

December 17, 2015 - 6:05 pm
Member Since: January 29, 2017
Forum Posts: 689
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
Member Since: December 13, 2015
Forum Posts: 5
sp_UserOfflineSmall Offline

Thanks guys, much appreciated.

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689