Random Walk Melody — User Guide

Praat script.

Author: Shai Cohen Affiliation: Department of Music, Bar-Ilan University, Israel Version: 0.1 (2025) License: MIT License Repo: https://github.com/ShaiCohen-ops/Praat-plugin_AudioTools
Contents:

What this does

Praat script.

Process Description: This script employs the concept of a Random Walk to generate a coherent, yet non-repetitive, melodic line. It's a method of algorithmic composition based on stochastic processes, where the next note is chosen based on a probability distribution relative to the current note, rather than being chosen completely at random.

Quick start

  1. Run script…Random Walk Melody.praat.
  2. Set parameters and click OK.
  3. Output object appears (see Outputs).

Parameters (form fields)

Name (GUI)TypeDefault
Durationreal15.0
Sampling_frequencyreal44100
Note_durationreal0.5
Base_frequencyreal220
Scale_degreesinteger7
Step_probabilityreal0.7

Outputs