Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Midi Player

Post any examples or modules that you want to share here

Midi Player

Postby MyCo » Sun Apr 28, 2013 3:50 am

Hi,

In the last couple of days, I've been working on a Midi/Sequencer-Library, and finally on a Midi player.
Midi Player3 (MyCo).fsm
(190.6 KiB) Downloaded 1855 times


This is a very early version of the Midi-Player. It is not very stable, because I discovered some weird FS bugs on my way, that I had to workaround. Hopefully Malc get them fixed.
The player is pretty basic, but the Library is made for future Midi-manipulations (for a sequencer). Right now it can only load Midi-Files, but a save function wouldn't be hard to implement.

I call this one a community project, that means that I hope there'll be some people that help me to improve this. If this doesn't happen, I'll keep future developments for myself :twisted:
Last edited by MyCo on Mon Apr 29, 2013 11:38 pm, edited 2 times in total.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Midi Player

Postby nix » Sun Apr 28, 2013 4:07 am

omg basically!
I don't know if I can help MyCo,
u r more tech savvy than me.
If someone would implement save it would be astounding.
MyCo, if you would like my .fsm for DreamSequence Pianoroll,
I can pm it to you. I don't know if I want to make it open source.
Here are some of my Ruby mods with sequencers in mind->
viewtopic.php?f=2&t=1342
Very much appreciated, will have a look now 8D
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Midi Player

Postby billv » Sun Apr 28, 2013 7:23 am

MyCo wrote:This is a very early version of the Midi-Player. It is not very stable

Well it does work :) . Only had a brief look. A few midi files wouldn't read...
Code: Select all
Unsupported Event Type "0x00"["(eval):578:in `readEvents'",
"(eval):82:in `block in readFile'", "(eval):76:in `times'",
  "(eval):76:in `readFile'", "(eval):35:in `event'"]

But this happens a lot, with 2 different formats *Midi....*Rich Midi,...probably is that....
MyCo wrote:Midi/Sequencer-Library, and finally on a Midi player.

Looking forward to seeing where this ends up...the whole idea sounds great. :D
MyCo wrote:I call this one a community project

Not sure if i can help, but am there if needed.
can't wait to have a good look at it. Some sort of version of this will definitely appear in
a future X11 update, that's for certain.

I've though about implementing this before, but never actually tried it.
Now you've flung the door wide open, not much choice but to just walk in...... :D
Cheers.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Midi Player

Postby MyCo » Sun Apr 28, 2013 5:40 pm

Well, there is no chance to fix a non-working midi file problem without actually having the non-working midi file to test it.

RTMF Midis should AFAIK work, too. There are only new Meta-Events in this format, and the file reader should go over that in the "I don't care" mode.

The "unknown event type 0x00" Message indicates, that the previous event data wasn't read correctly.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Midi Player

Postby tektoog » Sun Apr 28, 2013 6:36 pm

Yeah!
very nice! we've all been, as former SM users, dreamin about this!
And Finally there it is... :D
Thanks MyCo 8-)
First idea that comes to my mind, would be to filter,isolate and recognize the drum track and send it to... a drum player :?
Midi Player (MyCo) DRUM test (TekTooG).fsm
(123.4 KiB) Downloaded 1682 times
"Essential random order for chaotic repetitive sequences"
User avatar
tektoog
 
Posts: 141
Joined: Sat Oct 30, 2010 11:49 pm
Location: Geneva - Switzerland

Re: Midi Player

Postby billv » Sun Apr 28, 2013 8:41 pm

MyCo wrote:Well, there is no chance to fix a non-working midi file problem without actually having the non-working midi file to test it.

Tried to attach file, get told midi is not allowed...WTF....why?????
Here it is....
https://secure1.storegate.com/Shares/Home.aspx?ShareID=9ce21e4a-ee62-4a4e-84ca-9a0916ecddbd
File tested working in FL, Guitar Pro 5 and Melody assistant.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Midi Player

Postby MyCo » Sun Apr 28, 2013 9:31 pm

billv wrote:Here it is....


The file uses running status midi messages. I prepared that type in the Lib, but couldn't test it before. I fixed that.
New version is in the first post.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Midi Player

Postby Jay » Sun Apr 28, 2013 10:40 pm

Hi myco

That is a great little creation you have there! is there any scope to have midi recording with this? that would be a great feature to have, such as in some piano synth/romplers allow left and right hand midi recording like Pianomissio, EZkeys etc

Thanks for the hard work! and for sharing! :)
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Midi Player

Postby trogluddite » Mon Apr 29, 2013 12:36 am

This looks very promising indeed - thanks, MyCo.
I don't tend to use .mid files much - but this could change all that; it would be so cool to have a standard file type to use for this kind of thing, instead of us all inventing our own little proprietry formats.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Midi Player

Postby billv » Mon Apr 29, 2013 6:15 am

MyCo wrote:New version is in the first post.

Thanks. Yeh, all good.
Note:
i loaded I file with a 3 tracks on it, and listened to your system split it over the
3 channels....and it was then i realized the implications of this set-up. Huge. :shock: :shock:
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Next

Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 46 guests