Page 2 of 8

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 4:47 pm
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 ;) .

Re: pattern sequencer; possible with Ruby?

Posted: Mon Mar 17, 2014 12:18 am
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.

Re: pattern sequencer; possible with Ruby?

Posted: Mon Mar 17, 2014 12:19 am
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

Re: pattern sequencer; possible with Ruby?

Posted: Mon Mar 17, 2014 6:00 am
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?

Re: pattern sequencer; possible with Ruby?

Posted: Tue Mar 18, 2014 4:19 pm
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.

Re: pattern sequencer; possible with Ruby?

Posted: Tue Mar 18, 2014 4:22 pm
by CoreStylerz
I probably start working on this soon, hope this bug will be solved.

Re: pattern sequencer; possible with Ruby?

Posted: Wed Jul 23, 2014 12:21 am
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..

Re: pattern sequencer; possible with Ruby?

Posted: Wed Jul 23, 2014 6:05 am
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!

Re: pattern sequencer; possible with Ruby?

Posted: Wed Jul 23, 2014 6:08 am
by RJHollins
just had a little play with this ...

Really nice work Billv. 8-)

Re: pattern sequencer; possible with Ruby?

Posted: Wed Jul 23, 2014 7:57 am
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!