Audio clips

Peter Haworth pete at lcsql.com
Sun Oct 14 11:29:15 EDT 2012


Thanks Michael, looks like that should work.
Pete
lcSQL Software <http://www.lcsql.com>



On Sun, Oct 14, 2012 at 8:06 AM, Michael Kann <mikekann at yahoo.com> wrote:

> Peter,
>
> You can make a poor man's pause btn using the following idea:
> --------------------------------------------
> --- stop btn
>
> --- stop audio and save point audio is stopped
>
> --------------------------------------------
> on mouseUp
>    stop player  1
>    put the currentTime of player 1 into fld "store_cur_time"
> end mouseUp
> --------------------------------------------
> --- resume from stopped point
>
> --------------------------------------------
> on mouseUp
>   put fld "store_cur_time" into cur_time
>   set the currentTime of player 1 to cur_time
>   play player 1
> end mouseUp
> -------------------------------------------
>
> Mike
>
>
> --- On Sat, 10/13/12, Peter Haworth <pete at lcsql.com> wrote:
>
> From: Peter Haworth <pete at lcsql.com>
> Subject: Audio clips
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Date: Saturday, October 13, 2012, 8:03 PM
>
> Is there a way to pause an audio clip?  Play and stop seem to work but I
> don't see a pause command and "play pause" doesn't work for audio clips.
> Pete
> lcSQL Software <http://www.lcsql.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list