Talk:Musical-X

From Esolang
Jump to: navigation, search

Questions

I love the idea of programming with music, but some things aren't completely clear to me. When playing a 4th up and thus executing "Input value at pointer", how could one possibly input anything as the source code contains only notes? Or is "input" rather an interactive console-like thing?

Also, is there a possibility to loop over a certain sequence of instructions? I see "Search Forward" and "Search Backwards" instructions but how can such a loop ever end?

An example: My first interval is a 2nd up, incrementing the value at the current pointer position. After a while I play a 6th up, possibly with some commands in between so I end up on the correct note to jump back to my increment instruction.

In my understanding the program flow continues now linearly, executing everything I jumped over on my way backwards and finally reaching the 6th up, which will lead me backwards once again (and again, and again....). Is there anything I am missing?

My last question is, is there any purpose in changing the key of the program/song or is it just for fun and more exotic sounding source code?;)

--(this comment by 134.147.116.30 at 20:53, 18 September 2013‎ UTC; please sign your comments with ~~~~)

The "input" is stdin, not the source-codes; one value read from stdin and write to the RAM using the pointer. The backward and forward are conditional. The purpose to change the key is mainly to change the sound, although I suppose when combining it with loops it can significantly change the functioning of the program too. --Zzo38 (talk) 04:59, 19 September 2013 (UTC)