sfplay~
I am using the sfplay~ object. It is possible to use a toggle to start and stop playback of an audio file, but the 0 resets the object so when it receives a 1 it starts playback from the beginning. Once the file is started it is possible to pause playback in two ways:
using the pause/resume messages
or
using the speed $1 message with 0 routed through it (so the playback speed is 0)
I am wondering if it is possible to create one button that starts playback, but once the file is started it then acts as a play/resume button. Then when a 0 is sent from another button, the all-in-one start/pause/resume is reset so that it can begin playback from the beginning again.
like this ?
sorry... like this
Jay Simpson wrote:
> I am wondering if it is possible to create one button that starts
> playback, but once the file is started it then acts as a play/resume
> button. Then when a 0 is sent from another button, the all-in-one
> start/pause/resume is reset so that it can begin playback from the
> beginning again.
I made something like that, maybe its time to include it into my
collection. Save this as St.playControl and the second part is the help
file this will need my St.ools.
https://cycling74.com/twiki/pub/Share/StefanTiedje/St.ool s.zip
Stefan
St.playControl :
Here is St.playControl.help
--
[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]
Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation
/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///
-------------------------x----
--_____-----------|-----------
--(_|_ ----|-----|-----()----
-- _|_)----|-----()-----------
----------()------------x-----
14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09
Can't download your externals dude.