ideoforms / signalflow

A sound synthesis framework for Python, designed for clear and concise expression of complex musical ideas
https://signalflow.dev
MIT License
167 stars 14 forks source link

How to turn a Node on (.play()) without playing it #119

Closed jarmitage closed 2 weeks ago

jarmitage commented 1 month ago
audio_path = '...'
audio_buf = Buffer(audio_path)
player = BufferPlayer(audio_buf)
player.play() # this will also .trigger() the sample

player.trigger() # cant do this without doing .play() first
ideoforms commented 2 weeks ago

Thanks @jarmitage - just working through the backlog of outstanding issues...! You can achieve this by setting the clock input to 0; have now added this to the documentation.