That's right.

----- Original Message -----
From: Cesare Marilungo <cesare@poeticstudios.com>
Date: Friday, February 1, 2008 1:12 pm
Subject: Re: [Cs-dev] opcode to start/stop/rewind jack transport
To: Developer discussions <csound-devel@lists.sourceforge.net>

> Ok, I recommitted the jacktransport opcode with this new syntax.
> Below
> there's an example. Please test!
>
> BTW, is csound->GetSr(csound); the correct way to get the
> sampling rate?
>
> Cheers,
>
> -c.
>
> orch:
>
>     instr 1
> jacktransport p4, p5
>     endin
>
>     instr 2
> jacktransport p4
>     endin
>
> score:
>
> i2 0 5 1; play
> i2 5 1 0; stop
> i1 6 5 1 2 ; move at 2 seconds and start playing back
> i1 11 1 0 0 ; stop and rewind
>
>
> Jonatan Liljedahl wrote:
> > Cesare Marilungo wrote:
> > ...
> >  
> >> Or we can add a second optional parameter to tell where the
> transport
> >> should be positioned before start playing? So:
> >>
> >> jacktransport 1, 0 ; would rewind and play
> >> jacktransport 1, 10 ; would set the transport position to 10
> seconds and
> >> then start playing
> >> jacktransport 1 ; would play from current position
> >> jacktransport 0 ; would stop
> >>    
> >
> > this looks very good, imho.
> >
> >  
>
>
> --
> www.cesaremarilungo.com
>
>
> -----------------------------------------------------------------
> --------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel