Previous Thread
Index
Next Thread
Print Thread
Go To
#407400 04/14/17 02:44 PM
Beginners Forum
Joined: Sep 2015
Posts: 58
D
dsbw Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Sep 2015
Posts: 58
Just when I thought I was out—they pull me back in!

So, I've had my travails in getting my KeyStation 88 to work with my Win10/SoundBlaster Z set up, but I finally have it where the sound works, works pretty consistently and at a reasonable volume.

It also doesn't lag...much...at first! (Read in William Shatner's voice for best effect.) But...slowly...the lag appears...begins to embiggen...and pretty soon, I'm wondering if I've gone mad, or if I've gone sane in a mad world. (It IS actually, kind of funny, as I play slower and slower because the notes are coming out slower.)

Actually, I think now (I've been mulling this for a few days) it's always a little laggy. I had a better pianist than I come in try it and she noticed immediately. It seems better or worse from moment to moment but I can't nail it down.

So...how to troubleshoot this? These are my MIDI settings:


  • My MIDI Input Driver is "Keystation 88". That's the only thing I've found that works.
  • My MIDI Output Driver is Microsoft GS Wavetable Synth or Microsoft MIDI Mapper.
  • My Synthesizer/Sound card is Coyote WaveTable DXI. (I can use any of the others apparently; I haven't figured out the significance of this. Though it doesn't seem to matter vis a vis the lag.)
  • I've checked Use VSTi/DXi synth.
  • I've checked Route MIDI thru to MIDI driver.
  • My GM2 Support is General MIDI 2 (GM2) support.
  • Audio Settings are ASIO always.


1) If I exit BiaB and come back, the lag reduces, but never actually goes away AFAICT.
2) I'm using ASIO4All.
3) I can use the SBZ driver, too, but that doesn't seem matter much.
4) I set the quality settings to "Fast"
5) If I click the "Get from soundcard" button at any time, BiaB crashes.

I am open to any solution to removing lag. Hardware/software/whatever.

dsbw #407407 04/14/17 03:16 PM
Beginners Forum
Joined: Dec 2003
Posts: 20,798
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 20,798
What are your computer specs? Ram? CPU speed? HD speed? etc

Does the slow down also happen in RB or any other DAW or music device?

Are there tempo changes in the song?

If there are no tempo changes and the song starts out OK but then slows down it sounds like you are pushing something to the limit. Maybe the CPU, sound card, RAM, HD, etc but without the computer spec information it is hard to many any conclusion.


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
dsbw #407463 04/15/17 03:41 AM
Beginners Forum
Joined: Apr 2009
Posts: 9,326
Veteran
Offline
Veteran
Joined: Apr 2009
Posts: 9,326
Originally Posted By: dsbw
Just when I thought I was out—they pull me back in!

So, I've had my travails in getting my KeyStation 88 to work with my Win10/SoundBlaster Z set up, but I finally have it where the sound works, works pretty consistently and at a reasonable volume.

It also doesn't lag...much...at first! (Read in William Shatner's voice for best effect.) But...slowly...the lag appears...begins to embiggen...and pretty soon, I'm wondering if I've gone mad, or if I've gone sane in a mad world. (It IS actually, kind of funny, as I play slower and slower because the notes are coming out slower.)

Actually, I think now (I've been mulling this for a few days) it's always a little laggy. I had a better pianist than I come in try it and she noticed immediately. It seems better or worse from moment to moment but I can't nail it down.

So...how to troubleshoot this? These are my MIDI settings:


  • My MIDI Input Driver is "Keystation 88". That's the only thing I've found that works.
  • My MIDI Output Driver is Microsoft GS Wavetable Synth or Microsoft MIDI Mapper.
  • My Synthesizer/Sound card is Coyote WaveTable DXI. (I can use any of the others apparently; I haven't figured out the significance of this. Though it doesn't seem to matter vis a vis the lag.)
  • I've checked Use VSTi/DXi synth.
  • I've checked Route MIDI thru to MIDI driver.
  • My GM2 Support is General MIDI 2 (GM2) support.
  • Audio Settings are ASIO always.


1) If I exit BiaB and come back, the lag reduces, but never actually goes away AFAICT.
2) I'm using ASIO4All.
3) I can use the SBZ driver, too, but that doesn't seem matter much.
4) I set the quality settings to "Fast"
5) If I click the "Get from soundcard" button at any time, BiaB crashes.

I am open to any solution to removing lag. Hardware/software/whatever.



Your problem is self inflicted. You are using 2 soundcards. One for input ... the KS88 and then you use the MS wavetable as the output.

You really need to find ONE interface/card, which can support both in and out from the same card.

I'd lay a bet that there is no clock sync between the 2 cards you are using. Since they both run at approximately the same clock speed, they start at the same time but the non-synced clocks soon start to wander out of sync and there you have it. The further you go, the worse it gets.

Sound blaster cards can be made to work in some, perhaps even many cases but are not the ideal recording card to be using. That's why many folks have bought and use a third party external dedicated musical interface. I have a Focusrite Saffire to handle all of my musical input and output duties. It works exceptionally well.

