Hello Jakob,
On 13/3/19 1:36 am, Jakob Laue wrote:
What is your experience with algorithmic sound/melody generation in Pd? Do you know any algorithms? Have you heard of something or somebody who is doing a lot with algorithms in Pd?
Not an academic, but one particular technique has been very fruitful for me. It works like this:
Establish a set of notes you want to use. E.g. 4-6 notes from a scale.
Set some random percentage (0% to 100%) of the note set to be
null/rest note.
Create a random sequence of those notes e.g. 2 1 3 4 0
Have the sequence silently playing at several different rates over
and over. So e.g. at normal rate, double-rate, half-rate, 3x rate. The length of each note can correspond to the rate at which it's playing (e.g. double-rate note will be half as long, half-rate note will be twice as long) or fixed for a different feel.
these different rate sequences. So e.g. it might be playing the normal time track, then switch to the double-time track, then back to the normal, then to half, and this should be done randomly. It's good to stick with one rate for a few notes so make the switcher not too aggressive.
If you do this for a few bars and then loop the result you will get some nice melodic loops.
Playing with the note length live is a fun thing to do - set up a MIDI knob to control the note length of each note (either as a percentage of the default note length or as an absolute value) and then twiddle between a short pizzicato sound and a longer note. This can have a big effect on the mood.
I sometimes use this algorithm in real time on drum beats as well - manually switching normal, half, double-time versions of the beat - it's very pleasant to tinker with.
To educated musicians this may sound very naïve but I have found the mood of a melody to be highly influenced by the initial note selection and the rate of play.
In particular the mood "floating in the hybrid airship through the forest canopy to the treehouse algorave with lasers guiding the way" can be evoked with a simple modern mixolydian square-wave arpeggio and a little reverb.
Some of these techniques can be heard on the album I just released:
https://chr15m.bandcamp.com/album/hacksilver
See the liner notes for details of the technology I used (including Pd).
Cheers,
Chris.
On 6 Jun 2019, at 08:06, Chris McCormick chris@mccormick.cx wrote:
To educated musicians this may sound very naïve but I have found the mood of a melody to be highly influenced by the initial note selection and the rate of play.
well as an educated musician i must say, of course! rhythm, speed and note selection are a huge part of a melody of course! add in some legato and slurs and gliding to certain notes and you get even closer. also don’t forget silence (rests) in between, those are the ones that make your melody shine and sound more natural!! or learn an instrument :-)
Hi Jakob,
On 12.03.19 18:36, Jakob Laue wrote:
Hello!
For a university project I want to develop a melody generator which has to transform a colloquial input (e.g. happy) into a melody which clearly represents this input.
I am currently reading and looking for literature ..
What is your experience with algorithmic sound/melody generation in Pd? Do you know any algorithms? Have you heard of something or somebody who is doing a lot with algorithms in Pd?
there is a blog for algorithmic composition that explains basic concepts with Pd, e.g. Markov chains: http://www.algorithmiccomposer.com/2011/06/second-order-markov-chains-in-pur...
I was also playing around with ideas for an app, maybe my notes and my Pd code can help you: https://github.com/residuum/Life-Soundtrack https://github.com/residuum/Life-Soundtrack/blob/master/notes.md
Hth, Thomas
I think we may be blurring the line between algorithmic and generative here (perhaps the line is not clear to begin with), but you should definitely check out Context: https://youtu.be/oHnRsi3saXI. It's very good at handling Markov chains and doing the sorts of things that Chris is describing.
From: Pd-list pd-list-bounces@lists.iem.at on behalf of Jakob Laue jakkesprinter@web.de Sent: 10 June 2019 10:42 To: Thomas Mayer Cc: pd-list@lists.iem.at Subject: Re: [PD] brainstorming on algorithmic melody generation
Cool, thank you very much, Thomas!
Gesendet: Freitag, 07. Juni 2019 um 00:37 Uhr Von: "Thomas Mayer" thomas@residuum.org An: pd-list@lists.iem.at Betreff: Re: [PD] brainstorming on algorithmic melody generation Hi Jakob,
On 12.03.19 18:36, Jakob Laue wrote:
Hello!
For a university project I want to develop a melody generator which has to transform a colloquial input (e.g. happy) into a melody which clearly represents this input.
I am currently reading and looking for literature ..
What is your experience with algorithmic sound/melody generation in Pd? Do you know any algorithms? Have you heard of something or somebody who is doing a lot with algorithms in Pd?
there is a blog for algorithmic composition that explains basic concepts with Pd, e.g. Markov chains: http://www.algorithmiccomposer.com/2011/06/second-order-markov-chains-in-pur...
I was also playing around with ideas for an app, maybe my notes and my Pd code can help you: https://github.com/residuum/Life-Soundtrack https://github.com/residuum/Life-Soundtrack/blob/master/notes.md
Hth, Thomas -- "Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://www.residuum.org/
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list