Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Midi Player
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: Midi Player  (Read 16475 times)

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Midi Player
« on: April 22, 2008, 04:41:10 PM »
How do I get midis to work on my sansa e250?  I tried looking at this page, http://rasher.dk/rockbox/WikiRescue/SoundCodecs-r1.100%20-%2008-27.html  but whatever I tried did not seem to work. 

Here is what I did.

I downloaded the patchset.tbz2 file, and extracted patchset.rar.  I then extracted patchset.rar, and got the folder patchset.  I opened patchset, and placed all the .pat files into my rockbox folder on my sansa.


I then put some midis into a folder called "Midis" in my "MUSIC" folder on my sansa.  I navigated to the Midis folder using rockbox and selected one of the midi files.

I got an error saying "No Midi patchset found.  Please install the instrument"
Can anyone please help?   

----------------------------------------------------------

Another thing:
I know how to convert my midis to wav files, but is it possible to reduce the size of the wav file that is outputed?  Each midi file I convert goes from a couple of KB to MB!
« Last Edit: April 22, 2008, 04:45:02 PM by jbullfrog »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Midi Player
« Reply #1 on: April 22, 2008, 04:46:56 PM »
That link is from August 2005!

Here's the proper link to that page:

http://www.rockbox.org/twiki/bin/view/Main/SoundCodecs.

Not sure how much has changed in the MIDI section, though...
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Midi Player
« Reply #2 on: April 22, 2008, 05:26:55 PM »
First of all, you need to put the patchset files into a folder called "patchset" in the .rockbox folder.  The midi player plugin searches for that folder for the patchset so it can play the midis.

Second, .wav files typically will be quite large because they're uncompressed PCM data.  You will probably want to convert them to .mp3 or .ogg format with audio editing software, I would think something like a 128 KB/s .mp3 file would preserve the audio quality decently enough and shrink the size of the file by quite a significant amount.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Re: Midi Player
« Reply #3 on: April 23, 2008, 09:11:46 AM »
Now when I try it out, I get the following message

"Loading instrucments
Loading drums
Okay, starting sequencing"

However, I don't hear anything.

I think I might give up on this...

I am currently using Winamp to convert my midis to wav files, but this takes forever!

I have searched for a good midi to mp3 converter but have found nothing!  (Freeware)

Can anybody help?  Thanks again
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: Midi Player
« Reply #4 on: April 23, 2008, 09:21:36 AM »
Have you tried Audacity?

EDIT: iTunes has the ability to import MIDI files and convert them to MP3s, but these will only sound as good as the MIDI system on your computer. Plus, you also have to know where the resulting files are going to end up on your system, so that you can retrieve them.
« Last Edit: April 23, 2008, 10:08:00 AM by LambdaCalculus379 »
Logged
Retired Rockbox dev; still a user!

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Re: Midi Player
« Reply #5 on: April 23, 2008, 12:10:45 PM »
Well, I found out that I could use Winamp to create mp3s directly from midi files.

This is will work out, even though it is really slow.   :'(

Do any of you know what is the equivalent  mp3 kb/sec for a midi file?

For example is a midi file equivalent to a 32kbps ABR, stereo mp3 file?

Thanks
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #6 on: April 23, 2008, 12:35:48 PM »
I think the quality that MIDI produces depends upon the quality of your patchset.  MIDI is not an encoded waveform like mp3 or ogg.  It's a sequence of instructions for synthesizing a piece of music.  The actual music (waveform) that gets produced depends upon the particular patches that you use to play the music.

So, I don't think you can make a direct comparison like that.  You will probably have to play around with it and see what sounds good to you.

I will try out MIDI playback on my e280 shortly.  I have not had any issues on my Gigabeat, but have yet to try it with my Sansa.
========
No problems on my e280.
« Last Edit: April 23, 2008, 12:41:27 PM by Chronon »
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Re: Midi Player
« Reply #7 on: April 23, 2008, 03:18:13 PM »
Thanks Chronon,

As of now, I am converting all my midi files using winamp into mp3 files with a bit rate of 112kbps.  A one minute midi file turns out to be roughly 1MB.

Good luck trying to get midi files to work.

 ;D
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #8 on: April 23, 2008, 03:23:07 PM »
Another Sansa user is having problems (though different from yours, it seems) with MIDI here: http://forums.rockbox.org/index.php?topic=16451.0
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Midi Player
« Reply #9 on: April 23, 2008, 04:17:09 PM »
Quote from: jbullfrog on April 23, 2008, 09:11:46 AM
Now when I try it out, I get the following message
"Loading instrucments
Loading drums
Okay, starting sequencing"

That is correct, it should start playing. Are you sure it's not just the volume turned down or something silly?
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Midi Player
« Reply #10 on: April 23, 2008, 06:43:32 PM »
I'll note that most midi files are much quieter than MP3s or other music files, you usually the volume needs to be turned up quite a bit.  Just remember to turn it down again before you start playing MP3s again you you'll get a bit of a shock to your ears...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Re: Midi Player
« Reply #11 on: April 23, 2008, 07:56:41 PM »
I turned up the volume full blast..and heard nothing.
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Midi Player
« Reply #12 on: April 23, 2008, 09:57:51 PM »
It's possible the Midi you're trying to play uses only instruments that aren't included in the patchset.  As far as I can tell, the patchset only includes instruments from the General Midi set, not the XG or other instrument sets.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline kfb

  • Member
  • *
  • Posts: 6
Re: Midi Player
« Reply #13 on: April 24, 2008, 02:40:59 AM »
Are there any places where one can download patches with the other instrument sets?  (hopefully free of charge?)
Logged
Rockbox r17068-080410 on SanDisk Sansa e250

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Midi Player
« Reply #14 on: April 24, 2008, 06:08:30 AM »
I wouldn't know, personally.  I would have to say to try searching with Google and see what you can turn up.  Even if you can find more complete patchsets, though, who's to say whether or not the Midi plugin in Rockbox will recognize the extra instruments..?

I recall finding a patchset somewhere that was identical to the one provided by Rockbox, and one that was similar with extra instruments and a slightly different configuration file.  The identical one worked, the other one didn't (the plugin returned an error saying no patchset found or whatever it is exactly that it says when there isn't a patchset).
Logged
Welp, my iriver H10 20GB is out of commission again.

  • Print
Pages: [1] 2 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Midi Player
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.044 seconds with 16 queries.