Previous Thread
Index
Next Thread
Print Thread
Go To
#315555 10/23/15 03:21 PM
RealBand
Joined: Sep 2015
Posts: 56
Enthusiast
OP Offline
Enthusiast
Joined: Sep 2015
Posts: 56
Should I be concerned about the lag between my MIDI input and the output in my headphones? It seems like the input is being recording "on time," despite the MIDI output lagging behind. But that could mess me up when recording... :-/

Any ideas on how to eliminate the lag?


BIAB Audiophile 2016 for Windows, Cubase LE AI Elements, Windows 8.1 Pro 64-bit, Axium Mini-Air 32, UR22, Alesis Monitors, AT2020
RealBand
Joined: Aug 2011
Posts: 1,827
S
Expert
Offline
Expert
S
Joined: Aug 2011
Posts: 1,827
What's the midi being outputed to ?

RealBand
Joined: Dec 2000
Posts: 12,583
Veteran
Online Content
Veteran
Joined: Dec 2000
Posts: 12,583
Are you using ASIO drivers?


John

Laptop-HP Omen I7 Win11Pro 32GB 2x2TB, 1x4TB SSD
Desktop-ASUS-I7 Win10Pro 32GB 2x1.5TB, 2x2TB, 1x4TB SATA

BB2024/UMC404HD/Casios/Cakewalk/Reaper/Studio One/MixBus/Notion/Finale/Dorico/Noteworthy/NI/Halion/IK

http://www.sus4chord.com
RealBand
Joined: Sep 2015
Posts: 56
Enthusiast
OP Offline
Enthusiast
Joined: Sep 2015
Posts: 56
MIDI out is to MS GS Wavetable Synth, and I'm using the MIDI driver for my M-Audio Axiom AIR-32 Mini.


BIAB Audiophile 2016 for Windows, Cubase LE AI Elements, Windows 8.1 Pro 64-bit, Axium Mini-Air 32, UR22, Alesis Monitors, AT2020
RealBand
Joined: Aug 2011
Posts: 1,827
S
Expert
Offline
Expert
S
Joined: Aug 2011
Posts: 1,827
You can adjust the GS Wavetable here:


RealBand
Joined: May 2000
Posts: 21,631
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,631
While SR's suggestion does work, I don't think it accounts for realtime input/output response, which I think was the original issue.

There are ways to adjust this using MME, but usually changing to ASIO drivers makes the most difference.

Quote:
Should I be concerned about the lag between my MIDI input and the output in my headphones? It seems like the input is being recording "on time," despite the MIDI output lagging behind.


Make your sound your own!
.. I do not work here, but the benefits are still awesome
rharv #315655 10/24/15 03:46 PM
RealBand
Joined: Sep 2015
Posts: 56
Enthusiast
OP Offline
Enthusiast
Joined: Sep 2015
Posts: 56
Originally Posted By: rharv
While SR's suggestion does work, I don't think it accounts for realtime input/output response, which I think was the original issue.

There are ways to adjust this using MME, but usually changing to ASIO drivers makes the most difference.


I didn't think the ASIO drivers mattered when it came to MIDI. My ASIO drivers are for my audio interface, which isn't connected to my MIDI device.



When I select the ASIO driver ("2- Steinberg UR22-1"), the MIDI keyboard no longer generates any sound. Only the "Axiom AIR Mini 32 MIDI In" driver works to generate sound from my MIDI keyboard.

Thanks, guys!


BIAB Audiophile 2016 for Windows, Cubase LE AI Elements, Windows 8.1 Pro 64-bit, Axium Mini-Air 32, UR22, Alesis Monitors, AT2020
RealBand
Joined: Aug 2011
Posts: 1,827
S
Expert
Offline
Expert
S
Joined: Aug 2011
Posts: 1,827
Un-check Re-Route Midi like the pic I put up and try it.

RealBand
Joined: May 2000
Posts: 21,631
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,631
Try SolidRocks suggestion.

What you aren't grasping is the computer is indeed generating the audio for your synth.
So yes, ASIO is for audio but can affect MIDI playback, especially in real time and using a softsynth. Hardware synths don't have this issue.


Make your sound your own!
.. I do not work here, but the benefits are still awesome
RealBand
Joined: Sep 2015
Posts: 56
Enthusiast
OP Offline
Enthusiast
Joined: Sep 2015
Posts: 56
Originally Posted By: solidrock
Un-check Re-Route Midi like the pic I put up and try it.


