LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-11-2006, 12:08 PM   #1
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Rep: Reputation: 16
Solfege, timidity & DGuitar, MIDI issue.


Ok, here's the deal. I'm trying to get the program GNU/Sofege work on my Slack 10.2 box...
I have sucsessfully installed both Solfege, DGuitar and timidity onto my computer.
When I kill artsd, DGuitar can succsessfully play MIDI. But, when I use Sofege, which uses timidity to play MIDI, I'm not able to play any MIDI files... When I go to Edit>Preferences>Sound Setup and click on "Test" the .mid player, I get this error:

/usr/bin/timidity: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

I guess thats because I miss the libpangocari-1-0.so.0, right:P
I have installed pango(which includes libpangocari-1-0.so.0, right?), but it still won't play the MIDI file, and I get the same error!

So, my question is:
Does anyone of you guys know how to solve my problem with timidity and the missing lib?
And, since I can play MIDI files with DGuitar, does anyone know how DGuitar plays MIDI files, and can I use the same method in Solfege(using the same engine or something?)

In advance, thanks.
BTW: Sorry for incorrect english...
Jorek.
 
Old 01-11-2006, 02:59 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 47
ear training !

it seems you timidity is linked to libpangocairo
this doesn't have to be the case
cairo is a 2d drawing thing that can be used for fonts but i don't think is necessary so your system doesn't have it. cairopango or pangocairo is not a part of pango.
must be wrong timidity package or should rebuild timidity
 
Old 01-13-2006, 05:07 PM   #3
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
Ok, I downloaded TiMIDIty++, and managed to install the program.
But still, no sound:/
I use ALSA, and I have tried to ./configure with the defaults and with the flag
--enable-audio=alsa
but it won't work! Do I have to use some other flags or what! These MIDI troubles are quite annoying, because I really need to get Solfege and KGuitar up 'n working...

When I ./configure with the default, I get this error when I try to play a MIDI file:
Code:
user@darkstar:~$ timidity Guitarlick.mid 
Warning: Audio buffer is too small.
Playing Guitarlick.mid
MIDI file: Guitarlick.mid
Format: 1  Tracks: 8  Divisions: 192
Track name: TabIt MIDI - Track 1
Track name: TabIt MIDI - Track 2
Track name: TabIt MIDI - Track 3
Track name: TabIt MIDI - Track 4
Track name: TabIt MIDI - Track 5
Track name: TabIt MIDI - Track 6
Track name: TabIt MIDI - Track 7
No instrument mapped to tone bank 0, program 30 - this instrument will not be heard
No instrument mapped to tone bank 0, program 31 - this instrument will not be heard
No instrument mapped to tone bank 0, program 33 - this instrument will not be heard
No instrument mapped to tone bank 0, program 42 - this instrument will not be heard
No instrument mapped to tone bank 0, program 48 - this instrument will not be heard
No instrument mapped to tone bank 0, program 71 - this instrument will not be heard
No instrument mapped to tone bank 0, program 108 - this instrument will not be heard
No instrument mapped to drum set 0, program 35 - this instrument will not be heard
No instrument mapped to drum set 0, program 38 - this instrument will not be heard
No instrument mapped to drum set 0, program 39 - this instrument will not be heard
No instrument mapped to drum set 0, program 40 - this instrument will not be heard
No instrument mapped to drum set 0, program 42 - this instrument will not be heard
No instrument mapped to drum set 0, program 46 - this instrument will not be heard
No instrument mapped to drum set 0, program 49 - this instrument will not be heard
No instrument mapped to drum set 0, program 55 - this instrument will not be heard
No instrument mapped to drum set 0, program 57 - this instrument will not be heard
No pre-resampling cache hit
I think thats very odd, since I can play the midifile with DGuitar...

When I ./configure with the --enable--audio=alsa flag I get this error:
Code:
user@darkstar:~$ timidity Guitarlick.mid 
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' can't set hw_params
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (30979 46438)
PERIOD_SIZE: (1028 2048)
PERIOD_BYTES: (4112 30108)
PERIODS: (1 15)
BUFFER_TIME: (185759 341316)
BUFFER_SIZE: 8192
BUFFER_BYTES: [32768 60208]
TICK_TIME: 10000
Couldn't open ALSA pcm device (`s')
Help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hercules Game Theater XP & MIDI (?) KimVette Linux - General 14 02-28-2005 06:09 PM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
Set up midi device in suse 9.1 w/ AC'97 midi controller Guitarist88 Linux - Hardware 1 07-06-2004 03:09 PM
midi keyboard & sb audigy 2 chtulu69 Linux - Hardware 1 04-13-2004 07:16 AM
Gnome sound events & MIDI skip1 Linux - Software 0 05-22-2003 04:39 PM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration