[PD-dev] arbitrary start position with tabwrite~

cxdd jdl at xdv.org
Tue Sep 17 14:01:35 CEST 2002


otherwise check the tabwrix~ xtrnl, it does that including
setting end point ..

[Chris McCormick]->[[PD-dev] arbitrary start position with tabwrite~]->[02-...

 |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
 |

-- 
>          <          D          ¥          ·          0          7          6





More information about the Pd-dev mailing list