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
Powerfull Midi manipulation Ruby library
13 posts
• Page 1 of 2 • 1, 2
Powerfull Midi manipulation Ruby library
Hello to all, I've found some awesome midi library MIDILIB (Google it for details) and succeeded to fully integrate it to Flowstone's Ruby - no need to carry extra files, just paste one instance of Ruby code component containing all the functions of MIDILIB - and you are ready to process midi files. Hope, this will give birth to long-awaited sequencers written in pure Ruby. Good-luck! I also attach original MIDILIB - you don't need it, but may look at its factory code examples.
And I would thank all the developers for such a perfect tool as Flowstone. I was disappointed by Synthmaker's inability to deal with binary files, but now Flowstone fixed this and brings me back as a happy user thanks to Ruby.
And I would thank all the developers for such a perfect tool as Flowstone. I was disappointed by Synthmaker's inability to deal with binary files, but now Flowstone fixed this and brings me back as a happy user thanks to Ruby.
- Attachments
-
- MidiRuby component 1.2.fsm
- MidiRuby component 1.2
- (19.77 KiB) Downloaded 2123 times
-
- MidiRuby component 1.1.fsm
- MidiRuby component 1.1
- (18.94 KiB) Downloaded 1933 times
-
- midilib-master.zip
- Original MIDILIB
- (66.03 KiB) Downloaded 2082 times
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
https://hiasm.com
-
User108 - Posts: 37
- Joined: Thu Apr 18, 2013 9:52 pm
Re: Powerfull Midi manipulation Ruby library
Hi user108 Welcome to the forum
many thanks for you efforts and sorry this has been largely ignored! how ignorant!
is there any chance that you could show how to use this?
I am trying to pick Ruby up but myself and a lot of others here are only skimming the basics of Ruby atm!
Best Regards
many thanks for you efforts and sorry this has been largely ignored! how ignorant!
is there any chance that you could show how to use this?
I am trying to pick Ruby up but myself and a lot of others here are only skimming the basics of Ruby atm!
Best Regards
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
Re: Powerfull Midi manipulation Ruby library
Jay wrote:is there any chance that you could show how to use this?
+1
Just started using ruby and still have no idea.
Love the sound of what you have offered(thanks for sharing)-
But extremly hard to approach for a ruby learner.
A basic FSM showing this stuff in use would be awesome....
Cheers
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Powerfull Midi manipulation Ruby library
Hi, I'm very happy I could help someone. But I'm quite new to Ruby too, as well as MIDILIB and Flowstone, though I made some experiments with SM. Primarily I program in Hiasm Studio - http://www.hiasm.com , unfortunately it became abandonware now, so I try to move to Flowstone.
But here is what I could do at first approach, please see attachment.
But here is what I could do at first approach, please see attachment.
- Attachments
-
- MidiLib Ruby example 1- from scratch.fsm
- MidiLib Ruby example 1
- (20.47 KiB) Downloaded 2038 times
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
https://hiasm.com
-
User108 - Posts: 37
- Joined: Thu Apr 18, 2013 9:52 pm
Re: Powerfull Midi manipulation Ruby library
User108 wrote: please see attachment.
Thanks a lot. Will take a while to absorb......
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Powerfull Midi manipulation Ruby library
Welcome, user108
That's a really neat library by the looks of it - with a couple of extra methods to translate to a from the FS built-in Midi class and timing clock it could be the beginnings of a great new toolkit - thanks for sharing it with us.
That's a really neat library by the looks of it - with a couple of extra methods to translate to a from the FS built-in Midi class and timing clock it could be the beginnings of a great new toolkit - thanks for sharing it with us.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Powerfull Midi manipulation Ruby library
Hello, trogluddite. Where is MIDI, there's trogluddite.. (c) Thank you too for all your helpful posts at SM forum.
I also found that there are some Ruby video libraries out there, but it seems they have much more dependencies to integrate into Flowstone, so I'll try to explore them in future. That would enable us to create even some VJ-ing apps and plugins with FS.
My personal interest in Midilib appeared due to my plan to create the sequencer of my dream - "DreamSeq".. Which I could then use to "paint" music with sequences (being able to record and select them live from a variety of 16384 pre-recorded sequences - 128 banks x 128 programs with just 2 knobs), not just sounds.
I also found that there are some Ruby video libraries out there, but it seems they have much more dependencies to integrate into Flowstone, so I'll try to explore them in future. That would enable us to create even some VJ-ing apps and plugins with FS.
My personal interest in Midilib appeared due to my plan to create the sequencer of my dream - "DreamSeq".. Which I could then use to "paint" music with sequences (being able to record and select them live from a variety of 16384 pre-recorded sequences - 128 banks x 128 programs with just 2 knobs), not just sounds.
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
https://hiasm.com
-
User108 - Posts: 37
- Joined: Thu Apr 18, 2013 9:52 pm
Re: Powerfull Midi manipulation Ruby library
I'm actually working on a Midi Player, but I've started from zero (no Lib used). So far I've a Midi Reader, and some classes that allow Midi data access. It works actually really well except that I've no idea how to handle Midi Format 2 (because I've never seen such a file).
I'll start with a player today... But there are still some challenges, especially calculating the event timing...
I'll start with a player today... But there are still some challenges, especially calculating the event timing...
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Powerfull Midi manipulation Ruby library
Is anyone using this? Looks like a great library but despite user108's helpful example I'm struggling to see how it is implemented. If anyone is working with midilib? I'd love to see some more examples.
- primate
- Posts: 22
- Joined: Thu Dec 19, 2013 10:42 pm
Re: Powerfull Midi manipulation Ruby library
I know this is an old post but, did anyone ever got anything out of this lib? All I can do is read the file make a sequence or a MIDIFile but I can't figure out how to parse events and tracks out of it!
- aefa
- Posts: 48
- Joined: Wed Mar 26, 2014 12:52 pm
13 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot], Mirek Suk and 31 guests