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 Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #15 on: April 24, 2008, 12:30:35 PM »
jbulllfrog, could you post a sample MIDI file somewhere that doesn't work properly for you?  This will allow us to test for whether or not they are supported by the current MIDI player plugin. 

kfb, I have my doubts that a new patchset will help for your problem since your test file on the other topic seemed to play okay for others. 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline jbullfrog

  • Member
  • *
  • Posts: 8
Re: Midi Player
« Reply #16 on: April 24, 2008, 04:27:26 PM »
Here is a file from Phoenix Wright the nintendo ds video game

http://www.sendspace.com/file/v0vmra
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #17 on: April 24, 2008, 04:36:10 PM »
It plays for me, though with a few glitches.  I'm not sure what it should sound like but the plugin definitely produces recognizable sound.  This is with a Sansa e280 (r17232) and using the patchset from the wiki.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

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 #18 on: April 24, 2008, 05:30:41 PM »
Quote from: Chronon on April 24, 2008, 04:36:10 PM
It plays for me, though with a few glitches.  I'm not sure what it should sound like but the plugin definitely produces recognizable sound.  This is with a Sansa e280 (r17232) and using the patchset from the wiki.

The file is probably stuttering.  The PortalPlayer targets currently can't process the midi information fast enough to keep up with playback, so playback tends to stutter a lot, unless the midi uses only a few instruments and plays at a slow tempo.  (This deduced from personal experience.)
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #19 on: April 24, 2008, 05:45:03 PM »
Yeah, I do have other .mid's that play fine that have a greater apparent complexity.  But I can't say much more than that at the moment.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

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 #20 on: April 24, 2008, 06:11:30 PM »
Until someone manages to better optimize (if even possible) the MidiPlayPlugin (or whatever it's really called...) for the PP targets, I think playing midis will be trial-and-error to find which play fine and which stutter.

I wish I could, but I wouldn't know what files to poke around in, and my programming experience is only high-school level, though I do credit myself to being a fast learner and there are many websites that could help...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #21 on: April 24, 2008, 06:28:25 PM »
It would be nice to get some more input on this from other users.  So far we have two individual players not behaving like the rest.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

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 #22 on: April 24, 2008, 06:42:35 PM »
How many people actually use midi files seriously and consistently on their DAP's anyway..?  Currently the plugin only plays one at a time, then stops and you have to select the next midi to continue listening...  It's not yet something I would expect most people to use regularly...  I myself only used it to test it to see how well it was(n't) working.  Perhaps once it's fully optimised and made into a codec rather than a separate plugin, I'll find more practical use for it...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Midi Player
« Reply #23 on: April 24, 2008, 06:49:09 PM »
Quote from: Chronon on April 24, 2008, 04:36:10 PM
It plays for me, though with a few glitches.  I'm not sure what it should sound like but the plugin definitely produces recognizable sound.  This is with a Sansa e280 (r17232) and using the patchset from the wiki.

Same for me.  I get a "Buffer miss!" error in the plugin screen when it glitches.

Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #24 on: April 24, 2008, 06:54:14 PM »
Okay, so that means that the plugin works for us, but is not quite fast enough.  (I verified that I get the same message.)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline saanaito

  • Member
  • *
  • Posts: 354
  • Joni Carr
    • Twitter account
Re: Midi Player
« Reply #25 on: April 24, 2008, 08:17:51 PM »
Quote from: karashata on April 24, 2008, 06:08:30 AM
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).

Perhaps Timidity is what you're thinking of....? Here's a nice patchset; I'm pretty sure the format is compatable. Here's a smaller patchset.

Quote from: karashata on April 24, 2008, 05:30:41 PM
The file is probably stuttering.  The PortalPlayer targets currently can't process the midi information fast enough to keep up with playback, so playback tends to stutter a lot, unless the midi uses only a few instruments and plays at a slow tempo.  (This deduced from personal experience.)

Same here. I use a Sansa c250.

Quote from: Chronon on April 24, 2008, 06:28:25 PM
It would be nice to get some more input on this from other users.  So far we have two individual players not behaving like the rest.

And so I'm posting now.

Quote from: karashata on April 24, 2008, 06:42:35 PM
How many people actually use midi files seriously and consistently on their DAP's anyway..?  Currently the plugin only plays one at a time, then stops and you have to select the next midi to continue listening...  It's not yet something I would expect most people to use regularly...  I myself only used it to test it to see how well it was(n't) working.  Perhaps once it's fully optimised and made into a codec rather than a separate plugin, I'll find more practical use for it...

I use it quite a bit.

Quote from: MarcGuay on April 24, 2008, 06:49:09 PM
I [also] get a "Buffer miss!" error in the plugin screen when it glitches.

Argh. Same here. I just do trial and error and delete whatever does it chronically.


Someone wondered about converting MIDIs. The free converter on http://www.hamienet.com/ is pretty decent.
« Last Edit: April 24, 2008, 08:22:22 PM by Strife89 »
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #26 on: April 24, 2008, 08:28:13 PM »
Thanks for posting, Strife89.

For the present I am considering all "Buffer Miss!" errors to be standard operation for the PP targets.  I am interested to see if other players are exhibiting either the problem reported in this topic by jbullfrog (no sound output at all) or the problem reported by kfb in the other topic (a null waveform error).

jbullfrog: have you tried resetting your settings?  Does this help?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

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 #27 on: April 24, 2008, 08:35:16 PM »
Quote from: Chronon on April 24, 2008, 08:28:13 PM
For the present I am considering all "Buffer Miss!" errors to be standard operation for the PP targets.

That's standard for any buffer misses.  The PP targets are just more prone to them since they can't keep up with the midi instructions during playback.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: Midi Player
« Reply #28 on: April 24, 2008, 09:24:06 PM »
My point was to try to clarify that I am interested in seeing if anyone else sees the same behavior that jbullfrog or kfb have seen.  I am much less interested in whether or not anyone sees "Buffer Miss!".
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Summary of the other (locked) MIDI topic
« Reply #29 on: April 25, 2008, 04:13:06 AM »
Quote from: kfb on April 17, 2008, 03:47:26 PM
I tried playing a MIDI file and no sound comes out, just the message "crap...null waveform..." printed out on the display repeatedly.  I followed the instructions at http://www.rockbox.org/twiki/bin/view/Main/PluginMidiPlay to download and copy over the patchset to .rockbox/patchset and verified that the patch files were in the right location.  I did this twice to make sure.  I also tried several different MIDI files.  However, I still get the same error message each time.  Any ideas?

Quote from: kfb on April 17, 2008, 06:21:08 PM
I'm running r17068-080410.  I've attached an example midi file to this post.

Quote from: kfb on April 24, 2008, 07:41:10 PM
Quote from: bascule on April 23, 2008, 04:17:27 PM

It seems your file structure is correct, you should have folder:
/.rockbox/patchset

containing files:
*.pat (lots of)
*.cfg (two of)

Yup, I have those files and folders in the location described.
Argh :-\ is there any way to get in touch with the author of the midi plugin and find out more about what the error message "null waveform" is supposed to mean?

Quote from: bascule on April 25, 2008, 04:01:43 AM
Well, I've found the error message in the code (http://svn.rockbox.org/viewvc.cgi/trunk/apps/plugins/midi/synth.c?view=markup), but there's no comments that help me understand what's going on here (seeing as I know nothing about MIDI and very, very little about C).

It would seem that you may just be out of luck, as the error only seems to exhibit itself on your device. You may want to hop onto IRC (linked from sidebar) and ask about it there, as that's where most of the actual coders hang out...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • 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.038 seconds with 16 queries.