Re: playing midi with timidity

From: Joe Mc Cool (joe_at_benburb.demon.co.uk)
Date: 09/18/05

  • Next message: Katipo: "Re: Opinions -- When will Sid be usable again?"
    Date: Sun, 18 Sep 2005 11:50:15 +0100
    To: debian-user@lists.debian.org
    
    

    Please,

    when I try to play sound with alsa under a 2.6 kernel, the quality is
    awful, the system seems to repetitively play little snatchs of my tune
    over and over, superimposing some of the sound on top of what it has
    already played.

    Essentially my perl script is:

    system("timidity -L /usr/share/timidity -Ou -o$au_file $midi_file > /tmp/timidity 2> /dev/null");

    system("play -v $volume $au_file ");

    lsmod | grep snd:

    snd_seq_oss 34656 0
    snd_seq_midi 8576 0
    snd_seq_midi_event 7680 2 snd_seq_oss,snd_seq_midi
    snd_seq 53872 6 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_ens1371 24932 0
    snd_rawmidi 25124 2 snd_seq_midi,snd_ens1371
    snd_seq_device 8200 3 snd_seq_oss,snd_seq_midi,snd_rawmidi
    snd_pcm_oss 55080 0
    snd_mixer_oss 20096 1 snd_pcm_oss
    snd_pcm 98728 2 snd_ens1371,snd_pcm_oss
    snd_page_alloc 11752 1 snd_pcm
    snd_timer 25732 2 snd_seq,snd_pcm
    snd_ac97_codec 69988 1 snd_ens1371
    snd 57156 13 snd_seq_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_ac97_codec
    soundcore 10336 1 snd
    gameport 4704 1 snd_ens1371

    If I revert to a 2.2 kernel and use the oss drivers, everything is
    fine.

    But with 2.6 and alsa I can use mplayer and listen to BBC Radio 3, no
    problem.

    Stuck.

    -- 
    Joe Mc Cool CEng, SMIEEE
    ========================================================================
    Tangent Computer Research BT71 7LN (www.tangent-research.com)
    voice:(44)2837-548074mob:(44)7802-572441
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Katipo: "Re: Opinions -- When will Sid be usable again?"

    Relevant Pages

    • Re: VIA sound problem
      ... the correct ALSA modules and all worked ok.... ... > I'm running kernel 2.6.8. ... > The problem is that I can only use mplayer to play sound, ... > hangs after playing the file for several seconds (it also hangs when ...
      (Debian-User)
    • unsubscribe
      ... >>removed APIC from the kernel completely. ... >>I am having no luck getting sound to work. ... > Otherwise I suggest you run xmms in a terminal and try to play something. ... xmms plays just fine via tha Alsa ...
      (Debian-User)
    • Re: new install, sound not working (+2 bonus problems)
      ... sid + 2.6 kernel is pretty bold for a new user, ... I've spent a lot of time messing with ALSA under the 2.4's, ... Did you only compile ALSA stuff, ... you show me the sound portions of the .config for this kernel? ...
      (Debian-User)
    • Re: [2.6 patch] schedule obsolete OSS drivers for removal
      ... the ALSA kernel API can go public and documented (altough I ... libraries over it. ...
      (Linux-Kernel)
    • Re: [2.6 patch] schedule obsolete OSS drivers for removal
      ... > recommend to use ALSA API directly with apps. ... At the same time the kernel API itself should be suitable to ... > I, at least, have never thought that the OSS _API_ would die. ...
      (Linux-Kernel)