Did that and it seems to have helped a little. There still seems to be a very small lag. Now, it's probably not so bad that it would interfere with my input, but still seems there is a teensy-weensy lag.

Thank you!


BIAB Audiophile 2016 for Windows, Cubase LE AI Elements, Windows 8.1 Pro 64-bit, Axium Mini-Air 32, UR22, Alesis Monitors, AT2020
RealBand
Joined: Aug 2011
Posts: 1,827
S
Expert
Offline
Expert
S
Joined: Aug 2011
Posts: 1,827
Now click the Latency Adjustment button.

rharv #315941 10/27/15 02:35 AM
RealBand
Joined: Dec 2002
Posts: 11,384
Veteran
Offline
Veteran
Joined: Dec 2002
Posts: 11,384
Originally Posted By: rharv
Try SolidRocks suggestion.

What you aren't grasping is the computer is indeed generating the audio for your synth.
So yes, ASIO is for audio but can affect MIDI playback, especially in real time and using a softsynth. Hardware synths don't have this issue.


Still hearing latency? Go back and fix your ASIO drivers.


Dan, BIAB2024, SoundCloud Win11, i7(12thGen), 32GB, 1TB SSD(M.2 NVMe SSD), 2TB Libraries, 1 TB(WD-Black), 2TB SSD(M.2 NVMe SSD)Data, Motu Audio Express, Keystation 61, SL88 Studio, Reaper

RealBand
Joined: Dec 2000
Posts: 12,583
Veteran
Online Content
Veteran
Joined: Dec 2000
Posts: 12,583
MIDI is definitely affected by the audio drivers, if you want to get sound.

The MS GS WaveTable is a software synth that when used to play real time MIDI input is slow to respond.

The Coyote WS is a DXi wrapper for the MS GS WaveTable. So if you want to reduce your latency, and assuming you have ASIO drivers for your sound card, or if you don't you could try using ASIO4ALL), I would set the audio drivers to ASIO and reroute MIDI to the Coyote synth (or any other general MIDI DXi/VSTi softsynth you may have).

This is really important mainly for live input or playback. If you are just playing already recorded MIDI data, the latency is still there, but you just don't notice it because once the song starts playing, everything is delayed by that same amount, so it sounds fine (who cares if the song didn't actually start until a few milliseconds after hitting "play").

Anyway, that's my suggestion for live MIDI input.


John

Laptop-HP Omen I7 Win11Pro 32GB 2x2TB, 1x4TB SSD
Desktop-ASUS-I7 Win10Pro 32GB 2x1.5TB, 2x2TB, 1x4TB SATA

BB2024/UMC404HD/Casios/Cakewalk/Reaper/Studio One/MixBus/Notion/Finale/Dorico/Noteworthy/NI/Halion/IK

http://www.sus4chord.com
RealBand
Joined: Apr 2009
Posts: 9,323
Veteran
Offline
Veteran
Joined: Apr 2009
Posts: 9,323
Latency is most common with MIDI and when using non-ASIO drivers. Processing the midi data in the synth and getting the audio to the speakers in a timely manner takes time. You want that time lag or latency to be as short as possible without affecting the playback in other ways.

If the sound card supports ASIO... and that means native ASIO and not the codecs and wrappers like ASIO4ALL, it's always best to use it.

Wave table is probably the worst thing you can use when recording and playing back music that has synths and needs to be synced. Wavetable is good for playing mp3 files by themselves and that's about it.

It's best to have ALL the inputs and outputs for midi and audio running through ONE interface/soundcard that uses ASIO drivers. When the latency settings and buffers are adjusted properly, that sound card will give you latency that is under 10ms easily and that essentially equates to no audible latency in the speakers and headphones. Many interfaces are capable of much lower latency than 10ms.... some are easily under 5ms.

Using an interface that's USB connected and has ASIO drivers properly adjusted is the best way to get this done.


You can find my music at:
www.herbhartley.com
Add nothing that adds nothing to the music.
You can make excuses or you can make progress but not both.

The magic you are looking for is in the work you are avoiding.
RealBand
Joined: May 2000
Posts: 21,631
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,631
Quote:
Should I be concerned about the lag between my MIDI input and the output in my headphones? It seems like the input is being recording "on time," despite the MIDI output lagging behind. But that could mess me up when recording...


