Soundfont help

Samples of sound/music, ideas or suggestions related to the development of audio assets for FreeOrion.
Message
Author
vishnou00
Space Kraken
Posts: 157
Joined: Tue May 25, 2004 3:15 am

Re: Delay

#16 Post by vishnou00 » Fri Jul 02, 2004 12:30 am

guiguibaah wrote:If your laptop is a pretty decent one (IE: something over a pentium 1) then you probably shouldn't get any noticeable delay to begin with.
Maybe you would have to tweak the code and recompile SynthFont, but in the binaries, the minimum output buffer is 0.5 seconds. But all the sounds pass through that buffer, so every notes will be synchronised.

It only matters if you use an input device such as a keyboard: there will be a (constant) delay between the moment you press the key and the moment you hear the sound. I shouldn't be a problem since many people compose by putting the notes on a notation software. I doubt you will use a MIDI keyboard with a laptop!

If your computer isn't powerful enough (cpu, ram, IO), the sound will kind of stutter and the midi playback may desync... had some weird effects with yamaha XG on a 486/33, where all the "notes" (midi messages) of a bar where played on the last beat.

User avatar
StratCaster
Space Kraken
Posts: 130
Joined: Sat Jun 05, 2004 5:35 am
Location: Boston, USA

Re: Delay

#17 Post by StratCaster » Sat Jul 03, 2004 1:34 am

vishnou00 wrote: I doubt you will use a MIDI keyboard with a laptop!
ummm, I do
"The mighty warships of the Vl'Hurg Empire dived screaming upon the unknowing Earth, where due to a terrible miscalculation of scale the entire battle fleet was accidentally swallowed by a small dog." -Hitchhikers Guide

Post Reply