Kyma Forum
  Kyma Support
  Markov chains as sequence arrays

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Markov chains as sequence arrays
cristian_vogel
Member
posted 03 September 2007 11:55         Edit/Delete Message   Reply w/Quote

MarkovSequencerThingy.kym

 
I am researching more into sequencing inventions, and was experimenting with the MarkovChain object.

I have come up with this small script to generate the trainingSequence on the fly from VCS parameters... Is there a way that I could randomise / rebuild the Markov sequence once the sound has started running in realtime?


there is a Sequencer Thing example sound -

but here is the script ...


| PitchArray pseq trainingSeq |
trainingSeq := {( 1 to: 8 ) collect: [ :x | 127 nn * ('P' asHotValue suffix2: x ) ]}.
PitchArray :=
MarkovChain trainingSequence: (trainingSeq) chainLength: 1.
pseq := PitchArray newSequenceOfLength: 8 seed: 359.
kbd start: 0 s PSEQ: (pseq asArray) .

[This message has been edited by cristian_vogel (edited 03 September 2007).]

IP: Logged

SSC
Administrator
posted 03 September 2007 16:50         Edit/Delete Message   Reply w/Quote
Not in a Script but, using a Tool, you can write Smalltalk programs that interact with the Event Values in Sounds that are currently running. You probably remember the Markov example that I posted on the tweaky a few months back:
http://www.symbolicsound.com/cgi-bin/bin/view/Share/Tools#InteractivePerformance

Called 'livemarkovkeyboard.zip', it uses the live keyboard input as its training sequence.

More details here: http://www.symbolicsound.com/cgi-bin/bin/view/Share/LiveMarkovKBDDiscussion


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c