Jump to content


Photo

maYbe and Phrase selection?

maYbe probability markov chain

  • Please log in to reply
2 replies to this topic

#1 ideomux

ideomux

    Big Super Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPip
  • 698 posts
  • Gender:Male

Posted 10 July 2018 - 21:17

Trying to understand if what I'm trying to achieve is possible or not in Renoise.

Essentially I'm trying to implement a Markov-like probability process for triggering events using something like maYbe in mutually exclusive mode, but for Phrase selection. I can map phrases to the individual keys of an Instrument, use -Y00 to trigger one of those phrases at weighted-random, but want the previous phrase chosen to be omitted from the set of possible next phrases.

Any help is appreciated. Mostly need to know if this is possible in Renoise, and which avenue might be best to achieve this (Native, Formula device, LUA)

Can the content of a Phrase be used to trigger another phrase? Can a Phrase in, say, Instrument 00, trigger notes in Instrument 01?

Edited by ideomux, 10 July 2018 - 21:19.


#2 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6966 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 10 July 2018 - 21:30

but want the previous phrase chosen to be omitted from the set of possible next phrases.

 

Aha - as in, completely gone from the pool of possibilities, or avoid repeating (always select a new one)? 

Could see a use for both, although the non-repeating type is probably the most common. 

 

In any case, this is outside the scope of the maYbe command - even when using them in combination with phrases. 

I already pressed the limits with the Würfelspiel example - I would have made it non-repeating if possible. 

 

 

which avenue might be best to achieve this (Native, Formula device, LUA)

 

You best option? I'd definitely say lua - you have full control of the pattern editor, can read/write note data from patterns/phrases, etc. 

While a lot of cool stuff can certainly be put in a formula device, you need to express absolutely everything as code. Could be pretty daunting!

Compared to this, lua + phrases is a hard to beat combination IMO. 


  • ideomux, Neurogami and El°HYM like this

Tracking with Stuff. API wishlist | Soundcloud


#3 ideomux

ideomux

    Big Super Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPip
  • 698 posts
  • Gender:Male

Posted 10 July 2018 - 22:12

Aha - as in, completely gone from the pool of possibilities, or avoid repeating (always select a new one)?

The main goal would be full control of the probability of which phrases can be chosen and their probability weights depending on (essentially defined by) which phrase just got triggered, whether it elimiminates repeating or not. Ex: I'm using an arbitrary note of Inst00 to trigger an envelope (one-shot custom LFO reset), an arbitrary note of Inst01 to trigger a different envelope, and another, etc, and allow the rules for which env triggers be much more intentional/context-aware than manually-weighted random, eliminate repeating (in some but possibly not all instances), and overall let this system run without having to poke or prod it much. Manually omitting repeating options in sequences robs the algo of a lot of possibilities.

You best option? I'd definitely say lua - you have full control of the pattern editor, can read/write note data from patterns/phrases, etc.
While a lot of cool stuff can certainly be put in a formula device, you need to express absolutely everything as code. Could be pretty daunting!
Compared to this, lua + phrases is a hard to beat combination IMO.

Thanks a ton for your help m8 :)

Edited by ideomux, 10 July 2018 - 22:23.






Also tagged with one or more of these keywords: maYbe, probability, markov chain