Hey people,
I am curious what would be the easiest way to load code from a text file.
The idea would be to have a sort of start up code, like global variables, initialization etc,
then the program would load various functions from text files according to certain input.
so if i have an synthesizer as my input, depending on the pitch i could load and run different functions.
in the same way it would be fun to write code into a text file (by playing a synth), where different notes
would represent different keywords and parameters in processing, such as C1 = ellipse(), C#1 = line(), D1 = random(), G2 = 1, G#2 = 2, etc.
so reading from text, writing into text file, and loading and running text files as code.
I have used text files for loading settings, but looking just for some hints how actual code could be loaded.
thanks!
1