The only solution is to get, obtain, buy, beg, borrow, or steal, a decent interface that will permit you to do input and output of both audio and midi from the same card. Focusrite, M-Audio, Presonus, are all good options and will work well, use ASIO, and do the job. You can still send the KS88 midi into the computer via the interface. It uses a 5 pin midi connector so get an interface with a 5 pin midi input and you're golden. The software will be using the ONE interface for INPUT and OUTPUT so you won't have the clock sync issues.

Last edited by Guitarhacker; 04/15/17 03:49 AM.

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.
dsbw #407469 04/15/17 04:03 AM
Beginners Forum
Joined: May 2000
Posts: 21,632
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,632
Never use MIDI Mapper unless there is no other choice.
That alone could cause your issue. PGMusic has said a couple times that simply using the MS GS Wavetable synth as the default instead (even if using a soft synth in the long run) has solved some issues like this.

Herb's solution is preferred, but thought I'd mention the above in case it helps you or others.


Make your sound your own!
.. I do not work here, but the benefits are still awesome
MarioD #407541 04/15/17 10:30 AM
Beginners Forum
Joined: Sep 2015
Posts: 58
D
dsbw Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Sep 2015
Posts: 58
>>
Originally Posted By: MarioD
What are your computer specs? Ram? CPU speed? HD speed? etc


I'm gonna go with "more than sufficient" but...it's a (multicore) i7-6700 @ 3.4 Ghz with 32GB of RAM. I have an SSD but I'm running BiaB off the traditional hard-drive which is a pretty usual 7200RPM.

>>Does the slow down also happen in RB or any other DAW or music device?

I don't really grasp DAWs but I managed to get sound out of a couple other MIDI-thru apps and they, too, lag.

>>Are there tempo changes in the song?

I'm not even at the "song" level. I'm just talking pressing keys on the keyboard and noticing a delay which seems to change (and mostly increase).

>>If there are no tempo changes and the song starts out OK but then slows down it sounds like you are pushing something to the limit. Maybe the CPU, sound card, RAM, HD, etc but without the computer spec information it is hard to many any conclusion.<<

It does sound like that, but the computer shows no signs of stress whatsoever. Like, the CPU sitting with BiaB open and idle looks exactly the same as the CPU sitting with BiaB open and me hitting the keys. I opened the Performance Monitor and added a few likely candidates that might be stressed and, no, there's not the slightest indication that BiaB even registers when I'm hitting keys, or when I'm generating and playing something random (except that when it's playing a full, randomly-generated piece, it reads more from the disk).

Beginners Forum
Joined: Sep 2015
Posts: 58
D
dsbw Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Sep 2015
Posts: 58
Originally Posted By: Guitarhacker
Your problem is self inflicted.


This is not surprising.

>>You are using 2 soundcards. One for input ... the KS88 and then you use the MS wavetable as the output.

Am I? The KS88 has no sound card, it's just an input device, if I understand what you mean be "sound card" and also what the Keystation 88 is all about.

>>You really need to find ONE interface/card, which can support both in and out from the same card.

I'm not 100% sure I'm using ANY sound card, to be honest. You say, "hey, dsbw, you must be using SOME sound card 'cause, you know, you have sound!" But if the in is a sound-card-less KS88 and the out is the Microsoft GS Wavetable synth—which is a softsynth, IIRC—then I'm using as little sound card as it's possible to use, it seems to me.

>>I'd lay a bet that there is no clock sync between the 2 cards you are using. Since they both run at approximately the same clock speed, they start at the same time but the non-synced clocks soon start to wander out of sync and there you have it. The further you go, the worse it gets.<<

I like this explanation because I understand it, generally, if not which 2 cards are involved here.

Anyway, I plugged in my kid's keyboard and found that it lagged (noticably, since it DOES have a built-in synth) and that led to a solution.

dsbw #407561 04/15/17 12:45 PM
Beginners Forum
Joined: Sep 2015
Posts: 58
D
dsbw Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Sep 2015
Posts: 58
GOT IT! (And it was self-inflicted and I am a moron)

I plugged my kid's keyboard in and found the same lag, which eliminated the KS88 as the problem source.

Then I routed the sound through the monitor via the Onboard AMD sound processor and disabled the Sound Blaster.

Boom. Lag gone.

Sound Blaster does all this processing for games and movies (though I think the sync issues would drive me nuts there, too) so I just turned off all the special features and the lag went away.

Thanks for the walk-through, guys. That really helped me narrow it down.

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,605
Posts735,018
Members38,514
Most Online2,537
Jan 19th, 2020
Newest Members
amdwilsns01, Juan Jose, BroDon, Xtian, michael07716
38,513 Registered Users
Top Posters(30 Days)
MarioD 187
DC Ron 100
DrDan 77
dcuny 71
Today's Birthdays
DORUMALAIA, Rayblue69
Powered by UBB.threads™ PHP Forum Software 7.7.5