Topic: Help please using an external audio interface

I'm currently using Pianoteq 5 with my Kawai MP5 connected directly to my computer which has a Q6700 quad core processor. All is going well with the onboard sound card, but after reading this forum, I'm wondering if I can further improve performance using one of the external audio interfaces discussed here. I'm not clear on how to implement one. Does Pianoteq still use the soundcard if an  external audio interface is used, or is it bypassed. If so, what does the app use to process the sound? What is the signal path? As you can see, I'm confused, and can sure you some education.

Thanks all,

Russ

Re: Help please using an external audio interface

The onboard sound card is bypassed. You would select the native ASIO driver of your new sound card as the audio driver in a drop down menu in the preferences of Pianoteq. The digital data would go from your CPU to the new card, where it would then be converted to analog using its higher quality DACs and amps. With a good sound card/driver, you would experience quite an increase in quality.

Re: Help please using an external audio interface

First and foremost, unless you're using very good or audiophile speakers/headphones, don't bother.

You won't improve performance with an external DAC (you're introducing USB latency). You'll be increasing your latency (by a few ms) and get better sound in return.

A pretty good example would be to export a midi as a wav and play it on any apple product made in recent years. (Their DAC's are generally quite good).

An amp (or combo amp/DAC) is where you'll get most of your sound improvement. This is the result of increased voltage and current being pumped through them (generally, built in sound cards have crappy amps )

If you decide to invest, I recommend you get something by FiiO...relatively cheap and pretty good.

Re: Help please using an external audio interface

I disagree. USB introduced latency is negligible compared to the one introduced by many internal sound cards drivers. A friend of mine just tested a very cheap Tascam US-144 MKII interface on his Macbook and saw a considerable improvement both in the sound and in the perfomance: he had "cracks" when playing many notes together (he's quite good at it!) and now he may just play as he wants. Try it for yourself if possible, you' ll see. The difference is even bigger on most PC's.

Re: Help please using an external audio interface

njaremko wrote:

First and foremost, unless you're using very good or audiophile speakers/headphones, don't bother.

You won't improve performance with an external DAC (you're introducing USB latency). You'll be increasing your latency (by a few ms) and get better sound in return.)

If you decide to invest, I recommend you get something by FiiO...relatively cheap and pretty good.


As Luc points out - the external card would significantly ***decrease*** latency with its native ASIO. Speaking for myself, I can set the latency to 1ms (the lowest possible), increase polyphony/voices to the max, and play all the notes with a sustain. It doesn't slip an ounce....

As far as the required speaker quality - I have noticed repeatedly that changing the sound quality source from a poor chip to a better performing chip makes it seem as if there are *new* speakers/headphones playing the music. A more nuanced/controlled signal to the speaker will reveal surprising quality boosts - even in the most terrible speakers!

As far as FiiO, I purchased one of their headphone amps and I was very disappointed - the sound was very muddied, losing detail at the lowest and highest frequencies (then again, it was their standard headphone amp on the cheap end)

Re: Help please using an external audio interface

The external interface is basically just another soundcard, but with better components and a native ASIO driver.  So you connect this to an amplifier or headphones just like your built-in sound card.  Amplifiers usually have several inputs, so you can run both cards into it and switch between them.

Most interfaces will also work for normal system sounds, so you can completely replace the in-built card if you like (sometimes this can actually be completely disabled in the computer's BIOS).

Or you can dedicate the built-in one to system sounds (eg. through cheap multimedia speakers when you're just doing non-PT things), and the external one for ASIO use.  That's how I use it, my 'pro audio' goes through a better amp and studio monitors, my inbuilt is just going through cheap PC speakers.

Re: Help please using an external audio interface

Thanks to all for the learned replies. So to summarize, I should look at getting a quality external sound card with native ASIO drivers. That answers the question as to what chipset generates the sound when using an external device.  Can you recommend a product?

Re: Help please using an external audio interface

Rustar wrote:

Thanks to all for the learned replies. So to summarize, I should look at getting a quality external sound card with native ASIO drivers. That answers the question as to what chipset generates the sound when using an external device.  Can you recommend a product?

I can personally vouch for the Asus Xonar Essence series as matching the sound fidelity of the most expensive cards. I have the internal ST, which takes up a standard pci slot. There is also the STX which uses one pci express slot internally. Both require molex for clean power direct from the power supply.

You will probably want the STU, which plugs in externally, and features the same circuitry with better op amps than the ST/STX (you've got to change those manually for the internal cards if you want the better ones). If you've a PC and you go with an internal version of the card, you can use the 'Unixonar drivers', which are improved third party drivers for the cards.

Re: Help please using an external audio interface

I use Traktor Audio 2
http://www.native-instruments.com/en/pr...r-audio-2/
Very nice sound quality, stable and low latency ASIO drivers. Very small, but no extra inputs/outputs.

If you need extra I/O and MIDI, there is Komplete Audio 6, but it's more than double the price.
http://www.native-instruments.com/en/pr...e-audio-6/

Re: Help please using an external audio interface

I've done some audio latency measurements, and I'd like to illustrate the sound card (audio interface) situation with some figures. The latencies are the delay of the sound with respect to the internal sound of my Kawai MP6. The latencies are not the latencies between a key press and a sound, and they are also not the values reported by Pianoteq in the Options. I use a mixer and send the Kawai sound in the right channel and the Pianoteq sound in the left, record the output from the mixer, and analyze the audio file in Sonic Visualiser. I recorded the C3 key sound played at the fortissimo velocity.

The integrated sound card in my 2 years old Asus laptop has a latency of 8 ms. The integrated card in my desktop PC produces a latency of 7 ms. The buffer size of 128 samples was in both measurements. A USB sound card (Sound Blaster X-fi - I know, it is a cheap one) run with the same buffer size has a latency of 13 ms. On the other hand, the Sound Blaster is capable of running with a 64 sample buffer and in this case the latency drops back to 8 ms.

To summarize, if you bought a USB sound card, the latency might actually stay the same, and the sound quality would be better. I suspect that a good PCI express or PCI card would be improve both latency and quality (assuming you have a desktop computer).

Last edited by jiriwiesner (01-06-2014 21:23)

Re: Help please using an external audio interface

Sorry but your measurements are of no use regarding Pianoteq - and that's what's it's all about, right ?
I think it is Evil Dragon or Jake that gave us already this very interesting link:
http://www.presonus.com/community/Learn...io-Latency
THIS is what we are talking about.

Re: Help please using an external audio interface

I think this thread is about "how to implement an audio interface", which basically boils down to being able to choose a suitable one in terms of audio latency and quality. Sound cards are connected in three different ways: by USB, Firewire (I have no such hardware, cannot test it) or PCI express (or PCI). A point was raised that an external USB interface introduces extra latency.

njaremko wrote:

You won't improve performance with an external DAC (you're introducing USB latency). You'll be increasing your latency (by a few ms) and get better sound in return.

I've shown that latency is indeed introduced (about 5 ms, it will depend on the operating system, I use Linux), but this effect can be counteracted by smaller buffer size (ASIO buffer size under Windows). So, in effect, the total latency might stay about the same. But I don't think that an external USB sound card would actually significantly decrease latency. Well, at least not under Linux.

In the Linux world, there is no ASIO. We use a sound server called "jack", which is not a sound card driver (a driver is a different thing). Such a solution is actually more flexible, because we even can use our crappy motherboard-integrated sound cards with buffer sizes of 128 or 256 samples (64 sample buffers are too small and the jack server doesn't run with them). Whereas under Windows, a sound card without ASIO support in the driver (or using ASIO4ALL) would probably use a buffer of 1024 samples (I've no idea), which results in noticeable latency. Any attempts to reach buffer sizes of 256 or lower would probably fail. I think this has also been mentioned in this thread:

Luc Henrion wrote:

A friend of mine just tested a very cheap Tascam US-144 MKII interface on his Macbook and saw a considerable improvement both in the sound and in the perfomance: he had "cracks" when playing many notes together (he's quite good at it!) and now he may just play as he wants.

The numbers I shared are "relative" latencies. I've just made this term up. I basically measure the change of delay relative to the Kawai piano sound, and the delay changes when a different sound card or/and different buffer size is used. My Kawai has 4 zones. I let zone 1 play an internal mono piano sound, and connect the instrument into the mixer (balance set to right). Zone 2 sends MIDI signals into the computer, where Pianoteq computes the sound, and again the output of the sound card is connected into the mixer (balance set to left). Then I record the output from the mixer.

So I don't see why the numbers would not be relevant for the choice of a suitable audio interface. I just wanted to show which type of audio interfaces has the lowest latencies (I mean from my personal experience using concrete examples). The round-trip latency is not needed for that purpose. It seems that the ideal choice for someone with a desktop computer is a PCI express card which able to use a 64 sample buffer. Firewire might be the same case as USB, adds some extra latency. Whereas the PCI express interface is used for graphic cards (have you ever seen a graphic card connected by a USB bus? :-) ), so its throughput must be higher, and I guess its latency is also low. I've read some article about increased PCI latency in the case when multiple devices are connected, but PCI express is designed differently.  If I knew this a year ago, I would buy a PCI express card instead of a USB sound card.

Sorry for the long reply. The article on digital audio latency is a good read, BTW.

Last edited by jiriwiesner (01-06-2014 22:20)

Re: Help please using an external audio interface

The question in my mind is what issue does the OP have.

"All is going well with the onboard sound card, but after reading this forum, I'm wondering if I can further improve performance using one of the external audio interfaces discussed here."

Is the latency of the existing system not good enough?  Is the sound quality not good enough?  If things sound good already, buying all sorts of extra equipment might only end up being a placebo.

Last edited by Mossy (02-06-2014 02:12)

Re: Help please using an external audio interface

jiriwiesner wrote:

Whereas under Windows, a sound card without ASIO support in the driver (or using ASIO4ALL) would probably use a buffer of 1024 samples (I've no idea), which results in noticeable latency. Any attempts to reach buffer sizes of 256 or lower would probably fail.

FWIW, I can go down to the mimum setting (64 samples) using ASIO4ALL on my old Dell E6500 laptop, running Win8.1-64.  This laptop uses an IDT chip. Having said that, using 128 samples (the mimimum for this device) with my USB audio interface does feel like it has better (less) latency - not by a lot though.

Greg.

Re: Help please using an external audio interface

skip wrote:

FWIW, I can go down to the mimum setting (64 samples) using ASIO4ALL on my old Dell E6500 laptop, running Win8.1-64.  This laptop uses an IDT chip.

I'm glad to hear that. As you see, I don't know much about Pianoteq under Windows.

skip wrote:

Having said that, using 128 samples (the mimimum for this device) with my USB audio interface does feel like it has better (less) latency - not by a lot though.

I agree with that. But a USB interface running with a 128 sample buffer would not be my first choice. I think the optimal choice is a motherboard-integrated sound card capable of running with a 128 sample buffer (relative latency of cca. 8ms) or a USB interface running with a 64 sample buffer (relative latency of cca. 8ms) . For a desktop computer, I'd go with a PCIe card, which I suspect, might allow you to reach the lowest latencies possible. But in the case the integrated sound card of your laptop does not satisfy your requirements, a USB or Firewire interface is probably the only choice.

I recorded some short examples of how the latency of different buffers sounds like. I used my USB card, so the USB latency is included! :-)  Pianoteq lags behind the Kawai piano sound by 8, 13 and 23 ms for buffers of 64, 128 and 256 samples, respectively. I don't know if the Kawai piano has the round-trip latency of a real grand piano, but I'd certainly buy only an audio interface that can get as close to the Kawai sound as possible (within my price range, I mean).

http://www.forum-pianoteq.com/uploads.p...f_mono.mp3
http://www.forum-pianoteq.com/uploads.p...f_mono.mp3
http://www.forum-pianoteq.com/uploads.p...f_mono.mp3

I admit there is really not that much difference between the buffers of 128 and 64 samples, but I'd still choose the 64 sample buffer just to be on the safe side.

Last edited by jiriwiesner (02-06-2014 11:16)

Re: Help please using an external audio interface

Mossy wrote:

The question in my mind is what issue does the OP have.

"All is going well with the onboard sound card, but after reading this forum, I'm wondering if I can further improve performance using one of the external audio interfaces discussed here."

Is the latency of the existing system not good enough?  Is the sound quality not good enough?  If things sound good already, buying all sorts of extra equipment might only end up being a placebo.

To elaborate even further, if your integrated sound card can run with a 128 sample buffer (Pianoteq reports latency of 2.7 ms), there is no need for an extra audio interface to improve latency. I cannot comment on sound quality. The equipment I own is cheap, but still, I do like what I hear.

Last edited by jiriwiesner (02-06-2014 11:52)

Re: Help please using an external audio interface

Simply, latency is simultaneous in all these scenarios: its all butter.

The point of getting a proper sound card is - *the sound*

- Which is amazingly better (something that, perceptually, will make a significant impact)

Re: Help please using an external audio interface

Thank you all for your responses. Bottom line, I set the system to run 128 samples with 2.7 ms latency, and no perceptible latency. It now feels and responds like an acoustic instrument. Simple solutions are the best.

Re: Help please using an external audio interface

Philippe once remainded everyone that a original acoustic grand piano have some latency itself, due mechanisms and sound speed if I remamber well. And such natural latency was higher than 2,7 ms

Re: Help please using an external audio interface

just remember that, since sound travels at  +/- 340 m/sec, a distance of 34 cm (much less than what's between your head and the hammer of a piano striking a string..) = 1 ms already... Double that distance to approximate the hammer closest to you ears, and you have at least 2 ms... not taking in account the mechanism's latency.