pattern sequencer; possible with Ruby?

For general discussion related FlowStone
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: pattern sequencer; possible with Ruby?

Post by kortezzzz »

The note duration is dependant on a gap. If you draw 3 consecutive notes, it will play without divisions for 3 steps


Great! tested it, and it works. cool job. There were no divisions but 1 sustained note, as you said :P

beside that, its not very stable when using it intensively. i got some stuck notes from time to time, the "clear" command not always responds (probably redraw issues? i saw you've connected some visual element's inputs and output directly to the redraw primitive, in and out) and ruby crushed after a while and the module became red.

It seems like the developing part made almost perfectly. You did almost everything right, but the instability, which is probably systematic (ruby? combination of ruby+greens?) is causing an uncertainty. hope the next updates will solve it. the archetype is already here, waiting ;) .
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: pattern sequencer; possible with Ruby?

Post by nix »

Oh damn,
I thought it was perfect.
Will take it for some extended spins.

With the clear command,
you have to wait some 1280 ms before it updates.
A tick 100 is iterating and unwriting the notes.

I am fully willing to extensively test and bugfix, will do-
and thanks a lot mate for the feedback.
Feel free to chop out parts for your designs.
I always test in Orion, will write some projects to test it specifically.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: pattern sequencer; possible with Ruby?

Post by billv »

kortezzzz wrote:developing a real DAW style piano roll with an expandable note duration, don't it?

There's a good one in green, made by Pall, you may want to check out for reference.
http://www.synthmaker.co.uk/forum/viewtopic.php?f=7&t=11734#p91497
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: pattern sequencer; possible with Ruby?

Post by kortezzzz »

Thanks nix. and please, report on any new developments 8-)

There's a good one in green, made by Pall


This guy did a splendid job. a real pioneer. Too bad i' dont visit SM forum from time to time. Wish these people
will join us one day.
But... this version isn't 100% problem-free either, and it's not pall's "fault". seem like SM\FS platform
designed especially for audio designing when midi module's part in this system is to mainly help the pitch+velocity of the audio come out correctly. the timing factor is a little abandoned.
compared to SE platform: although SE midi system isn't perfect at all, it's yet precise and generating midi files and data better then SM\FS. for some reason, it's more "attentive" to outsider sources. maybe because it relies on dedicated primitives? maybe that's the key?
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: pattern sequencer; possible with Ruby?

Post by MyCo »

kortezzzz wrote:MyCo,
Your MIDI file player is really hot stuff, but i remember it was crushing after sometime on 3.03 ver. is it more stable now???


No, there is one or more bugs in FS causing this crash, and I can't do anything to avoid it. It has something todo with FS saving mechanism and ruby timing, that's all I know. If you disable autosave, the thing becomes a little bit more stable. Unfortunatly, all Ruby players will have this issue, and without ruby timings you won't get accurate midi.

I wrote to Malc regarding this problem, but it doesn't look like an easy to spot bug. Don't know if this'll be fixed soon.
User avatar
CoreStylerz
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy
Contact:

Re: pattern sequencer; possible with Ruby?

Post by CoreStylerz »

I probably start working on this soon, hope this bug will be solved.
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: pattern sequencer; possible with Ruby?

Post by billv »

I've come up with a new Ruby Sequencer. :D
It started out as a "Ruby Draw Wave", but when i realised the design was
stuck at 16 points, i took a detour a built a Ruby Seq with it.
I'm 12 versions in, it's a work in progress, but due to a new timing set up,
it's looking really tight.
I used the Custom ticker(toolbox), and coded the important stuff inside it.
I put a counter in there, the midi notes/on-offs/velocity/duration, are all
controlled in there as well.
The fsm has a few things attached, to help test it...so..
I've included a 'stripped down' version for easier custom modification.
Test_Ruby Sequencer.fsm
(445.38 KiB) Downloaded 931 times


EDIT:
Note there are "is playing" and "tempo" prims inside, so its ready for host testing..
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: pattern sequencer; possible with Ruby?

Post by kortezzzz »

Excellent job, billv. Having fun with it right now :D
It can get even better with some PRO features inside like choosing between 3\4-4\4 beats, note sequencing (as it appears in any daw, with an ability to draw random length notes and with snap to grid ability).

and of course, how can we forget quantizing!
:lol: just joking. quantizing is just a wishful thought. I don't really expect FS to handle it right now.

anyway, DAW style PRO note sequencer is groundbreaking dream comes true inside a single vsti. it opens so many possibilities that it scary! ha ha! If you go all the way to there, I will help in any designing or what ever task needed. thank, billv!
Last edited by kortezzzz on Wed Jul 23, 2014 6:32 am, edited 1 time in total.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: pattern sequencer; possible with Ruby?

Post by RJHollins »

just had a little play with this ...

Really nice work Billv. 8-)
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: pattern sequencer; possible with Ruby?

Post by tulamide »

billv wrote:I've come up with a new Ruby Sequencer. :D

A simple one-liner for something as complex as this! It is awesome. And I don't mean the sequencer itself, but the way you commented the ruby code. This should be required reading for everyone who wants to dive deeper into ruby coding.

Thanks a lot for sharing it!
"There lies the dog buried" (German saying translated literally)
Post Reply