Need help with edit of Euclidian sequencer


#1

Hey!

I have been trying to make another version of @Sputnki's "sptnk/sequencer/euclid length out" object.

Id like to have input for the notes and for the length and I've succesfully added the input and deleted the parameter spinboxes. But I am having issues with calling up the newly created inputs. I get these errors:

/xpatch.cpp:63:11: error: 'int32_length' was not declared in this scope
if (notes>int32_length)

xpatch.cpp:62:11: error: 'param_notes' was not declared in this scope
int notes=param_notes;

euclidian mod.axp (3.5 KB)

Any help would be appreciated.


#2

Delete that int32_ and write in init code (or local data, i don't remember which one): int32_t length (this way you declare a variable named "length" and size 32bits )

param_notes is not declared simply because you deleted the knob named "length" from parameter list. Change the name of that variable or simply write int notes=inlet_notes


#3

int32_length ... this is not the variable name, its an inlet, so it should be inlet_length
param_notes ... again not a variable name, as its not a parameters its an inlet, so should be inlet_notes

note: this will make it compile, I've not looked at the logic, to say it will do what you want :wink:


#4

ah yes I finally understood it. I byt mistake put int32_notes where I was supposed to put inlet_notes.

Euclidian in.axo (2.7 KB)

Still thank you for the inputs. This was my first attempt with the new object editor. MUCH easier than doing edits externally :wink:


#5

@Sputnki

Btw, wha is the "default" input for?

I have read the object guide but I am not sure I understand it right. Anyway, works great :wink:

Thanks


#6

The default input is used in case you want to chain several instances of the objects (or also object like sel/b ... )
Basically, if the integer input goes outside the range of the object (the length of the pattern), the output is equal to the default inlet. Not sure if i explained that quite right:
if the length of your pattern is 15 and you input for example -1 or -2 or 15 or 16 or any other number outside the range, the default inlet will be used


#7

hi, is this object in the community folder? i cant find it...would like to use it :slight_smile:


#8

hi sutnki, i cant get the maestro object running. i am trying all sorts of counters but nothing comes out. which object would i have to use to feed it? is there a simple help or demo file? thanks in advance.


#9

If i remember correctly you should feed the object with trigger pulses, however my best advice is to not use it at all, since it's a sram eater and it doesn't even produce nice melodies


#10

@Moutcast look up a few posts and download it form there, the one called "euclidian in", I think that should work. Then copy it manually to your own Axoloti folder, do a reload objects and it should become available in the Axo browser.

Sorry havent used axo for a ehile so didnt test it. But as far as i remember it worked okay when I made it :slight_smile: But I think there are also other euclidian sequencer in the com.lib, if I remember correct. If this one doesnt do the job, check those.


#11

but it sounded like a good idea...thanks anyway...


#12

thanks i have it working now :slight_smile: