Page 1 of 8

pattern sequencer; possible with Ruby?

Posted: Tue Mar 04, 2014 7:56 am
by kortezzzz
Hi
I believe making pattern sequencer with Ruby shouldn't be mission impossible as the "example synth" has an built-in arpeggiator already. but this arp just applies (+1) to (-1) octave. any chance to adopt this arp's concept for making a pattern sequencer?

Re: pattern sequencer; possible with Ruby?

Posted: Sat Mar 15, 2014 3:05 am
by CoreStylerz
kortezzzz wrote:Hi
I believe making pattern sequencer with Ruby shouldn't be mission impossible as the "example synth" has an built-in arpeggiator already. but this arp just applies (+1) to (-1) octave. any chance to adopt this arp's concept for making a pattern sequencer?

You can make a pattern playing some notes ticked by ruby Rick.
Should ne easy to do.

Re: pattern sequencer; possible with Ruby?

Posted: Sat Mar 15, 2014 2:18 pm
by kortezzzz
Thanks for the answer.Unfortunately, my Ruby skills are null and I don't see any improvement on the horizon :roll:
I wish ruby was a little more approachable tool or at least graphically formed. There are so many beneficial
uses to this language that would cause to many amazing projects birth (mainly midi projects) but it seem like
most of us will never devise them and they will remain an unattainable dreams.

Some "ready to use" built in Ruby-midi primitives would be a great start. if Ruby is a kind of "Severance" for
not implanting new primitives over the last updates, its not enough. we need some tools with a lower learning curve to accomplish things at present.
its just a Thought.

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 12:17 am
by Nubeat7
kortezzzz wrote:if Ruby is a kind of "Severance" for
not implanting new primitives over the last updates, its not enough.


i would see it as an enhancement and a feature..

sure to start with a sequencer project from scratch in ruby when you have 'null' experience with it is maybe a little bit too big project, to learn ruby you should start with small steps, there are lot of examples here in the forum to learn from

the arp from the example synth is a good start for it i think and you could do one without ruby too just watch nix dream seqencer which is mainly programmed without ruby, nevertheless this needs a lot of experience with SM / FS to do some kind of complex sequencers...

another good point to start from would be the steplfo which could also be modified, also there are the stock version (without ruby) and a ruby version i did viewtopic.php?f=2&t=2051&p=9614&hilit=smooth+help#p9614

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 12:47 am
by nix
Actually NB-
the DreamSequence is basically Ruby now,
although development was totally without it at the start.
All the timing and array processing is now Ruby.
Yo kortezz,
I'll send you DreamSequence .fsm today.
It's nice and modular, so a lot of the Ruby stuff is split into modules,
that can be decoded more simply than say the stock arp code.
I hope you like it! NuBeat did a lot of the main code block,
which reads the arrays.
FS is just peachy for making sequencers now.
1.Green works, but is not accurate at all timing-wise,
so you can experiment with concepts, but not really pull off any accuracy.
2.Ruby is really versatile and quite accurate.
3. Stream is amazing for accuracy and speed, but cannot be translated into MIDI,
It doesn't have the versatility(range of commands) that Ruby has.

Anyways-hope the DreamSequence is cool

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 3:38 am
by MyCo

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 7:05 am
by kortezzzz
Thanks for the replies, guys. It was very helpful.

I'll send you DreamSequence .fsm today.It's nice and modular, so a lot of the Ruby stuff is split into modules


Thanks nix, i appreciate the effort. that will be great. Especially if the Ruby stuff are split. That way, It will be easier to understand which module does what task. waiting for this... 8-)

sure to start with a sequencer project from scratch in ruby when you have 'null' experience with it is maybe a little bit too big project


well nubeat7, maybe some people, like me, just haven't born to write codes. i think its not just a matter of experience but also a matter of talent. that's why i'v chose FS, which by it's definition is a graphical programming platform. hoped FS future Improvements and updates will remain more "visual" and less "code based", but the tendency is opposite. so, no other choice but to learn ruby somehow.

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??? i'll be happy to use this for my... you know.... project ;)

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 7:14 am
by nix
DreamSeq. is in your mail,
sorry if there was a problem getting it,
I had 2 versions with nearly the same name,
so I upped it twice,
as I had done a small amount of editing.
It's been maybe 2 months since I worked on it,
and I feel I have forgotten a lot of Ruby stuff, damn.

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 8:51 am
by kortezzzz
Tanks a lot, nix. Got it and it seems to work well without crushes. I will test it later and report if anything gos wrong.
i have no idea if the version you sent is the up to date (is it?)
Thanks!

and by the way, guys, if we already have a dream sequencer and a midi file player, its not that far from developing a real DAW style piano roll with an expandable note duration, don't it? 8-) . I mean, the ability to draw longer or shorter notes wherever and whenever we want on the timeline, without the limitation of a general fixed step size. that gonna be a real WOW!

Re: pattern sequencer; possible with Ruby?

Posted: Sun Mar 16, 2014 9:10 am
by nix
Yep- I'm seeing the correct file has been downloaded 4 times.

The note duration is dependant on a gap.
If you draw 3 consecutive notes, it will play without divisions for 3 steps,
I'm not sure how to implement micro-stepping,
only finer grid divisions-
which is currently adjustable.

Cheers!