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

Gifts and supplies for the musician

SEARCH
the Forums & Piano World

This custom search works much better than the built in one and allows searching older posts.
(ad) Yamaha CP4 Rebate
Yamaha CP4 Rebate
(ad) Pianoteq
(ad) Pearl River
Pearl River Pianos
(ad) P B Guide
Acoustic & Digital Piano Guide
(ad) Lindeblad Piano
Lindeblad Piano Restoration
Who's Online
131 registered (alexk3954, alfredo capurso, 36251, Almaviva, Al LaPorte, albumblatter, 29 invisible), 1510 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
(ad) Estonia Piano
Estonia Pianos
Quick Links to Useful Piano & Music Resources
Our Classified Ads
Find Piano Professionals-

*Piano Dealers - Piano Stores
*Piano Tuners
*Piano Teachers
*Piano Movers
*Piano Restorations
*Piano Manufacturers
*Organs

Quick Links:
*Advertise On Piano World
*Free Piano Newsletter
*Online Piano Recitals
*Piano Recitals Index
*Piano & Music Accessories
*Music School Listings
* Buying a Piano
*Buying A Acoustic Piano
*Buying a Digital Piano
*Pianos for Sale
*Sell Your Piano
*How Old is My Piano?
*Piano Books
*Piano Art, Pictures, & Posters
*Directory/Site Map
*Contest
*Links
*Virtual Piano
*Music Word Search
*Piano Screen Saver
*Piano Videos
*Virtual Piano Chords
Topic Options
#676829 - 01/08/08 12:45 AM USB to MIDI cable: can this be the source of delay?
sun4384 Offline
Full Member

Registered: 05/24/07
Posts: 28
I tried to install Ivory to my average-powered (2GHz dual core, 2GB ram) computer and hooked up a cheap keyboard controller to it using a MIDI to USB cable. I found horrible length of delay (about a second), and want to locate the source of delay.

Since I'm using the on-board sound card, I suspect it's the major source of delay even with ASIO4ALL driver. I'm about to get a new sound card, and wondering if I should get one with MIDI interface or not, because I suspect the MIDI 2 USB cable (mine is E-MU Xmidi 1x1) might also contribute to the delay. Can this be true?

Top
(ads) Sweetwater / Roland
Kawai Superb Stage Piano and Controller

Click Here


#676830 - 01/08/08 01:39 AM Re: USB to MIDI cable: can this be the source of delay?
Kawai James Offline
Yikes! 10000 Post Club Member

Registered: 09/06/07
Posts: 10228
Loc: Hamamatsu, Japan
Well, I would actually expect USB-->MIDI to have a lower latency than old-fashioned MIDI-->MIDI, however I'm afraid I cannot be certain of this.

As for the delay from the onboard sound, one second does sound rather long. Have you tried adjusting the quality/polyphony settings of Ivory to see if things improve?

Kind regards,
James
x
_________________________
Employed by Kawai Japan, however the opinions I express are my own.
Nord Electro 3 fan & occasional rare groove player.

"Richard, none of us could forget you have a CLP-990." - EssBrace, 2014

Top
#676831 - 01/08/08 04:19 AM Re: USB to MIDI cable: can this be the source of delay?
sun4384 Offline
Full Member

Registered: 05/24/07
Posts: 28
Fiddling with the settings does have improved the situation, especially the smaller buffer size and smaller sample set. However, still I don't understand why the larger sample set cause longer delay, because samples are loaded into memory, as long as I know.

It's surprising that MIDI to USB is faster and MIDI 2 MIDI! Good to know that.

Top
#676832 - 01/08/08 05:25 AM Re: USB to MIDI cable: can this be the source of delay?
mahlzeit Offline
1000 Post Club Member

Registered: 07/24/06
Posts: 1916
Loc: Netherlands
Of course the MIDI cable introduces some delay, but it's probably negligible to the delay from the soundcard.

I also don't believe that MIDI-to-USB would be faster than MIDI-to-MIDI because the MIDI protocol has a fixed transfer rate. But I'm not expert on the electronics involved.

ASIO4ALL does not reduce latency on your soundcard, it only makes it compatible with software that requires ASIO.

The only way to reduce latency is to lower the audio buffer size. Here's the formula: latency = buffer size / sample rate.

If your buffers are 512 samples and the sample rate is 44100 Hz, then latency is 11.6 milliseconds.

If you're experiencing a latency of a second, then your buffer size would be about 44100 samples.

The minimum buffer size depends on your soundcard (and drivers) but if it's not ASIO-compatible, then 512 is probably the best you're going to get.
_________________________
No idea what chords you are playing? Reverse Chord Finder Pro will tell you!

Top
#676833 - 01/08/08 06:34 PM Re: USB to MIDI cable: can this be the source of delay?
Kawai James Offline
Yikes! 10000 Post Club Member

Registered: 09/06/07
Posts: 10228
Loc: Hamamatsu, Japan
sun4384, please note that I do not know of any research comparing the speed/latency of MIDI-MIDI vs USB-MIDI - I was simply thinking out loud...

My apologies for misleading you!

Kind regards,
James
x
_________________________
Employed by Kawai Japan, however the opinions I express are my own.
Nord Electro 3 fan & occasional rare groove player.

"Richard, none of us could forget you have a CLP-990." - EssBrace, 2014

Top

Moderator:  Piano World 
Shop our Store for Music Lovers!
PianoSupplies.com is Piano World's Online Store
Please visit our store today.
circle of 5ths coaster
(ad 125) Sweetwater - Digital Keyboards & Other Gear
Digital Pianos at Sweetwater
(ad) Hal Leonard Teacher VIP
Hal Leonard Teacher VIP Your Source for Piano Music
Ad (Seiler/Knabe)
Knabe Pianos
(125ad) Dampp Chaser
Dampp Chaser Piano Life Saver
New Topics - Multiple Forums
Anything like Rocksmith for keys?
by Colin Dunn
23 minutes 24 seconds ago
Comparitive Latency of popular VIs... and the winner is...
by dire tonic
Today at 09:35 AM
Hello! I'd like to discuss my piano competition repertoire.
by albumblatter
Today at 09:14 AM
Coda on Tcherepnin's Bagatelles Op.5
by izaldu
Today at 08:54 AM
What monitors do you use with your MP11?
by Morodiene
Today at 08:40 AM
What's Hot!!
Trade Regrets: Gary Trafton - Piano Rep
--------------------
Historic Piano Documents
--------------------
Posting Pictures on the Forums
-------------------
Forums Rules & Help
-------------------
ADVERTISE
on Piano World

The world's most popular piano web site.
-------------------
PIANO BOOKS
Forum Stats
78,673 Registered Members
43 Forums
162,772 Topics
2,389,337 Posts

Most users ever online: 15,252 @ 03/21/10 11:39 PM
Sheet Music Plus (125)
Sheet Music Plus Featured Sale

Visit our online store for gifts for music lovers

 
Help keep the forums up and running with a donation, any amount is appreciated!
Or by becoming a Subscribing member! Thank-you.
Donate   Subscribe
 
Our Piano Related Classified Ads
|
Dealers | Tuners | Lessons | Movers | Restorations | Pianos For Sale | Sell Your Piano |

Advertise on Piano World
| Subscribe | Piano World | PianoSupplies.com | Advertise on Piano World | Donate | Link to Us | Classifieds |
| |Contact | Privacy | Legal | About Us | Site Map | Free Newsletter | Press Room |


copyright 1997 - 2015 Piano World ® all rights reserved
No part of this site may be reproduced without prior written permission