LaboratoryForPlayfulComputation / blockytalky

A toolkit for learning CS through networked physical computing
BSD 2-Clause "Simplified" License
28 stars 7 forks source link

wrap the sonic pi eval in a begin rescue to avoid sonic pi crashing with bad input #25

Closed mpahrens closed 8 years ago

mpahrens commented 8 years ago

Since we just do string interpolation for what we pass as pitch and duration to sonic pi, we should put the eval statement in the speedy eval loop in a begin rescue so that it just fails fast and doesn't break the listener.

mpahrens commented 8 years ago

I apparently already do this, so I am closing this, but I don't know yet why when we put a weird symbol in the string field of the play synth block it broke for Catherine.