[PD-dev] arbitrary start position with tabwrite~
Miller Puckette
mpuckett at man104-1.ucsd.edu
Tue Sep 24 01:59:27 CEST 2002
Yes. Also, I want to "patch" it to allow you to specify the exact number
of samples to record so you can "punch" in to any sub-segment....
cheers
Miller
On Tue, Sep 17, 2002 at 07:48:28PM +0800, Chris McCormick wrote:
> Hi Miller, list,
> I've made the following tiny patch to tabwrite~ so i can begin recording to a table at an arbitrary sample position. instead of banging tabwrite~ you can send it 'start 123' and it will start recording at sample position 123. I need this because i want to make long audio recordings but i might not want to start recording the whole thing at the beginning.
>
> Regards,
>
> Chris.
>
> chr15m:~/software/installed/pd-0.35-0/src$ diff d_array.c d_array.c.old
> 96,100d95
> < static void tabwrite_tilde_start(t_tabwrite_tilde *x, t_floatarg fstart)
> < {
> < x->x_phase = fstart;
> < }
> <
> 139,140d133
> < class_addmethod(tabwrite_tilde_class, (t_method)tabwrite_tilde_start,
> < gensym("start"), A_FLOAT, 0);
>
> _________________________________
> chris at mccormick.cx
> http://www.mccormick.cx
> http://www.sciencegirlrecords.com
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
More information about the Pd-dev
mailing list