M-Audio Digital DJ System manual Sample Rate, Buffer Size

Page 52

Torq MixLab User Guide » Chapter 12

51

Sample Rate

Below the Audio Interface selection you will see sample rate adjustment. Increasing this value will improve sound quality (depending on your source material) but will also place heavier demands on your computer. It is therefore recommended to leave the sample rate only as high as you need it to be. If you only play MP3 files or songs from CDs, you won’t really have any reason to raise this value beyond 44,100 since that is the sampling rate used by MP3s and CDs.

Buffer Size

The other important setting for your audio interface is the Buffer Size. This parameter can cause a lot of confusion for some users, but is actually not that complicated. To understand how the buffer size affects the performance of Torq, you must understand a little bit about how your computer processes audio.

Multi-tasking is a term that refers to doing multiple jobs all at once. It’s what allows your computer to run more than one program at a time (i.e. listening to iTunes while surfing the Web). While it looks like the computer is doing two separate things at once, it’s actually not—it’s still doing only one task at a time, but changing between tasks faster than you can see.

This provides for a streamlined computing experience, but creates a problem when using audio applications. Audio is non-stop—a 5-minute song will play for 5 minutes without interruption. So how can the computer keep audio playing while it’s jumping around to do other tasks? The answer is buffering. An audio buffer is a temporary “storage tank” that can hold a brief moment of audio. The computer will fill the audio buffer with music then let the buffer play while it does other things (like update the clock on your screen, check your network connections, monitor RAM usage, etc.). When all things work properly, the computer will complete its other tasks and fill the buffer with more data before the buffer empties, thus resulting in perfect audio while multi-tasking.

If the audio buffer happens to empty before the computer can fill it with more data, the audio playback will stop until the computer can fill the buffer again. These “dropouts” happen very quickly, not sounding like prolonged gaps of silence, but sounding more like clicks and pops or otherwise distorted audio. When this happens, the solution is to either lighten the CPU load (by closing unnecessary applications or processes that are wasting the computer’s time) or by increasing the size of the audio buffer, allowing it to play longer (thus giving the computer enough time to perform its other tasks).

So why not just go with a large buffer size and avoid dropouts? The problem is that increasing the buffer size increases the system latency. Latency is the time between when you tell the computer to do something (such as activating an EQ Kill) and when you actually hear the results from the speakers. If you have a large audio buffer, the buffer will have to play out its entire contents before you’ll hear any new EQ changes in the audio. When DJing, this can be a nightmare if you’re trying to do things with accurate timing—all of your actions will have a delayed effect on the music.

The solution is to set the buffer size as low as it can go without inducing any audio problems. This is just like playing a game of limbo:

1.Load some music into a Deck and play it.

2.While the music is playing, open the Audio Preferences.

3.If music is playing back properly, open the Buffer Size menu and select the next smallest buffer size. The buffer will be updated immediately and the music will continue to play.

4.Listen to the music for a moment. If it sounds clean (no click, pops, or glitches), then lower the Buffer Size to the next lowest setting.

5.Keep repeating this procedure, listening to the quality of the audio each time, until you reach a setting where the audio breaks up.

6.Once you find this lower threshold, set the Buffer Size to the next highest setting (the last one that worked properly) and your system will be optimized.

While Torq should be very stable at these settings, keep in mind that the system performance can be compromised as you increase the CPU load.

Image 52
Contents User Guide Table of Contents Preferences Chapter WelcomeTorq LE Overview Main Waveform Display DecksMixer PFL/Headphone Cue Browser/DatabaseEffect Racks Master ModuleWindows System RequirementsMac Installation To install Torq LE on Windows XPDecks DisplaysSong Name Artist NameControls Setting QuickCues CueQuickCue Playing QuickCuesDeck Mode Vinyl ModeCDJ Mode Hybrid Mode» Using QuickLoops Loop In/OutLoop On/Off QuickLoop» QuickLoop Behaviors » QuickLoop Size PreferenceSpeed Slider Slider Range BPM Display» Automatic BPM Detection » Double/Halve ButtonFine Tuning » Manual Tempo» Tap Tempo » BPM EntryMidi Slider/Knob Control Midi Button ControlSync Button Midi Keyboard ControlNudge Buttons Offset Buttons Information Shown on Display Waveform DisplayWaveform Phase Grid Vinyl ModePlayback Manipulations Loop PointsHybrid Mode CDJ ModePhase Grid Manipulations Automatic Tempo and Phase DetectionSynchronization Adjusting with Nudge Buttons Adjusting with the MouseAdjusting with Offset Buttons Locked Sync Momentary SyncExternal Control Midi PrefsMidi Learn Keyboard LearnAssigning Buttons to Knobs or Sliders Assigning Knobs or Sliders to ButtonsBROWSER/DATABASE Browser PaneDatabase Adding Folders to DatabaseAdding Multiple Folders Adding Folders from Your OSSearching Specific Database Folders Removing Folders from DatabaseEditing Fields Artist/Song Filename SwapLoading Songs into the Decks Click and DragFunction Keys Sorting the ListSearching the List Search CategoriesIgnore Field Reset ButtonPlaylists Creating New Playlists Rename PlaylistDeleting a Playlist Duplicating a PlaylistActivating a Playlist Reordering Songs in a PlaylistSaving a Playlist Loading a Playlist Session PlaylistRename the Session Playlist Deleting Session PlaylistsITunes LibraryPlaylists Searching iTunes with the DatabaseDrives IPodsAudio CDs Mixer Mixer ArchitectureChannels Gain/MuteEQ/Kills PFL/Headphone CueCrossfader Channel Volume FadersCrossfader Curve » Adjusting with the Mouse » Adjusting via MidiCrossfader Assign Transform ButtonsPFL/HEADPHONE CUE Volume ControlSplit Button and Source Knob Level Meter and Limiter Master OutputMaster Recorder Filename Setting the Record LevelRecording Enable Button EffectsTweak Knob Tweak ButtonEnable Button Built-In EffectsTweak Knob and Button Tweak ButtonTweak Knob StrobePreferences Audio InterfaceSample Rate Buffer SizeAuto-Detect M-Audio Devices On/Off Midi TabScratch Sensitivity Midi Shift Key Crossfader Curve ControlMidi Devices Torq Engine Miscellaneous TabCue Exclusivity Schaffel Mode Transport ModeQuickLoop Size Search iPod with DatabaseSync Mode SkinAbout X-SESSION PRO Controls and Connectors Top PanelRear Panel Preset Key Assignments Global Key CommandsWindows Key Commands Mac Key CommandsWarranty Warranty Terms Warranty Registration