• 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Workaround for ASIO Buffer size and other audio I/O issues (Windows)
#1
Problem:  A lot of users have problems adjusting their ASIO buffer sizes to tweak their audio latency for optimized performance. JamKazam doesn't seem to have any tools to help with these settings, and sometimes pushes super small or too large buffer sizes that render audio inaudible or too high latency.

Workaround: DAWs typically have very robust audio device settings allowing for proper tweaking of your audio latency. Using a DAW for your audio device I/O, and some soft of software audio routing solution to send audio from your DAW to JamKazam and back allows for these settings to be transferred to JK for optimal experience. This can be accomplished in infinite ways and combinations of software (countless DAWs, Jack Router, Voicemeeter, Virtual Audio Cable, Synchronous Audio Router), but I've quite successfully been using Reaper and its built in audio routing driver, ReaRoute, and some very simple routing. Is this needlessly complicated? Maybe, until JK implements ASIO tweaking settings into their software. Does it work? For all my trials so far, absolutely.

How-To (Using Reaper):  

Step 1: Download Reaper 32bit  (This is important - JK will not see ReaRoute unless its the 32bit version). Reaper can be downloaded here: https://www.reaper.fm/

Step 2: Install Reaper. During the installation, make sure to click the checkbox for "ReaRoute ASIO driver" as shown here.

[Image: vkaSPLt.png]

Step 3: Open Reaper and set up your Audio device. There are countless tutorials on how to do this on YouTube and the cucko's forums. For best results, use ASIO or WASAPI in exclusive mode. You can tweak your buffer size/block size. Here are what my settings look like for either one using an Alesis iO4 as my interface:

[Image: 8dNY3GL.png]
[Image: jNvqkqG.png]

Once your audio settings are... set... you should see your device settings in the top right corner of Reaper. You may have to restart Reaper if it keeps saying audio device closed:

[Image: WKUxx3v.png]

Step 4: Press Ctrl+T to create a new track. Click the Record Arm/Disarm Button (1). Make sure the Record Monitoring is turned on (2). Click the input selection if you need to change it (inputs can be stereo or mono) (3). Once this is all correct, you should see any input levels there may be on the meter (4). It should also be sent to the Master ouput and show up on the meter in the bottom left of the whole screen. This is a great time to test your inputs and make sure your audio device and inputs/outputs are working properly and with good latency (buffer not too high) and little to no crackling (buffer not too low). 

[Image: eD13xHK.png]

Create a new track for each input you will use and send to JamKazam. Make sure to select the proper inputs for each track to match your interface. You can name your tracks by double clicking the dark gray area next to the record monitoring button. You can also apply any FX chains you'd like to your tracks, assuming they don't add any latency to your audio stream. 

Step 5: Create a final track for the audio you will receive from JamKazam. Arm Recording, Record monitoring on, just like above. Set the input device to Stereo -> ReaRoute 1 / ReaRoute 2 (as a side note - this is the ReaRoute CLIENT->Reaper bus. There is a separate ReaRoute Reaper->CLIENT bus you will use later). If you don't see ReaRoute available, you missed the checkbox in Step 2. You can just re-run the installer and check the box, no need to uninstall.

[Image: 0r9OspW.png]

Step 6: Configure routing for each of your Input tracks (NOT the final JamKazam ReaRoute track) as follows. Click the Route button (1) on the track down in the mixing section. When the routing window pops up, uncheck the master send box (2), and add a new hardware send (3). Select an open ReaRoute channel (This is the aforementioned ReaRoute Reaper->CLIENT bus - these will not conflict with the input you selected for your JK track above). Make sure to send a stereo signal if its stereo, mono signal if its mono. This should complete the Reaper side of things. File -> Save project to save the tracks and routing for each time you use it.

[Image: 1I9KweA.png]

Step 7: Leaving Reaper open, open JamKazam. Go to your Audio Gear settings as usual. Click Add New Gear. Skip the Video and click next to get to the Select & Test Audio Gear Page. Select ReaRoute ASIO as your input and output device. Deselect any unneeded input channels, and make sure ReaRoute 1 and 2 only are selected for your output channels. Once you get your latency and I/O rate to pass green or yellow (sometimes the I/O rate just takes a couple of tries.. hit resync to retry), press next. If you don't see ReaRoute ASIO in JamKazam, you probably installed the 64 bit version of Reaper/ReaRoute. Start over again with the 32 bit version (I told you it was important).

[Image: oHyKGhV.png]

Note: at this point, clicking on the ASIO settings button will only bring up the ReaRoute Configuration. Any actual ASIO (or WASAPI) tweaking will have to be done in Reaper device settings, then click resync in JK to get them working together.

Step 8: Set up your instrument tracks. Again make sure everything lines up - Mono inputs should only be assigned one ReaRoute channel, and the 2nd channel left blank. Stereo inputs should be assigned both channels. These assignments must match the hardware send routing you set up in Reaper in Step 6. After thats done, hit next.

Step 9: Set up a chat Mic if you aren't using a vocal mic. Click next. Click to play the test tone. Make sure you hear the sound (it will be coming back through Reaper to your interface). Click Next.

Step 10: There you go, you're done. Optionally, you can go into a session and go to Manage -> Audio Settings -> Audio Booster. Change your Audio Framesize to 1 ms. Hit resync if you have to, and make sure your audio quality is still good. If its not all garbled up, leave it at 1ms. If its no good, move it back to 2 or 2.5 ms. This setting will help reduce your audio latency just a little bit more. Some users have also seen better performance lowering their Maximum Outgoing Bitrate, but I have not tried that.

[Image: rCEl4b2.png]

[Image: WibUJtp.png]

Good luck! This has been successful for me as well as 3 other band mates. Post any questions here, maybe I'll work on some troubleshooting steps if people find this useful and want them.

Full credit to this guy in the Cuckos forum who posted this 5 years ago, in a much more concise way: https://forum.cockos.com/showthread.php?t=158500
  Reply


Messages In This Thread
Workaround for ASIO Buffer size and other audio I/O issues (Windows) - by marhdeth - 04-24-2020, 04:41 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)