Jump to content


Photo

API fun finding 'hidden' code (pattern iterator)


  • Please log in to reply
2 replies to this topic

#1 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1815 posts
  • Gender:Not Telling

Posted 16 September 2018 - 21:51

For inspiration and reference, here's a hack that seems to extract some (most?) of the pattern iterator, which is lua code. I've also found some other lua code deep inside the API, but it wasn't as interesting as this.

Spoiler


Result:

Spoiler

  • Ledger likes this

#2 Ledger

Ledger

    Guruh Motha Fakka Knows More About Renoise Than Taktik

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3606 posts
  • Gender:Male

Posted 16 September 2018 - 23:31

I remembered taktik posted a link to these before, but link seems forward to a GitHub root directory now? and I couldn`t find TestPatternIterators.lua there, to compare with your printout.
 
Anyway some good hacking!  I may be back with some questions!
 
 
 
Original thread and quote:
 http://forum.renoise...or/#entry223800
 

Renoises pattern iterators are written in Lua. See https://code.google....rnIterators.lua for the source

Should be relatively easy to copy and/or adopt to fit your needs?




EDIT:
Another post where he posted them up, though the formatting has been lost in the spoiler box:

http://forum.renoise...ct/#entry318669

Edited by Ledger, 16 September 2018 - 23:48.

--> Lua For Beginners <--
--> Lua for newbies <--

My Scripts On Forum

Top Tip!

 

cpu : Xeon 1231 v3, os : Win 7 64bit, audio: Audient iD4
posts as 4tune @ KvR and some other music related sites


#3 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1815 posts
  • Gender:Not Telling

Posted 17 September 2018 - 07:25

EDIT:
Another post where he posted them up, though the formatting has been lost in the spoiler box:

http://forum.renoise...ct/#entry318669

 

Oh, thanks! I had no idea. It seems to be the same!