Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 2 days, 15 hours ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

Problems with Markov Chain

Author 3 Subscribed Users |
Profile photo of LucasQuinamo
LucasQuinamo

Hey! I’m pretty new to OM and Algorithmic composition, so this might be a really noob question but here I am.
I tried creating a Markov Chain analyzes with OM, based on this tutorial:
http://www.algorithmiccomposer.com/2010/04/openmusic-markov-chains-and-omlea.html

Well, everything was pretty similar to the tutorial, with the exception of the mf-info function. In the tutorial it has two inlets, in my OM it has only one. I looked at the documentation and it seems that I can create an optional argument to inform a track number. I don’t know if that’s what getting me the error, but everytime I try to evaluate the chain it gives me an error message saying “Error while evaluating the box ANA-MARK: Arithmetic error in < of ((60 0 214 58 2)(72 0 214 58 1)): arguments must be real numbers.”
I really couldn’t get what’s wrong with it so I’m here asking you guys to help me.
And again, sorry for this dumb question =P

December 20, 2017 at 14:09 #24731
Profile photo of anders
anders

Hi Lucas.

You can access the second input using ‘Alt-[rightarrow]’ on the box, to select one track. I beleive this will get rid of the error you see.

Forgive me if i sound like selling soap, but the Patterns-library provides a more direct way to analyze data to achieve markov-tables, and generate new data based on this analysis. Check the attached shot. Anders.

Attachments:
  1. markov-analyze-from-Patterns-library

    markov-analyze-from-Patterns-library.png

December 20, 2017 at 16:17 #24732
Profile photo of ratox
ratox

Dear Anders, you don’t sell soaps, this attitude is te good way to go, thanks!

December 30, 2017 at 21:45 #24747

You must be logged in to reply to this topic.

Log in now