Examples

Virtual Audio Cable

Examples

Recording an audio signal produced by an application

  • Launch a playback (producing a sound) application.

  • Find audio output settings in playback application.

  • Select a particular Virtual Cable N device as the output (playback/render) device.

  • Choose a particular audio format for a playback.

  • Launch a recording (consuming a sound) application.

  • Find audio input settings in recording application.

  • Select the Virtual Cable N device as the input (recording/capture) device, making sure the N (a cable number) is the same for both applications.

  • If possible, choose the same audio format as chosen for playback.

  • Start recording. You will see a silence is recorded (with full VAC version) or there will be a periodical voice reminder (with trial version).

  • Start playback. You will see an audio position is moved and level meters are alive but there will be no audible sound because a signal is passed via Virtual Cable to a recording application directly.

  • Stop both recording and playback.

  • If your recording application can play recorded data (for example, any audio editor like Audacity, Wavosaur, Sound Forge, or Cool Edit/Audition), you can immediately hear a recorded signal. Just make sure that its wave output is assigned to a real audio adapter (a card) playback port and headphones/speakers are connected.

Monitoring a signal during recording

  • Configure playback and recording applications as described above.

  • Launch Audio Repeater.

  • Select a proper Virtual Cable N as an input device.

  • Select a real audio adapter playback port as an output device.

  • Choose the appropriate audio format parameters.

  • Click Start button. You will see data queues moving.

  • Start recording and playback as described above.

A signal produced by the playing application will be distributed among your recording application and Audio Repeater which passes it to a real device and you will hear it. You should hear clear sound produced by the playback application (with full VAC version) or the sound with periodical voice reminder (with trial version).

You can also leave "None" in the Wave Out field of the Audio Repeater to only watch signal levels on the screen, not playing a signal back to the speakers. To only watch signal level, you can use Control Panel application instead.

Starting from Win7, there is a built-in Listen feature to monitor a cable. You don't need Audio Repeater in a simple case. But in more complex cases, Audio Repeater could be useful (for example, to connect a Virtual Cable to several devices at the same time).

Determining an actual audio format that application uses

  • Launch VAC Control Panel.

  • Launch an application and select a Virtual Cable N as a playback or recording device.

  • Start playback or recording. In VAC Control Panel, you will see the current cable format parameters. If the cable format is not limited, it probably reflects a format used by this application.

But due to the layering issues, if the application uses shared-mode device access, Virtual Cable device can receive a request from System Audio Engine, not from the application directly. Please also note that applications selecting a format automatically can change it from time to time.

Chaining several applications one by other

  • Create an appropriate number of Virtual Cables using VAC Control Panel.

  • Launch your applications.

  • In the first application, which will be audio signal creator/producer, select a Virtual Cable N as a playback/output device.

  • In each intermediate application, which will be both audio signal consumer and producer, select a Virtual Cable X as a recording/input device and a Virtual Cable Y as a playback/output device. The X for each recording device must be the same as the Y used for a playback device in previous application in the chain. In other words, each intermediate application must be connected to the next by a separate cable. You don't need to number them in ascending order, they simply must be separated.

  • If last application is not a final recording destination, select a real audio adapter as its playback device.

  • To temporarily exclude an intermediate application from the chain without changing other applications' settings, simply insert Audio Repeater instead.

Recording Skype conversations

To record Skype conversations, you need two Virtual Cables and at least two Audio Repeater instances:

  • In Skype, you must assign recording/input to Virtual Cable 1 and assign playback/output to Virtual Cable 2.

  • First Audio Repeater instance must transfer from your audio adapter's recording port to Virtual Cable 1, supplying first Virtual Cable with a microphone signal.

  • Second Audio Repeater instance must transfer from Virtual Cable 2 to your audio adapter's playback port, passing Skype output to the speakers.

  • Audio Repeater uses one-second buffer by default that introduces a significant (about 1..2 seconds) delay. You need to experiment with total buffering time, lowering it until audible interrupts occur. The more buffering time, the stable the audio transfer, the longer delay, and vice versa.

  • Now you can separately record your voice from the Virtual Cable 1 and other party's voice from the Virtual Cable 2. Almost any multitrack recorder can be used - for example, N-Track Studio or Adobe Audition (formerly Cool Edit Pro).

  • If you want to record both parties from a single source (mixed), you need to start third Audio Repeater instance and transfer from the Virtual Cable 1 to the Virtual Cable 2. Then you could record a mixed signal from Virtual Cable 2.

  • To avoid an echo, make sure your microphone source line monitoring channel is muted in audio card's mixer.

