Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
timidity lag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Tue Jun 08, 2004 6:21 pm    Post subject: timidity lag Reply with quote

When playing .mids with timidity, the sound skips a lot and it ends up taking over 70% cpu. there is also quite a bit of static in the background.

I currently have version 2.13.0, with the following config(/etc/conf.d/timidity):
ps: i use alsa, compiled in mm-sources 2.6.3-mm4

Code:

# TIMIDITY_OPTS
# Command line arguements to be passed to timidity. -iA is always used
# Common options:
# -Os : Output to ALSA pcm device
# -Oe : Output to esd
# -On : Output to NAS
#
# -B<n>,<m> :  Set number of buffer fragments(n), and buffer size(2^m)
#
# -EFreverb=0         : Disable MIDI reverb effect control
# -EFreverb=1[,level] : Enable MIDI reverb effect control
#                       `level' is optional to specify reverb level [0..127]
#                       This effect is only available in stereo
#                       (default)
# -EFreverb=2         : Global reverb effect

TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0"

# TIMIDITY_PCM_NAME
# This option can be used to choose an alternate ALSA pcm device.  This will
# be most useful for users of the dmix alsa plugin or those with multiple
# cards.  If you don't know what this is, chances are you want the default.

#TIMIDITY_PCM_NAME="default"


here is an example of a .mid which makes it crawl down to its knees:
http://www.virtualsheetmusic.com/MIDI/Albeniz/Asturias/01Allegro.mid

normally i wouldnt mind, but i also use timidty for emulating guitarpro4 under wine, so the performance is quite important. Any ideas what might be causing this?
Back to top
View user's profile Send private message
b0fh_
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 142
Location: Brazil

PostPosted: Tue Jun 08, 2004 10:05 pm    Post subject: Reply with quote

Sorry dude, I can't help ya, timidity never gave me a hiccup since day 0 (and that was a looong ago). Try using OSS driver instead of ALSA and see if it helps...

But the real reason I replied is "DUDE! does guitar pro 4 really work under wine?!?!?!?!?!" im speechless... it's a PITA to run gp4 even in vmware, it's dog slow and makes all kinds of funky noises ;-). Do you got it to run it under wine? What version? Link to howto? ???

In a sidenote, I will try to dig my old timidity config file in my backups (have not installed it in gentoo yet, used it under mandrake 8.2, which I replaced 1 month ago with gentoo ;-).

Peace
_________________
"Contrary to popular belief, UNIX is user-friendly. It only happens to be picky on its friends."
Back to top
View user's profile Send private message
b0fh_
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 142
Location: Brazil

PostPosted: Tue Jun 08, 2004 10:25 pm    Post subject: Reply with quote

Well, emerged

timidity++
timidity-eawpatches

its working well on my laptop, playing some old YAMAHA xg demos.

Soundcard is: 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02);

Kernel is 2.4.24 with swsusp 2.0 patch;

Sound driver is OSS i810_audio.o (plus the infamous ac97_codec.o)

I don't sem to have /etc/conf.d/timidity. Did you emerged timidity from portage? the closest thing I have is /usr/share/timidity/timidity.cfg

--SNIP--
#on my debian: /usr/local/share/timidity/timidity.cfg
dir /usr/share/timidity/eawpatches
source gravis.cfg
source gsdrums.cfg
source gssfx.cfg
source xgmap2.cfg
#dir /home/user/patches/

#mid -> wav: timidity input.mid -Ow1S -s 44100 -o output.wav
--SNIP--

Btw, it sounds good, the same it was in the mandrake days, so I assume it's all well and good. If you emerged it from portage I bet you have a soundcard issue.

peace.
_________________
"Contrary to popular belief, UNIX is user-friendly. It only happens to be picky on its friends."
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Wed Jun 09, 2004 3:12 am    Post subject: Reply with quote

for gp4 I only used Wine 20040408 + timidity, both configured to use alsa, which is the one that came with mm-sources 2.6.3-mm4. I think the /usr/share config for timidity is just a template by the way..

just make sure the timidity daemon is running [/etc/init.d/timidty start]

for the lag thing, i think ill have a look at the timidity/alsa-emu10k mailing lists later tonight
Back to top
View user's profile Send private message
b0fh_
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 142
Location: Brazil

PostPosted: Wed Jun 09, 2004 1:08 pm    Post subject: Reply with quote

just stock wine? no windows DLLs? damn it sounds too easy to be true... will give it a try this weekend.

cheers.
_________________
"Contrary to popular belief, UNIX is user-friendly. It only happens to be picky on its friends."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum