[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question to generating random pitches snippet
From: |
Jean Abou Samra |
Subject: |
Re: question to generating random pitches snippet |
Date: |
Tue, 13 Jun 2023 16:43:28 +0200 |
User-agent: |
Evolution 3.48.3 (3.48.3-1.fc38) |
Le mardi 13 juin 2023 à 16:34 +0200, Stefan Thomas a écrit :
Exactly. Sorry I've forgotten to send the link.
The snippet contains the _expression_
(random 12 random-state)
meaning that a random pitch between c' and 11 steps higher (i.e., g'') is chosen. You can change that to, e.g.,
(random 15)
to have a pitch between c' and c''' , or
(+ -7 (random 15))
for a pitch between c and c' .
signature.asc
Description: This is a digitally signed message part