Public bug reported:

In rosegarden (Jack & timidity) I have a bad delay of about 200ms when I press 
a Key till it sounds through my speakers. I use a YMF-Soundcard with a 
Yamaha-XG-Wavetable on it. If I use my Keyboard in LMMS the sounds appear just 
in time. So I knew that it is a problem with the Midi-Out-Device.
As workaround I installed timidity++ additional to the existing one and loaded 
a GM-soundfont into it. Ans surprise: It works!?! So, there is something wrong 
with the standard-configuration of the midi-out-device in ubuntu-Studio 8.04.

Some other guys have the same problem too:
http://ubuntuforums.org/showthread.php?t=891678
http://www.nabble.com/MIDI-latency-in-Ubuntu-8.04-td19118784.html

I used this HowTo:
https://help.ubuntu.com/community/Midi/SoftwareSynthesisHowTo?action=show&redirect=MidiSoftwareSynthesisHowTo

My timidity.cfg:
# Instrument configuration file for timidity
# $Id: timidity.cfg,v 1.7 2005/09/03 19:26:03 hmh Exp $

# You can change just about every option in TiMidity++ using
# This config file.  Please refer to the timidity.cfg(5) manpage
# for more details

## If you have a slow CPU, uncomment these:
#opt EFresamp=d         #disable resampling
#opt EFvlpf=d           #disable VLPF
#opt EFreverb=d         #disable reverb
#opt EFchorus=d         #disable chorus
#opt EFdelay=d          #disable delay
#opt anti-alias=d       #disable sample anti-aliasing
#opt EWPVSETOZ          #disable all Midi Controls
#opt p32a               #default to 32 voices with auto reduction
#opt s32kHz             #default sample frequency to 32kHz
#opt fast-decay         #fast decay notes

## If you have a moderate CPU, try these:
opt EFresamp=l
opt EFreverb=g,42
opt EFchorus=s
opt s32kHz
opt p64a

# Disabling some of the Midi Controls can help with the CPU usage a lot.
# The same goes to the VLPF, sample anti-aliasing and effects such as
# reverb and chorus

# By default, try to use the instrument patches from freepats:

source /etc/timidity/eawpatches.cfg

** Affects: ubuntustudio
     Importance: Undecided
         Status: New

** Description changed:

- In rosegarden (Jack & timidity) I have a bad delay of about 200ms when I 
press a Key till it sounds through my speakers. I use a YMF-Soundcard with a 
Yamaha-SG-Wavetable on it. If I use my Keyboard in LMMS the sounds appear just 
in time. So I knew that it is a problem with the Midi-Out-Device.
+ In rosegarden (Jack & timidity) I have a bad delay of about 200ms when I 
press a Key till it sounds through my speakers. I use a YMF-Soundcard with a 
Yamaha-XG-Wavetable on it. If I use my Keyboard in LMMS the sounds appear just 
in time. So I knew that it is a problem with the Midi-Out-Device.
  As workaround I installed timidity++ additional to the existing one and 
loaded a GM-soundfont into it. Ans surprise: It works!?! So, there is something 
wrong with the standard-configuration of the midi-out-device in ubuntu-Studio 
8.04.
  
  Some other guys have the same problem too:
  http://ubuntuforums.org/showthread.php?t=891678
  http://www.nabble.com/MIDI-latency-in-Ubuntu-8.04-td19118784.html
  
  I used this HowTo:
  
https://help.ubuntu.com/community/Midi/SoftwareSynthesisHowTo?action=show&redirect=MidiSoftwareSynthesisHowTo
  
  My timidity.cfg:
  # Instrument configuration file for timidity
  # $Id: timidity.cfg,v 1.7 2005/09/03 19:26:03 hmh Exp $
  
  # You can change just about every option in TiMidity++ using
  # This config file.  Please refer to the timidity.cfg(5) manpage
  # for more details
  
  ## If you have a slow CPU, uncomment these:
  #opt EFresamp=d         #disable resampling
  #opt EFvlpf=d           #disable VLPF
  #opt EFreverb=d         #disable reverb
  #opt EFchorus=d         #disable chorus
  #opt EFdelay=d          #disable delay
  #opt anti-alias=d       #disable sample anti-aliasing
  #opt EWPVSETOZ          #disable all Midi Controls
  #opt p32a               #default to 32 voices with auto reduction
  #opt s32kHz             #default sample frequency to 32kHz
  #opt fast-decay         #fast decay notes
  
  ## If you have a moderate CPU, try these:
  opt EFresamp=l
  opt EFreverb=g,42
  opt EFchorus=s
  opt s32kHz
  opt p64a
  
  # Disabling some of the Midi Controls can help with the CPU usage a lot.
  # The same goes to the VLPF, sample anti-aliasing and effects such as
  # reverb and chorus
  
  # By default, try to use the instrument patches from freepats:
  
  source /etc/timidity/eawpatches.cfg

-- 
midi high latency delay
https://bugs.launchpad.net/bugs/277807
You received this bug notification because you are a member of Ubuntu
Studio-dev, which is the registrant for Ubuntu Studio.

-- 
Ubuntu-Studio-devel mailing list
Ubuntu-Studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel

Reply via email to