Spectral Image Sonification — User Guide
Creates evolving harmonic spectrum (vowel-like sound) based on image colors.
What this does
This Praat script generates a continuous, evolving harmonic sound (a synthetic vowel-like or drone texture) from a selected image. The image's columns are mapped onto the duration of the output sound, causing the timbre to shift over time.
The sonification uses the following mapping to control the harmonic content:
- The average Red value of each column controls the amplitude of harmonics 1, 4, 7, 10, etc. (where harmonic number mod 3 = 1).
- The average Green value of each column controls the amplitude of harmonics 2, 5, 8, 11, etc. (where harmonic number mod 3 = 2).
- The average Blue value of each column controls the amplitude of harmonics 3, 6, 9, 12, etc. (where harmonic number mod 3 = 0).
- The overall amplitude is determined by the average of the R, G, and B column averages. Columns with very low overall brightness are skipped.
- Stereo Panning is determined by the difference between the Red and Blue channel averages (Red-Blue difference), which pans the sound from left (Red-dominant) to right (Blue-dominant).
Quick start
- In Praat, select a Photo object.
- Run script… →
Spectral Image Sonification.praat. - Adjust parameters and click OK.
- The output object `image_spectral_sonification` appears and plays automatically.
Parameters (form fields)
| Name (GUI) | Type | Default | Description |
|---|---|---|---|
| duration(seconds) | real | 5.0 | The length of the resulting audio file. |
| fs(Hz) | integer | 44100 | The sampling frequency of the output sound. |
| fundamentalFreq(Hz) | integer | 110 | The base frequency (F0) for the harmonic series. |
| maxHarmonics | integer | 16 | The number of harmonics to include in the synthesized sound. |
Outputs
- Object name:
image_spectral_sonification - Type: Sound (Stereo)
- Normalization: Peak-scaled to 0.8