A Stereo-to-Surround Community
It is currently Thu Feb 22, 2018 5:39 am
  • No posting regarding file sharing of copyrighted material is allowed
  • AudioMuxer is here
  • Spec and SpecWeb are here

All times are UTC - 6 hours [ DST ]

Forum rules

The tools and techniques described and provided on this forum are intended for use on material owned by users and for their personal use as covered by "fair use" and other applicable copyright laws. The owners and moderators of this forum do not suggest or condone any violation of copyright or other applicable laws. Any use of these methods outside this forum in a manner which violates "fair use" or copyright is done so at the individual's own peril and is not the responsibility of All Methods and Guides are Copyrighted © Overall forum rules can be read HERE.

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Sep 20, 2009 5:05 pm 
SBU Wiki Team
User avatar

Joined: Sun Aug 30, 2009 7:01 am
Posts: 212
Eliminating the recording delay in Plogue Bidule

Whenever a layout has VST's with latency (EBP and CB, for example) and the player is linked with the recorder, you get a recording delay at the start and missing samples at the end of the recorded files. This happens because the recorder starts at the same time as the player, but sound only reaches it a few milliseconds later after it has made its way through the layout. At the end, the recorder stops at the same time as the player, but a number of samples are still being processed in the layout and don't make it to the recorder in time. This issue is especially annoying on albums with gapless transitions when you want to process and tweak each track individually. At the end of the process, you need to remove the gaps but there's nothing you can do about the missing samples, so the job is never perfect.

Zeerround came up with a simple solution for this issue. Fan51 built it into a common layout and tested it. This guide explains how to use it.

  1. How does it work?

    In a nutshell, the recorder needs to be delayed by the total latency of the layout. This is done by linking the Play button to a Variable (0=Stopped, 1=Playing). This Variable is connected to a delay line. The second input of the delay line is connected to the latency pin(s) present in the layout to sum up the full latency between the player and the recorder. The delay line is connected to a Parameter Modulator which is linked to the recording status (0=Stopped, 1=Recording). Note that the Play button is not linked directly to the Recording status as is typical in most layouts. As a result, the player starts, the Variable changes to 1, the Parameter Modulator is also changed to 1 but with a delay equal to the total delay of the layout, Recording changes to 1 after the delay has expired. The same thing happens in reverse at the end when the player stops.

  2. Recording Delay Group

    To implement this solution, a Recording Delay group was created. This is what it looks like:

    It has two inputs which are used to connect one or two latency pins from the current layout (see the example below). "Player status" is the variable linked to the Play button. The Delay Line simply delays the signal according to the value in its second input before sending it to the Parameter Modulator. The PM is linked to the Recording parameter of the Recorder.

  3. Example with a common layout

    This group is easy to implement in a layout like SPEC 4.0:

    The Recording Delay group is simply connected to the latency pins coming out of the groups and/or VST plugins making up the total latency of the layout. Two input pins are provided to add two separate latencies if required. As a result, the total latency will be applied before the recorder is started (and eventually stopped).

    Sometimes, the delay is completely handled inside the group and the developer did not find it necessary to include an additional output to continue the delay line outside the group. The easiest solution is to open the group properties and add an extra audio output. Inside the group, you then connect the delay line to the extra output pin at the bottom. This may vary depending on the way the group is constructed, but it is the general principle. Then, back to the parent, you connect the new output to the Recording Delay group.

    Note that Plogue has its own latency, even with the simplest of layouts. It can be minimized with a buffer (in the DSP tab) of 32 at the expense of slower processing.

  4. Parameter links

    Two parameter links need to be added to finish the job:

    Audio File Player [Play] => Recording delay.Player status [Value]
    Recording delay.PM: To Recorder status [Modulation] => Audio File Recorder [Recording]

    The standard link between the Play and Recording parameters must be deleted.

  5. Operation

    To operate, you must first turn Plogue On and then press Play in the player.

    The Recording Delay group is attached. Save it to the Groups folder.

    Recording delay.rar

Click here for comments, feedback and discussion.

Change history

2009-09-20 Original guide published (Fan51)

This guide is copyrighted 2009 by

You do not have the required permissions to view the files attached to this post.

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP POWERED_BY