scikitplot.doremi#

Doremi#

A modular Python toolkit for musical note processing, sound synthesis, and notation handling. Supports Western and solfège notation, tone generation, frequency mapping, waveform synthesis, and more.

Examples

>>> from scikitplot import doremi
>>> doremi.compose_as_waveform()

References

User guide. See the DoReMi section for further details.

Simple Music Composer#

ENVELOPES

Mapping of envelope types to amplitude-modulation functions.

compose_as_waveform

Generate a concatenated waveform from a musical composition input.

play_waveform

Play audio from a NumPy array using either IPython (for Jupyter) or sounddevice.

plot_waveform

Plot the waveform of mono or multi-channel audio data.

save_waveform

Save waveform to an audio file using specified or auto-selected backend.

save_waveform_as_mp3

Save waveform as an MP3 file using pydub and ffmpeg, with support for mono or stereo.

sheet_to_note

Convert input sheet (str/list/dict) to a list of (note, octave, duration).

sheet_converter

Display parsed notes or note frequencies from a musical sheet.

serialize_sheet

Serialize sheet notes to JSON or YAML string.

export_sheet

Enable serialization of compositions or note sheets.