Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 68

Thread: HOWTO: Getting MIDI to work fully in Ubuntu

  1. #31
    Join Date
    Jun 2005
    Beans
    14

    Question Re: HOWTO: Getting MIDI to work fully in Ubuntu

    hi folks

    thanks for all those nice suggestions, howto's and everything you posted here.
    my prob:

    no sound in rosegarden!
    stats:
    Code:
    Rosegarden 1.0 - AlsaDriver - alsa-lib version 1.0.8
    
    JackDriver::initialiseAudio - JACK sample rate = 44100Hz, buffer size = 2048
    JackDriver::initialiseAudio - creating disk thread
    JackDriver::initialiseAudio - found 2 JACK physical outputs
    JackDriver::initialiseAudio - connecting from "rosegarden:master out L" to "alsa_pcm:playback_1"
    JackDriver::initialiseAudio - connecting from "rosegarden:master out R" to "alsa_pcm:playback_2"
    JackDriver::initialiseAudio - found 2 JACK physical inputs
    JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_1" to "rosegarden:record in 1 L"
    JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_2" to "rosegarden:record in 1 R"
    JackDriver::initialiseAudio - initialised JACK audio subsystem
    
      ALSA Client information:
    
        128,0 - (TiMidity, TiMidity port 0)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,1 - (TiMidity, TiMidity port 1)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,2 - (TiMidity, TiMidity port 2)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,3 - (TiMidity, TiMidity port 3)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
    
    Creating device 0 in Play mode for connection 128:0 TiMidity port 0 (write)
    Default device name for this device is MIDI software device
    Creating device 1 in Play mode for connection 128:1 TiMidity port 1 (write)
    Default device name for this device is MIDI software device 2
    Creating device 2 in Play mode for connection 128:2 TiMidity port 2 (write)
    Default device name for this device is MIDI software device 3
    Creating device 3 in Play mode for connection 128:3 TiMidity port 3 (write)
    Default device name for this device is MIDI software device 4
        Current timer set to "PCM playback 0-0-0"
    AlsaDriver::initialiseMidi -  initialised MIDI subsystem
    
        Current timer set to "PCM playback 0-0-0"
    what might be the prob. in my case?
    I can play *.mid files by the following command:
    Code:
    timidity acommonmidifile.MID
    There is even some "blinking", when I try to play a *.MID flie with rosegarden.
    However, as I stated above: no sound for rosegarden
    Note: i have no probs with alsa in general.

    Thanks for any advice!!

  2. #32
    Join Date
    Jun 2005
    Beans
    14

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    Please anybody!

    I still have troubles with my soundconfiguration. I'd like to use rosegraden, however as complete NOB I don't manage to get it working. As I said, I can even *play* a midi-file with rosegarden however, I cant here any sound...

    the last thing I did is the following:

    Code:
    timidity -iA -B2,8 -Os1l -s 44100
    Requested buffer size 2048, fragment size 1024
    ALSA pcm 'default' set buffer size 16384, period size 4096 bytes
    Output rate adjusted to 48000 Hz (requested 44100 Hz)
    TiMidity starting in ALSA server mode
    Opening sequencer port: 128:0 128:1 128:2 128:3
    ALSA lib pcm_dmix.c:868snd_pcm_dmix_open) unable to open slave
    Can't open pcm device 'default'.
    Couldn't open ALSA pcm device (`s')

    Then I started roesgarden
    The sequencerstatus:
    Code:
    Rosegarden 1.0 - AlsaDriver - alsa-lib version 1.0.8
    
    JackDriver::initialiseAudio - JACK sample rate = 44100Hz, buffer size = 2048
    JackDriver::initialiseAudio - creating disk thread
    JackDriver::initialiseAudio - found 2 JACK physical outputs
    JackDriver::initialiseAudio - connecting from "rosegarden:master out L" to "alsa_pcm:playback_1"
    JackDriver::initialiseAudio - connecting from "rosegarden:master out R" to "alsa_pcm:playback_2"
    JackDriver::initialiseAudio - found 2 JACK physical inputs
    JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_1" to "rosegarden:record in 1 L"
    JackDriver::initialiseAudio - connecting from "alsa_pcm:capture_2" to "rosegarden:record in 1 R"
    JackDriver::initialiseAudio - initialised JACK audio subsystem
    
      ALSA Client information:
    
        128,0 - (TiMidity, TiMidity port 0)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,1 - (TiMidity, TiMidity port 1)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,2 - (TiMidity, TiMidity port 2)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
        128,3 - (TiMidity, TiMidity port 3)  (WRITE ONLY) [ctype 1, ptype 2, cap 66]
    
    Creating device 0 in Play mode for connection 128:0 TiMidity port 0 (write)
    Default device name for this device is MIDI software device
    Creating device 1 in Play mode for connection 128:1 TiMidity port 1 (write)
    Default device name for this device is MIDI software device 2
    Creating device 2 in Play mode for connection 128:2 TiMidity port 2 (write)
    Default device name for this device is MIDI software device 3
    Creating device 3 in Play mode for connection 128:3 TiMidity port 3 (write)
    Default device name for this device is MIDI software device 4
        Current timer set to "PCM playback 0-0-0"
    AlsaDriver::initialiseMidi -  initialised MIDI subsystem
    
        Current timer set to "PCM playback 0-0-0"

  3. #33
    Join Date
    Dec 2004
    Location
    EU - Belgium
    Beans
    159

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    recently, when I try to load timidity as midi server, i receive the same error message as you do (at least, the end of it)
    After entering the timidity command, I receive:

    >timidity -iA -B2,8 -Os1l -s 44100
    Can't open pcm device 'default'.
    Couldn't open ALSA pcm device (`s')
    >

    And no sound after that, of course

    I am still searching to know what to do

    Alain

    Edit: "killall esd" did the trick see thread:
    http://www.ubuntuforums.org/showthread.php?t=26567
    Last edited by alainhenry; September 24th, 2005 at 03:54 PM.

  4. #34
    Join Date
    Oct 2005
    Location
    pittsburgh.PA
    Beans
    37
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    Hello,
    Well i tried your suggestion and midi still does not work. I have a sound blaster live in this machine and I have tried timidity, however, unless I am missing something, timidity doesn't show up anywhere on the system after install. This may be a command line app.
    All my settings seem to match the ones listed, yet no midi. I am new at this unix/lyinux stuff so any help would be appreciated.
    After a week of trial and error , I finally got my dvd's to play flawlessly on Breezy final. I woul dlike the same for midi.
    Thanks
    Coz

  5. #35
    Join Date
    Oct 2005
    Location
    pittsburgh.PA
    Beans
    37
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    Hello,
    Well I got my midi up and working just fine, however, with no help from these pages.
    I want to thank anyone that suggested things,
    thanks again

  6. #36
    Join Date
    Mar 2005
    Beans
    Hidden!

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    http://melodymachine.com/ is dead, which is a major problem because that is where the extraction utility should be. Does anyone know where a utility to extract sfark files can be located?
    STOP!
    Before you sign up to Dropbox, click here to read my post showing you how to get an additional 500mb free! That's 2.5GB of free space!

  7. #37
    Join Date
    Apr 2005
    Location
    UK
    Beans
    92

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    Quote Originally Posted by AgenT
    http://melodymachine.com/ is dead, which is a major problem because that is where the extraction utility should be.
    Are you sure? It seems to be working here.

  8. #38
    Join Date
    Mar 2005
    Beans
    Hidden!

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    Are you sure? Refresh your cache. http://melodymachine.com gives a cpanel webpage (error - not configured) and http://melodymachine.com/sfark.htm gives this:

    Not Found

    The requested URL /sfark.htm was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    EDIT: There seems to be some strange routing problems! Using a proxy that website works. This is strange because every other website (including ubuntu forums) works fine.
    Last edited by AgenT; November 11th, 2005 at 08:46 PM.
    STOP!
    Before you sign up to Dropbox, click here to read my post showing you how to get an additional 500mb free! That's 2.5GB of free space!

  9. #39
    Join Date
    Jun 2005
    Beans
    5

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    this worked a treat for me thanks!

  10. #40
    Join Date
    Mar 2006
    Location
    Saint Petersburg, FL
    Beans
    1,123

    Re: HOWTO: Getting MIDI to work fully in Ubuntu

    After reading this thread I did a little investigation based on a prior post which said midi worked in SuSe, but not ubuntu. Well I beleive I have the simplest setup for a fully functional midi sequencer or even an ALSA sequencer server.

    First you need timidity:

    sudo apt-get install timidity

    Then read up on the some background information here:
    SUSE LINUX – User Guide Chapter 15

    The file eawpats12_full.rar listed in the manual is a dead link, but you can get it here:
    eawpats12_full.rar

    Download and unrar following the directions, you can change the path to the eawpats directory to your choosing, it doesn't matter. At this point we shift from the SuSe directions doing the following:

    cd /<path of your choice>/eawpats
    sudo gedit timidity.cfg


    Change two lines in timidity.cfg as follows:

    Change dir c:\timidity
    to dir /<path of your choice>/eawpats

    Change dir c:\eawpats
    to dir /<path of your choice>/eawpats

    Save the file, then change permissions on the eawpats directory per instructions. We then need to change the timidity.cfg for timidity itself, so we do the following:

    cd /etc/timidity
    sudo gedit timidity.cfg


    Change the last reference line to the following:
    source /<path of your choice>/eawpats/timidity.cfg

    Save the file, then timidity -iatv to open the graphical interface, open a midi file and your should have a working 16 channel midi sequencer.

    You can set up timidity as an ALSA server if you like. It's looks fairly easy, I just didn't have a chance to test it out.

Page 4 of 7 FirstFirst ... 23456 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •