como ouvir MIDI no Ubuntu?

Iniciado por crixtiano, 07 de Março de 2007, 11:17

tópico anterior - próximo tópico

crixtiano

Amigos,

como ou o que fazer para ouvir arquivos MIDI no Ubuntu?

Instalei um programa chamado rosegarden (tem no repositório), mas ao tocar o MIDI file, não sai som nenhum nas caixas.

Eu teria que instalar algo no meu PC a mais ?

Obrigado.

MarcosSoares

Olha, eu retirei da net (acho que do wiki do ubuntu). Eu fiz até o 4º passo e funcionou.

   1.  Install Timidity:

      sudo apt-get install timidity timidity-interfaces-extra

   2. (optional) Start software synthesis by loading the appropriate modules and starting Timidity as the MIDI server:

      sudo modprobe snd-seq-device
      sudo modprobe snd-seq-midi
      sudo modprobe snd-seq-oss
      sudo modprobe snd-seq-midi-event
      sudo modprobe snd-seq
      timidity -iA -B2,8 -Os1l -s 44100

      To make software synthesis start automatically in future, first make the appropriate modules load automatically:

      sudo gedit /etc/modules

      Append the following:

      snd-seq-device
      snd-seq-midi
      snd-seq-oss
      snd-seq-midi-event
      snd-seq

      Then inform Timidity to start automatically:

      sudo gedit /etc/default/timidity

      Uncomment the line to enable the sequencer. That is, change:

      #TIM_ALSASEQ=true

      to:

      TIM_ALSASEQ=true

   3. Add a desktop entry for Timidity:

      sudo gedit /usr/share/applications/timidity.desktop

      Add:

      [Desktop Entry]
      Encoding=UTF-8
      Name=Timidity MIDI Player
      Comment=Play MIDI audio files
      Exec=timidity -ig
      Terminal=false
      Type=Application
      StartupNotify=false
      MimeType=audio/midi;
      Categories=Application;AudioVideo;
      Icon=
      #NoDisplay=true

   4. (optional) Make Timidity the default MIDI player (after first having added a desktop entry as in the previous step):

      sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list.backup.midi
      sudo gedit /usr/share/applications/defaults.list

      Insert/replace the audio/midi entry as follows:

      audio/midi=timidity.desktop

   5. (optional) Install high quality sound fonts:

      wget -c -P /tmp/ http://www.fbriere.net/debian/dists/etch/misc/deb/timidity-patches-eaw_12-0fbriere.1_all.deb
      sudo dpkg -i /tmp/timidity-patches-eaw_12-0fbriere.1_all.deb
      sudo gedit /etc/timidity/timidity.cfg

      Change:

      source /etc/timidity/freepats.cfg

      to:

      source /usr/share/doc/timidity-patches-eaw/examples/timidity.cfg

   6. (optional) Reduce Timidity's CPU usage:

      sudo gedit /etc/timidity/timidity.cfg

      Add:

      opt EFresamp=d          #disable resampling (or "opt EFresamp=l" for linear resampling)
      opt EFvlpf=d            #disable VLPF
      opt EFreverb=d          #disable reverb
      opt EFchorus=d          #disable chorus
      opt EFdelay=d           #disable delay

      Save and close the file.