2022 our 25th year online!

Welcome to the Piano World Piano Forums
Over 3 million posts about pianos, digital pianos, and all types of keyboard instruments.
Over 100,000 members from around the world.
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!

SEARCH
Piano Forums & Piano World
(ad)
Who's Online Now
49 members (Cheeeeee, Adam Reynolds, Cominut, Burkhard, 1200s, clothearednincompo, akse0435, busa, 36251, 6 invisible), 1,286 guests, and 285 robots.
Key: Admin, Global Mod, Mod
Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2015
Posts: 46
I
Full Member
OP Offline
Full Member
I
Joined: Jan 2015
Posts: 46
I have the following setup:
Casio PX-150 -> USB_MIDI -> PC (using Win8.1, Asio4all, Kontakt 5) -> AMD Discrete GPU card HDMI -> Pioneer 920K receiver -> Speakers. I also have an onboard sound card. Don’t know if it matters.

My goal is to use the superior virtual piano a PC can offer as well as the much better speakers the receiver is connected to. I care only about live playing - not recording or anything of that sort.

I mostly care about improving overall latency and have 0 MIDI issues. Does adding a discrete sound card (while not changing connectivity!) makes any difference at all? would it be actually used?

If the answer is yes, what sound card would be recommended only for this purpose? Ideally I don’t want to spend a lot of money on this.

Thanks!

Joined: Sep 2009
Posts: 14,439
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,439
If you have latency problems, an add on sound card will probably help.
If you have sound quality problems, likewise.

From what I've read on this and other boards, PCs often have latency issues, but Macintoshes not. Faster PCs often have no latency issues.

In the end ... if you have these problems, fix them with a sound card. If not, don't.

Which sound card should you choose? Ask five people, get five answers. So just toss a coin ... and choose one priced within your means.

Joined: Apr 2007
Posts: 17,391
M
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
M
Joined: Apr 2007
Posts: 17,391
You say you only care about live playing - does that mean for playing gigs? If so, you will need a slightly different set up vs. playing at home.


private piano/voice teacher FT

[Linked Image]
[Linked Image]
Joined: Mar 2012
Posts: 267
P
Full Member
Offline
Full Member
P
Joined: Mar 2012
Posts: 267
If you intend to keep sending the audio through HDMI, a new sound card won't change a thing - AMD high definition codec is used in that case, not a soundcard.

If I may, are you sure the AMD codec is the culprit? What VST piano and at what ASIO buffer size do you use? Also, if you need a large buffer, have you tried optimizing your PC or debugging the problem with LatencyMon/DPC latency checker?


Kawai CA65 :: Galaxy: Vintage D, Vienna Grand, Giant :: Pianoteq 5 :: Kontakt 5 :: Reaper :: True Keys pianos
Joined: Jan 2010
Posts: 1,643
1000 Post Club Member
Offline
1000 Post Club Member
Joined: Jan 2010
Posts: 1,643
You can get a Windows based PC to perform well with realtime instruments at low latencies. It just takes a little more work than a Mac.

You need an ASIO driver first of all.
A lot of people are able to use their stock sound card with the ASIO4ALL driver.

Then you need DPC Latency Checker software.

This will allow you to test your system for activity that may be slowing down your PC's ability to stream audio at acceptable latencies in real time. For example, I have a blue tooth radio on my Windows laptop which I need to disable when using software instruments.

In general on Macs running OSX, this isn't an issue and the on board sound card with core audio does a very good job of running software instruments at low latencies out of the box.

In either case, a dedicated sound card can be a help in achieving best performance, but you have to pick wisely. If you share more about how you will be using your setup, we can advise better.


Joined: Jan 2015
Posts: 46
I
Full Member
OP Offline
Full Member
I
Joined: Jan 2015
Posts: 46
I have Asio4all installed with 0 in/out compensation and with ~500 samples, force 44.1k OFF, allow pull ON. I use Kontakt with The Grandeur piano. The setup is for playing at home. When it works correctly, sound is awesome.

LatencyMon is all green. Power saving is set to max performance.

My main issues are:
1. >10ms latency.
2. Sometime notes suddenly stop making sounds before I release the key or before the sounds fades down. Really annoying in songs with long-playing notes.

I couldn't find any tweak that completely eliminate this annoying phenomena.

Joined: Jan 2010
Posts: 1,643
1000 Post Club Member
Offline
1000 Post Club Member
Joined: Jan 2010
Posts: 1,643
You'll have to share the computer's spec's as well.
Is it a fairly modern i5 or i7?
8gb of RAM?
7200RPM hard drive?
Or SSD drive?

And, yes, I do advise using the DPC latency checker to see if there is anything else going on here.

Joined: Mar 2012
Posts: 267
P
Full Member
Offline
Full Member
P
Joined: Mar 2012
Posts: 267
Originally Posted by idfpiano
I have Asio4all installed with 0 in/out compensation and with ~500 samples, force 44.1k OFF, allow pull ON. I use Kontakt with The Grandeur piano. The setup is for playing at home. When it works correctly, sound is awesome.

