Re: [livecode] Trackers : Formula for the future!

From: Chris Nash <spam_at_nashnet.co.uk>
Date: Sun, 8 Jan 2012 03:05:26 +0000

Thanks, Charles!

Actually, this is kind of already supported in the prototype, using an Oxx
(sample offset) effect and randomising the parameter:

  .effect.type = O
  .effect.param = rnd(0, n) ' Oxx sets the waveform offset to #yxx00 (in
hex) (use SAy effect to set the y)

Though, I think you'd have to make the period of your waveform a multiple
of 256 (#100) samples.

(Isn't rnd(0,1000) % 100 effectively the same as rnd(0,99)? Do you mean
rnd(0,9) * 100?)

Chris

On 7 January 2012 13:49, Charles Turner <vze26m98_at_optonline.net> wrote:

> On Jan 3, 2012, at 4:31 PM, Chris Nash wrote:
>
> > I'd be really interested to hear what anyone thinks of the endeavour
> (and my research)
>
> Pretty fabulous Chris; can't wait to hear more.
>
> I'd like to whisper the following:
>
> .offset = rnd(0,1000) % 100
>
> Where given a sample of 10 waves with a period of 100, reVisit would start
> playback at a random offset into the file. Of course there might be more
> interesting ways of selecting which slice to start at, but rnd() would be a
> great beginning.
>
> Best wishes for your work!
>
> Charles
>
>
Received on Sun Jan 08 2012 - 03:05:56 GMT

This archive was generated by hypermail 2.4.0 : Sun Aug 20 2023 - 16:02:23 BST