Note: this needs to be done in extremely rare situations only. Make sure you're using the latest drivers for your soundcard first. Aligning audio devicesUnder normal circumstances all audio and MIDI devices will be aligned by MultitrackStudio, so that newly recorded tracks are perfectly aligned with existing ones. However, some soundcard drivers fail to report the exact playback or recording position, and as a result MultitrackStudio can't align the devices accurately. Offsets to the reported positions can be specified in text files to compensate for such driver defects. Aligning the audio input and output devices step-by-step This section describes how to compensate the audio input device so that new tracks are aligned with existing ones. Step 1 Start MultitrackStudio and load the 'c:\Program Files\MtStudio\Impulse.gjm' in a track. This file contains a single impulse at approx. 50 milliseconds. Set up another track that will record the first track. Step 2 Connect the audio input device to the audio output device using an audio cable. If your soundcard can do this routing internally you can use that feature instead of the cable. Step 3 Click the Studio menu's Devices option and click the Settings button. The driverset's Settings window will appear. Now close this window using the OK button, thus forcing the program to create sections in a file that you will be editing in the next step. Note that 'default' devices (Default, MIDI Mapper or Primary Sound Driver) can't be compensated, so any devices you want to compensate must be selected explicitly. Step 4 Record the first track to the second track for about one second. Open the track editors and locate the impulses. Move the mouse over the impulses and read the positions in the bottom right corner of the window. The difference between the two positions is error that needs compensation. Step 5 The WinSound and AsioSnd driversets store their settings in the 'WinSound Settings.txt' and 'AsioSnd Settings.txt' files respectively. These files are located in the 'C:\Documents and Settings\Username\Application Data\MtStudio' folder, and can be edited using Windows Notepad to compensate for the driver's error. The settings files consist of sections, indicated by [brackets], which can contain values. Here's a small example of a settings file:
[Settings]
[Brand X Wave Device] audioin_offset_millisecs=15
The [Settings] section shouldn't be modified. The [Brand X Wave Device] section, where 'Brand X Wave Device' is the name of the audio input device as specified in the driverset's Settings window. The error value found in step 4 has been filled in here (15 milliseconds in this case). Step 6 Close MultitrackStudio and start it again (this is necessary to force the program to read the settings file again). Now you can repeat steps 1..4 and verify the results. Advanced options It is also possible to specify offsets in samples instead of milliseconds, this can be useful if you want the compensation to work for multiple samplerates. The offset can also be specified in ASIO buffers (AsioSnd only). MIDI devices can also be compensated. This is the full list of possible compensation options: Audio input devices support these values: audioin_offset_millisecs= audioin_offset_samples= audioin_offset_buffers= (AsioSnd only)
WinSound high latency audio output devices and AsioSnd Audio output devices support these values: audioout_offset_millisecs= audioout_offset_samples= audioout_offset_buffers= (AsioSnd only)
WinSound high latency audio output devices support these values: audiooutlowlat_offset_millisecs= audiooutlowlat_offset_samples=
MIDI input devices support these values: midiin_offset_millisecs= midiin_offset_samples=
MIDI output devices support these values: midiout_offset_millisecs= midiout_offset_samples=
The _samples values must be integer values, the _millisecs and _buffers values can be fractional. ASIO DelayA small delay can be introduced to the AsioSnd driverset's ASIO buffer processing. This can sometimes be used to work around certain soundcard/mainboard/driver incompatibilities if these symptoms occur: - Recording a MIDI track using a softsynth sounds fine while recording.
- But it sounds gargled or extremely glitchy when played back.
To add an ASIO delay open the 'C:\Documents and Settings\Username\Application Data\MtStudio\AsioSnd Settings.txt' file in NotePad and add a 'AsioDelay=' line in the [Settings] section like this: [Settings] AsioDelay=20000 The value has to be determined experimentally (the higher the value the longer the delay. MultitrackStudio should be restarted after editing the file. |