The size of ASIO buffer can be set differently in different application. I presume from your answer that you have 500-sample buffer set in Kontakt in ASIO settings, and also that the output in Kontakt is set to ASIO, of course.

If I may ask, if you switch to the on-board integrated soundcard of your computer (still through Asio4All), do the problems remain? And what buffer size can you reliably achieve? (Your 500-samples-buffer is unbelievably high, the fact that it doesn't work notwithstanding.)


Kawai CA65 :: Galaxy: Vintage D, Vienna Grand, Giant :: Pianoteq 5 :: Kontakt 5 :: Reaper :: True Keys pianos
Joined: Jan 2015
Posts: 46
I
Full Member
OP Offline
Full Member
I
Joined: Jan 2015
Posts: 46
I ran DPC latency checker - it shows ~1020us latency, pretty stable. It's a modern (haswell) i5, 8gb ram, 7200rpm drive with kontakt and the OS on an SSD. Changing the buffer size to 250 samples doesn't solve the stopping-sound issue (but obviously reduced the latency).

The premature-note-stop baffle me. The note was received by the PC, since I heard it. I haven't released it. What makes the noise stop? I don't know the internal of Midi and whether this might be a keep-alive that was dropped. I care about this much more than the latency.

Any idea?

BTW - It was mentioned in the thread that the output in Kontakt should be set to ASIO. What setting does this refer to? Not sure I have done this.
Will later also check the onboard sound directly bypassing AMD HDMI altogether.

Joined: Sep 2011
Posts: 3,756
T
3000 Post Club Member
Offline
3000 Post Club Member
T
Joined: Sep 2011
Posts: 3,756
Originally Posted by idfpiano

The premature-note-stop baffle me. The note was received by the PC, since I heard it. I haven't released it. What makes the noise stop? I don't know the internal of Midi and whether this might be a keep-alive that was dropped. I care about this much more than the latency.

Any idea?



Can you reduce the sample buffer to 128 samples? That would give you an acceptably short latency. If that works without clicks and cracks, try 64 samples - that would reduce latency well below 10ms.

Regarding the notes cutting out, this sounds to me like a problem with the HDD. Only the first portion of the piano (or other sound) is pre-loaded to RAM. For the note to continue longer, the computer needs to pick up more data from the HDD. It sounds to me from your description that this is failing.

I also have this problem - but only sometimes. I suspect my HDD has a problem, but I'm not sure. Maybe someone else can advise on this problem/solution.


Roland HP 302 / Samson Graphite 49 / Akai EWI

Reaper / Native Instruments K9 ult / ESQL MOR2 Symph Orchestra & Choirs / Lucato & Parravicini , trumpets & saxes / Garritan CFX lite / Production Voices C7 & Steinway D compact

Focusrite Saffire 24 / W7, i7 4770, 16GB / MXL V67g / Yamaha HS7s / HD598
Joined: Jul 2011
Posts: 3,238
D
3000 Post Club Member
Offline
3000 Post Club Member
D
Joined: Jul 2011
Posts: 3,238
If your audio is clean at your current buffer setting - and it should be with an i5 and fairly modest demand of a 256 sample buffer - what you describe is very odd. In earlier days messing with midi, and even more recently when using dodgy usb-to-midi conversion leads, I might sometimes have a note sustain even though it had been released but you have the opposite problem. It could be a glitch in one of the laptop components as toddy suggests, or maybe a fault in the Casio? Is it always the same pitch or pitches? Might a faulty sensor be sending out a note-off message even with the key depressed.

Do you have any sort of DAW?, a means of recording the midi data of a performance which exhibits the glitch? If you could upload the MIDI file (not the audio), specifying which note cut out, it would be fairly straightforward to examine the midi data and so either rule out or implicate the DP.

Joined: Sep 2009
Posts: 14,439
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,439
As DT suggests, maybe the piano is having a problem? Maybe it's wrongly sending a note-off message? Kontakt has a MIDI-monitor built in. You can see every incoming message.

So, press a key and see the note-on message. While holding that key, you should see NO more MIDI messages. But if you see an errant note-off message coming in, then there's some sort of flakiness in the keyboard.

Joined: Jan 2010
Posts: 1,643
1000 Post Club Member
Offline
1000 Post Club Member
Joined: Jan 2010
Posts: 1,643
MIDI-OX is also a handy utility for narrowing down MIDI message issues. Just a side note.

Joined: Jan 2015
Posts: 46
I
Full Member
OP Offline
Full Member
I
Joined: Jan 2015
Posts: 46
Quick update: I think I ruled out piano AND midi issues.

I played the piano without connecting to MIDI - NO ISSUE (of note off without key release).
I played with Kontakt & Grandeur - ISSUE HAPPENS. However, when I'm looking at the keyboard status in Kontakt when a note is disappearing - the key seems to still be pressed!

Also, I noticed that this happens much more after restart. Could be a warm up issue.

My guess right now is that this is an HDD issue as toddy suggested. This might explain why this is looks like a warm up issue because I assume samples are cached after they are played once.

Obviously I can move Kontakt to the SSD, though I'm almost out of space there. Any other suggestions?

Joined: Jul 2011
Posts: 3,238
D
3000 Post Club Member
Offline
3000 Post Club Member
D
Joined: Jul 2011
Posts: 3,238
- I didn't know kontakt had a midi monitor, that's neat!

Is it always the same note or particular notes? If so, yes I would suspect the HDD trying to pick up some data that's gone missing or become corrupted. Or, if variable notes, then quite possibly a performance issue, being just on the margin.

Try re-installing the library on the HDD. Best of all, do it before you delete the old occurrence so it resides in a new location on the disc.

If that doesn't work then definitely move it to the SSD.

Joined: Sep 2011
Posts: 3,756
T
3000 Post Club Member
Offline
3000 Post Club Member
T
Joined: Sep 2011
Posts: 3,756
Kontakt has a disk and CPU usage monotor on the main window - near top right. You will see the disk one reacting when it needs to pick up extra sample data from the HDD. And when it fails to do the operation correctly, it goes red (quick flash). That would indicate HDD problem - or some setting that needs to be changed. I have the same problem, but it's erratic, and as you say, it tends to disappear once the notes have been requested. But not always (frustrating and strange!)


Roland HP 302 / Samson Graphite 49 / Akai EWI

Reaper / Native Instruments K9 ult / ESQL MOR2 Symph Orchestra & Choirs / Lucato & Parravicini , trumpets & saxes / Garritan CFX lite / Production Voices C7 & Steinway D compact

Focusrite Saffire 24 / W7, i7 4770, 16GB / MXL V67g / Yamaha HS7s / HD598
Joined: Jan 2010
Posts: 1,643
1000 Post Club Member
Offline
1000 Post Club Member
Joined: Jan 2010
Posts: 1,643
Prices are coming down, might be time to swap out that 256gb SSD for a 512. smile

Joined: Sep 2009
Posts: 14,439
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,439
It would be a shame to upgrade without knowing the root cause of the problem.

I used to run various Kontakt instruments on a crappy 2005-vintage laptop ... with no problems.

Latency was not quite as good as I now see with a newer computer ... but it wasn't bad, and I had no dropped-note problem.

Joined: Apr 2012
Posts: 311
N
Full Member
Offline
Full Member
N
Joined: Apr 2012
Posts: 311
Originally Posted by idfpiano
I ran DPC latency checker - it shows ~1020us latency, pretty stable. It's a modern (haswell) i5, 8gb ram, 7200rpm drive with kontakt and the OS on an SSD. Changing the buffer size to 250 samples doesn't solve the stopping-sound issue (but obviously reduced the latency).


Try running LatencyMon rather than DPC Latency Checker. It allows long term collection of info and identification of possible culprits if latency is high. First try it without running your virtual piano software, then with it. The additional load of the latter may allow you to identify something errant a bit better. This is how I found a stubborn clicks and pops problem myself.

Incidentally, on both latency checkers I now get a max latency of 148us, a sixth of what you are reporting.

Joined: Jan 2015
Posts: 46
I
Full Member
OP Offline
Full Member
I
Joined: Jan 2015
Posts: 46
Well, it turned out as a hard drive issue after all.

I've moved my Grandeur samples to an SSD (kontakt still on 7200rpm HD). Not a single glitch. Reported latency at ~6.5ms.

Thanks everyone!


Link Copied to Clipboard
What's Hot!!
Piano World Has Been Sold!
--------------------
Forums RULES, Terms of Service & HELP
(updated 06/06/2022)
---------------------
Posting Pictures on the Forums
(ad)
(ad)
New Topics - Multiple Forums
Country style lessons
by Stephen_James - 04/16/24 06:04 AM
How Much to Sell For?
by TexasMom1 - 04/15/24 10:23 PM
Song lyrics have become simpler and more repetitive
by FrankCox - 04/15/24 07:42 PM
New bass strings sound tubby
by Emery Wang - 04/15/24 06:54 PM
Forum Statistics
Forums43
Topics223,385
Posts3,349,185
Members111,631
Most Online15,252
Mar 21st, 2010

Our Piano Related Classified Ads
| Dealers | Tuners | Lessons | Movers | Restorations |

Advertise on Piano World
| Piano World | PianoSupplies.com | Advertise on Piano World |
| |Contact | Privacy | Legal | About Us | Site Map


Copyright © VerticalScope Inc. All Rights Reserved.
No part of this site may be reproduced without prior written permission
Powered by UBB.threads™ PHP Forum Software 7.7.5
When you purchase through links on our site, we may earn an affiliate commission, which supports our community.