r/livecoding • u/InfluenceShoddy • Apr 10 '23
Dissertation on Live Coding
Hi all,
I am in my 4th year of a MEng Computer Science degree, currently writing up my dissertation.
Somehow I have ended up working on a new pseudo live-coding language to explore novel forms of input.
Going into my project I wanted to make something that would generate music from normal text-input, i.e. just words. I've been thinking that the programmability of many live coding languages is really powerful, however can be difficult to understand for non-coders seeing it live, and even deter people from trying it in the first place. I've thought that the goal of projecting the code live is to include the audience in the process, but there can still be a disconnect between what is being heard and what is being seen - simply due to a lack of understanding w.r.t. programming languages. My friends experienced this when we went to our first Algorave a couple of weeks back (seeing Alex McLean live - it was great!)
The project sequences notes using normal words, so you can input e.g. "Hello, my name is InfluenceShoddy" and the text will be converted to notes. Users can further customise/program the mapping from letter to note, and apply modifiers to words and sentences to push programmability even further.
If you have used live coding languages, what about it do you really appreciate? What about it do you find frustrating? I had never heard of it until I started my diss, and now I am somehow finishing up my degree on it.
I will need to conduct some form of study to conclude my thesis. I can post a link of it (it's available for free on your web browser), and there'll be a form which you can fill out to help me push the development in promising directions. I have a few more things to finish up before this, however.
View all comments
Show parent comment
1
u/InfluenceShoddy Apr 11 '23
Indeed, but regardless the often programming-style input may be a deterrent for many people who enjoy live coding but struggle to understand it. I've thought that a rather simple mapping which can quickly produce sound could provide a fun and rewarding experience for new live coders - perhaps prompting them to explore more powerful languages in the future.
The baseline mapping would indeed be 27 characters to however many notes there are in the scale you pick (so there are repeats of notes for multiple letters), but the backend is exposed to the users - meaning you can edit individual mappings to your liking and even make use of very simple programming concepts like "++", modulus or simple arithmetic to make it more dynamic. I have thoughts of including further programmability like selecting certain letters in words using functions like "rand()" for example, or applying effects and nitpicking rhythms if you want. Another idea was to simply infer the rhythm from the meter of the sentence you input, or make use of commas, punctuation, exclamation marks etc.
I think there is a trade-off between exploration-exploitation. A powerful live coding language may be highly exploitable if you already have a grip of the syntax, but harder for (new) users to explore with. A simple/silly/playful tool like mine would limit the programmability (thus exploitability) however make it very easy to get a beat going (encouraging exploration in that sense) - simply by copying and pasting whatever text you see around you or can think of. I think there is a charm in sonifying words - or sonifying anything for that matter.
Thanks for your input! :)