maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   MIDI on n900 through default player! (https://talk.maemo.org/showthread.php?t=50301)

ivnvir 2010-04-17 17:47

MIDI on n900 through default player!
 
After searching and waiting for timidity and reading the tip from the user Matan, i've got MIDI working :D

Here it goes:

Ctrl + Shift + X (open terminal)

1) sudo gainroot
2) apt-get install wildmidi
3) apt-get install freepats (18mb or so with instruments)
4) edit "/usr/share/applications/defaults.list" with your favorite editor and put "audio/midi" and "audio/mid" on the "Media Player MIME Types" list (just copy any line, change the mime)

Done :D

Now just open the MIDI files with file manager.

bennypr0fane 2010-05-04 23:15

Re: MIDI on n900 through default player!
 
Hello,
freepats isn't available ("but is referred to by another application"). What does this mean? Is it maybe in extras devel (cause i have that disabled)?

ivnvir 2010-05-05 23:36

Re: MIDI on n900 through default player!
 
Quote:

Originally Posted by bennypr0fane (Post 643581)
Hello,
freepats isn't available ("but is referred to by another application"). What does this mean? Is it maybe in extras devel (cause i have that disabled)?

I don't know exactly where is it, anyway I was able to install it only by "apt-get", and yeah, I have all maemo repositories installed.

F2thaK 2010-05-05 23:50

Re: MIDI on n900 through default player!
 
haha rockin the MIDI tunes

jtsavola 2010-05-11 18:14

Re: MIDI on n900 through default player!
 
Quote:

Originally Posted by ivnvir (Post 615025)
After searching and waiting for timidity and reading the tip from the user Matan, i've got MIDI working :D

4) edit "/usr/share/applications/defaults.list" with your favorite editor and put "audio/midi" and "audio/mid" on the "Media Player MIME Types" list (just copy any line, change the mime)

Hello,

Would like to have MIDIs playing too but Maemo or Unix is unknown are for me. Can I somehow access default.list from PC through laptop. There is no /usr... folders visible for windows explorer or N900 file manager...

So how can I edit defaults.list?

rambo 2010-05-11 19:39

Re: MIDI on n900 through default player!
 
Quote:

Originally Posted by jtsavola (Post 653946)
Would like to have MIDIs playing too but Maemo or Unix is unknown are for me. Can I somehow access default.list from PC through laptop. There is no /usr... folders visible for windows explorer or N900 file manager...

Through the PC you only have very limited view of the device (so you can't mess it up by editing the wrong files).

I would say become root and use vi but that would be dangerous if you don't know what you're doing.

Someone (tm) needs to make a simple metapackage that depends on the pats and wildmidi and on postinstall adds the correct lines to the defaults.list. This I can do.

I wonder how to make the tracker aware of MIDI files so they could be browsed directly from media player (like MOD-support does it)

TNiga 2010-05-11 19:56

Re: MIDI on n900 through default player!
 
Quote:

Originally Posted by jtsavola (Post 653946)
Hello,

Would like to have MIDIs playing too but Maemo or Unix is unknown are for me. Can I somehow access default.list from PC through laptop. There is no /usr... folders visible for windows explorer or N900 file manager...

So how can I edit defaults.list?

You can access the file with some sftp client (for example http://winscp.net/eng/index.php ) if you have ssh daemon (openSSH) installed and running on your N900.

rambo 2010-05-11 20:51

Re: MIDI on n900 through default player!
 
Ok, made a trivial package: http://maemo.org/packages/view/midisupport/ once that hits the repo you can use it install the dependencies and "edit" the defaults.list file.

Now if someone would have time to figure out how to get tracker to index the MIDI files (hint: ask the mod-support maintainer) I would be happy to give this "project" to someone who actually would have time for it.

jtsavola 2010-05-12 15:24

Re: MIDI on n900 through default player!
 
Thanks Rambo,

I installed Midisupport package but still have massage "Audio codec not supported"...

rambo 2010-05-12 15:47

Re: MIDI on n900 through default player!
 
Quote:

Originally Posted by jtsavola (Post 655308)
Thanks Rambo,

I installed Midisupport package but still have massage "Audio codec not supported"...

Sorry, I must admit I didn't actually test playing any files just that the install/uninstall goes correctly. But the package should do exactly as per the instructions above, if they're missing something then I cannot help.

I guess we should ping Matan.


All times are GMT. The time now is 17:44.

vBulletin® Version 3.8.8