Jump to content

Random Generator and Initial Note number


k2z3k0
 Share

Recommended Posts

hello everybody

I noticed that when randomizing clean empty track LayA(notes) with value 1,(TrgAll),it makes  -1 / +1 deviations from 64 which is E-3.

Now initial note for track is 60 (C-3) and this makes a bit strange situation ,that randomizer starts from other point then initial note value(60)

 

Also i want to ask if there is a way to set default initial value(now 64,C-3) of notes,there is initial value for CC(option 24/33),maybe would be great to have one, also for notes.

And maybe would be great if randomizer deviate starting from that default init value

 

thank you in advance

best regards

  Kazik

Link to comment
Share on other sites

u8 base, range;
  seq_par_layer_type_t layer_type = SEQ_PAR_AssignmentGet(visible_track, layer);
  if( layer_type == SEQ_PAR_Type_Length ) {
  base = 16;
  range = ((par_layer_range[layer] >> 2) - 1); // -> +/- 16
  if( !range || range > 128 ) // (on underrun...)
  range = 1;
  } else {
  base = 0x40; <- WILL THIS DO THE TRICK?
  range = par_layer_range[layer];
  }
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...