[Csnd] loscil loop points
Date | 2018-01-29 23:54 |
From | Joel Ramsbottom |
Subject | [Csnd] loscil loop points |
To set loop points I understand loscil takes the audio frame as an arg ( which im currently doing manually). is there a friendlier way to set loop points by having csound do the math? Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2018-01-30 00:57 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] loscil loop points |
There's basic math you can't avoid, you can imagine math where 1 = 100% and you could segment the sample. ilen ftlen iTable isr ftsr iTable just use the ilen as the whole sample and chop it up with division. Recommend setting p3 correctly, annoying when loscil wraps/loops unwantingly (for freq = 1 then p3 = ilen/isr should work for one iteration over the sample) If you want to loop the last 25% of the sample thousand times, then just remember to multiply by 1000 in that p3 I wrote above. On 30 January 2018 at 00:54, Joel Ramsbottom <joel.ramsbottom@hotmail.co.uk> wrote: To set loop points I understand loscil takes the audio frame as an arg ( which im currently doing manually). is there a friendlier way to set loop points by having csound do the math? |