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
Simple Arp
Re: Simple Arp
The error message tells you that the event method calls another method in which a variable is used to add something to, although that variable is not defined (it's NIL, short for "not in list", Ruby can't find a valid variable definition). Of course, Ruby can only do a + b if both a and b are capable of being added. if a is, say, a range it wouldn't work. And NIL also doesn't support adding.
This happens a lot in FS, because FS tends to send values to a RubyEdit, before the variables are defined. That is less of a Ruby issue, but more of a communication issue between both. I think Maik has changed this in FS 4 by adding a method called "ready" or similar, which you use to not accept incoming values until the RubyEdit is fully initialized. I hacked a similar solution for 3.0.6, but can't find it in my library (too many moves between PCs).
An arp is a complex code. If it's written by another it is even more difficult to understand the other one's thinking (trust me, I know what I'm talking about). Therefore, although I might be able to solve it, I won't touch the arp. It simply is too much effort, and I can't even make good progress with the current tasks I'm working on, so I would additionally disappoint other people when giving this arp priority.
This happens a lot in FS, because FS tends to send values to a RubyEdit, before the variables are defined. That is less of a Ruby issue, but more of a communication issue between both. I think Maik has changed this in FS 4 by adding a method called "ready" or similar, which you use to not accept incoming values until the RubyEdit is fully initialized. I hacked a similar solution for 3.0.6, but can't find it in my library (too many moves between PCs).
An arp is a complex code. If it's written by another it is even more difficult to understand the other one's thinking (trust me, I know what I'm talking about). Therefore, although I might be able to solve it, I won't touch the arp. It simply is too much effort, and I can't even make good progress with the current tasks I'm working on, so I would additionally disappoint other people when giving this arp priority.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Simple Arp
thanks tulamide. i understand its just to give up this arp.
- djbrynte
- Posts: 613
- Joined: Mon Jun 22, 2009 10:51 am
Re: Simple Arp
Can someone pls fix this arp. Eveytime i play a midi and after some little time the sound disapair. Lets say i put in the synth put on the arp. And then after 1 min the sound is gone. Can some one fix this arp pls. I remember i had this problem before to.
And pls can someone also get the arp synced?
And pls can someone also get the arp synced?
- djbrynte
- Posts: 613
- Joined: Mon Jun 22, 2009 10:51 am
Re: Simple Arp
You can use this graphical arp instead which I've hacked a little yesterday. Working here without an issue.
- Attachments
-
- (Simple Arp Fixed by kortezzzz).fsm
- Made with ver. 3.0.6
- (179.08 KiB) Downloaded 1240 times
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: Simple Arp
Thnx but i want it easier arp. Not these step things.
Just like the simple arp. is there a chance to modify this one kortezzzz?
Just like the simple arp. is there a chance to modify this one kortezzzz?
- djbrynte
- Posts: 613
- Joined: Mon Jun 22, 2009 10:51 am
Re: Simple Arp
Unfortunately, it's beyond my coding skills. The simple arp you want is not that simple... it acts differently comparing to the steps arp. It's very complex since it recognizes full chords played by the user and being able to collect each played note in the chord separately and add it to the sequence in a perfect order. I can hack something similar, but I can not overcome the the full chord recognizing challenge. You'll need a Ruby guru for that.
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: Simple Arp
djbrynte wrote:Can someone pls fix this arp. Eveytime i play a midi and after some little time the sound disapair. Lets say i put in the synth put on the arp. And then after 1 min the sound is gone. Can some one fix this arp pls. I remember i had this problem before to.
And pls can someone also get the arp synced?
Here you have, the loop stop was due to uncontrolled notes deletions.
BTW I added a seed so you can play with more controlled random arp sequences,
it seems interesting for new ideas...
- Attachments
-
- Simple Arp8Demo2.fsm
- (133.2 KiB) Downloaded 888 times
-
josevo - Posts: 33
- Joined: Mon Jan 01, 2018 9:41 pm
Re: Simple Arp
Amazing job, Josevo. Thank you so much for this lovely complex arp!!
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: Simple Arp
One thing I definitely can enjoy about this forum- reading through an entire thread, even an older one with a relatively innocuous title, can be quite educational!
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
-
Duckett - Posts: 132
- Joined: Mon Dec 14, 2015 12:39 am
Re: Simple Arp
kortezzzz wrote:Amazing job, Josevo. Thank you so much for this lovely complex arp!!
Thank you for your kind words!
----------------------------------------------
P.S.
This prototype is just for fun, Ruby should* not be used for creating the synchronisation part of sequencers as you may notice in this example.
Anyway, here you have the latest version of the simple multi-arp, improved and with less bugs.
*By "should" (instead of "must") I meant "if you can avoid it, don't use it." (because event scheduling is a very delicate thing regarding bugs, and I didn't know who was Exo, at that time )
- Attachments
-
- Simple Arp8Demo4.fsm
- (319.05 KiB) Downloaded 823 times
Last edited by josevo on Mon Apr 19, 2021 1:28 pm, edited 1 time in total.
-
josevo - Posts: 33
- Joined: Mon Jan 01, 2018 9:41 pm
Who is online
Users browsing this forum: No registered users and 12 guests