Distributing audio signal among several audio devices

  • Configure your playback application to use Virtual Cable N device as an output.

  • Launch Audio Repeater instance, select Virtual Cable N device for input and first audio device for output. Change format parameters if needed and start audio transfer.

  • Launch another Audio Repeater instance, select the same Virtual Cable N device for input and another audio device for output. Change format parameters if needed and start audio transfer.

  • Start playback in your application. You will hear a sound in speakers/headphones connected to both audio devices.

  • Please note that due to clock difference issue you will not get a stable sound within a long period of time.

Please note that due to clock difference issue you will not get a stable sound within a long period of time.

Adding an audio signal to an audio broadcast

If you have an audio broadcasting application that broadcasts a signal from your microphone and want to add a sound from another application (audio player, synthesizer, signal processor etc.), use the following configuration:

  • In the broadcasting application, choose Virtual Cable N as the input/recording device instead of the microphone.

  • Launch Audio Repeater, choose a microphone device as input and Virtual Cable N as output. If your microphone is mono, adjust the channel config. Click Start - Audio Repeater will transfer a signal from the microphone to Virtual Cable N. Say some words in the microphone - signal level indicators must react to them.

  • Start the broadcasting and check microphone signal latency. It will be greater than broadcasting directly from the microphone. If needed, try to adjust buffering settings to lower the latency.

  • Launch an application that should produce the additional sound and choose Virtual Cable N as output device. Activate audio playback - a signal will be mixed together with a microphone signal.

The same method can be used to mix an audio signal into a Skype conversation.

Extracting selected channels from a stream or inserting them to a stream

To extract (gather) some channels from a stream:

  • Choose a Virtual Cable device and configure its format range to accept the source multichannel stream. Make sure that the Enable channel mixing checkbox is cleared (channel mixing is disabled).

  • Route a multi-channel audio stream to the chosen Virtual Cable device.

  • Run Kernel Streaming version of Audio Repeater, choose the appropriate Virtual Cable as input device and leave output device field to be "None". Choose input channel configuration matching the source audio stream, click Start and check if all appropriate channel level indicators are active. If no, check your setup for common multi-channel issues. Finally, click Stop.

  • Choose Custom for input channel configuration and select channel positions that you want to extract.

  • Choose an output device (possibly another Virtual Cable) and appropriate channel configuration. For example, if you want to extract two channels, choose Stereo. If you want to extract to a non-standard channel set (for example, three channels), choose Custom and select appropriate number of adjacent channel positions, starting from FL. Then adjust the common number of channels if needed.

  • Configure another Virtual Cable (if used) and recording/processing application that will consume extracted channels.

  • Start recording/processing then start audio transfer in Audio Repeater. Signal level indicators corresponding to the source channels selected to extract should move.

To insert (scatter) some channels to a stream:

  • Choose a Virtual Cable device and configure its format range to accept the destination multichannel stream. Make sure that the Enable channel mixing checkbox is cleared (channel mixing is disabled).

  • Run Kernel Streaming version of Audio Repeater, choose a source device (possibly another Virtual Cable) as input. Choose input channel configuration (standard or custom) matching the source audio stream. For example, if you want to insert two channels, choose Stereo. If the source stream has a non-standard channel set (for example, three channels), choose Custom and select appropriate number of adjacent channel positions, starting from FL.

  • Select the appropriate Virtual Cable as output device, choose Custom for output channel configuration and select channel positions where you want to insert (mix) the source channels. Then adjust the common number of channels if needed.

  • Run a recording/processing application and configure it to record a multi-channel audio stream from the chosen Virtual Cable device.

  • If needed, run another application that plays a multi-channel stream to the chosen Virtual Cable as a base sound. In such case, selected channels will be mixed into this sound stream.

  • Start recording/processing then start signal transfer in Audio Repeater then start the source stream and another application (if used). Signal level indicators corresponding to source stream channels should move. Recording/processing application will receive a multi-channel stream with source channels inserted at the specified positions.

  • If there are problems with multi-channel playback/recording, check your setup for common multi-channel issues.