-
ctron
Hello,
I hope this is correct use of this forum.
I am a naïve young student with a creative assignment in PureData (pd-extended). I hope to put PD to use to convert a short input phrase (through an [entry] box) into a series of sound, via each letter's ASCII code. I'm sure there'll be many things to learn along the way but I'm struggling even to get started: I don't know how to get from 'C' to '1, 0, 0, 0, 0, 1, 1'. I think [atoi] is relevant but I am struggling to understand it.
Yes, sadly I'm just signing up to steal the assistance of some kind soul.
Can anyone help me in this first stage?
Thanks. -
ctron
I put preset MIDI channels and voices on loadbangs, so it should pay attention to that - What instrument sound (voice) is it playing back with? And does this apply to the drums as well as the three pitched options?
I tested it on a couple of machines and it worked okay - and I really hope nobody tells me otherwise because I've submitted it now! -
ctron
Hello,
I think I've just finished my project.
What I have essentially produced is a toy for batch-converting (with a few live variables) an input text phrase into a musical sequence of four-bar loops, based primarily on equations of the input characters' ASCII values.
Thanks for the help; I was completely lost a couple of weeks ago.The drum parts are completely based on the ASCII binary bits as mentioned in above posts, but the pitched instruments involve more maths.
I regret there're no Stop or Loop functions, and had tried to implement them, but have favoured a separate duration-logic which wouldn't really tesselate with those. I made some cop-outs to eliminate bugs, and it'd really be nice to have more variables, but the result should be sufficient for my assignment.
This is from someone who hadn't heard of PD three months ago. I recognise there'll be examples of very clumsy programming in there, and I'm not really asking for feedback (because I'm sick of debugging; it works fine for me now and must get on to the write-up), just offering my creation.
I have only just saved this 'final' version, and despite hours of my own debugging I can't guarantee anything.
See attached.
(made on pd-extended 0.41.4 for Windows)
-
ctron
Bit by bit, this IS working!
One perhaps particularly rookie question now: How do I set the pseudo-delimiter I desire for [s2l] on launch? -
ctron
Thanks, both of these responses have been really helpful and I've got a strong start now. Like Kai, though, I don't know how to separate characters into individual messages without requiring spaces, and really need that. Any suggestions?