dywen - Button 3 still gives me 2 blocks dropped - is this a problem?
Check out the help file for [readsf~]
:
You must open the soundfile in advance (a couple of seconds before you'll need it)
using the "open" message. The object immediately starts reading from the file,
but output will only appear after you send a "1" to start playback. A "0" stops it.
in this case you are sending the [open(
and [1(
messages at the same logical time, so the object starts reading from disk immediately once it receives [open(
, but by the time [1(
comes in, it has not buffered enough data to be able to start the play back, therefore it has to sit and wait for the data to be read. I'd suggest you send the [open(
message to [readsf~]
immediately after stopping the recording.
dywen Pushing the play button only works when I press the button (I have to keep it pressed)
If you want to use the button as a toggle (click goes to 1 ... click goes to 0), then you need something like
[select 1]
|
[ ] <<< a toggle
|
[readsf~]
something similar is implemented here.