Sprechstimme Playground
← Back to Home
playground.py
Clear Output
▶
Run Code
# Welcome to Sprechstimme Playground! # Real Python interpreter powered by Pyodide # Using the actual sprechstimme library from PyPI import sprechstimme as sp # Step 1: Create a new synthesizer sp.new("lead") # Step 2: Configure the synthesizer with a waveform sp.create("lead", wavetype=sp.waves.sine) # Step 3: Play a note (A4 = MIDI 69) sp.play("lead", "A4", duration=1.0) print("Playing A4!")
Output
Ready
Click "Run Code" to execute and hear the audio...