Again, the MIDI input and what you are calling the "Midi Output" have a delay.
It is not really the "MIDI Output" that is lagging. The MIDI is getting output to the (soft) synth almost instantaneously. What is causing the lag is the computer taking that MIDI signal and generating a sound to match.
A hardware synth would have no problem doing it without you noticing any lag, but your computer is taking a second or two (or a half, or a quarter) to generate the actual sound.
I think this is the lag you hear and it is caused by inputting LIVE MIDI and expecting the sound to be generated instantly from the computer.

This is why ASIO makes such a huge difference; it is the generation of the AUDIO sound that is the actual issue, not the MIDI path at all.

The reason it seems the MIDI is being recorded 'on time' is because IT IS. The lag happens afterwards when the MIDI is required to generate audio ..
MIDI is a trigger. Your synth creates audio from the trigger.
Hardware and ASIO synths handle this trigger very quickly and generate sound.
MME has a buffer (lag) and generates it slower.

NOTE: this is only for real time MIDI input. In other words, as you noticed; the actual MIDI data is recorded accurately. The next time you play it back, everything gets buffered and the 'recorded' MIDI is suddenly in time again. This is by design.

It is only when sending MIDI to your computer and trying to make it generate the synth sound in real time that this is a problem .. it adds extra load/response requirements that most basic setups are not ready for.
If the system can buffer everything (and not need 'instant' response) ASIO/MME doesn't really matter too much. The buffers line everything up.
But when playing along with a song (or recording alongside to existing tracks) you want 'instant response' from MIDI IN to AUDIO Out .. and ASIO is the most likely solution.



Make your sound your own!
.. I do not work here, but the benefits are still awesome
RealBand
Joined: Dec 2003
Posts: 20,782
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 20,782
Rharv is right on the money. I do a lot of MIDI recording. With ASIO drivers and the driver buffers set correctly I get zero latency when recording. I could have 5-20 MIDI tracks playing while recording another MIDI track again with zero latency. I have recorded three MIDI tracks simultaneously with no latency.

If you do not have a sound card with native ASIO drivers then getting one will solve your problem. ASIO4ALL drivers is a hit or miss situation as some people have had some success with them while others were not so lucky. But if your sound card does not have ASIO drivers you way want to try the free ASIO4ALL but a sound card with native ASIO drivers is your best choice.

Good luck.


Me, it's not about how many times you fail, it's about how many times you get back up.
Cop, that's not how field sobriety tests work.

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware
Previous Thread
Next Thread
Go To

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Update your Band-in-a-Box® 2024 for Windows® Today!

Update your Band-in-a-Box® 2024 for Windows for free with build 1111!

With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!

Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111

Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Convenient Ways to Listen to Band-in-a-Box® Songs Created by Program Users!

The User Showcase Forum is an excellent place to share your Band-in-a-Box® songs and listen to songs other program users are creating!

There are other places you can listen to these songs too! Visit our User Showcase page to sort by genre, artist (forum name), song title, and date - each listing will direct you to the forum post for that song.

If you'd rather listen to these songs in one place, head to our Band-in-a-Box® Radio, where you'll have the option to select the genre playlist for your listening pleasure. This page has SoundCloud built in, so it won't redirect you. We've also added the link to the Artists SoundCloud page here, and a link to their forum post.

We hope you find some inspiration from this amazing collection of User Showcase Songs!

Congratulations to the 2023 User Showcase Award Winners!

We've just announced the 2023 User Showcase Award Winners!

There are 45 winners, each receiving a Band-in-a-Box 2024 UltraPAK! Read the official announcement to see if you've won.

Our User Showcase Forum receives more than 50 posts per day, with people sharing their Band-in-a-Box songs and providing feedback for other songs posted.

Thank you to everyone who has contributed!

Forum Statistics
Forums66
Topics81,582
Posts734,705
Members38,500
Most Online2,537
Jan 19th, 2020
Newest Members
Tusar Sarkar, RTW, wtsy365, DerFlex, xabialonso259@gmai
38,499 Registered Users
Top Posters(30 Days)
MarioD 198
DC Ron 111
dcuny 82
WaoBand 75
Today's Birthdays
AlberMaxSax, Lloyd Morris
Powered by UBB.threads™ PHP Forum Software 7.7.5