First time here? Check out the FAQ!
x

How do I trigger a ShiftRegister every Capytalk cycle?

0 votes
207 views

If I'm using the Capytalk shiftRegister:length: message, how can I trigger that every Capytalk cycle (ie at 1000Hz)?

asked May 24, 2020 in Capytalk & Smalltalk by alan-jackson (Virtuoso) (15,840 points)
Since the trigger must change (from <=0 to a non zero value), you need two time steps in order to make a trigger, so the fastest the trigger could be is 500 Hz.
Are you trying to make a delay line? Maybe you can use CapytalkToSound and feed it into a DelayWithFeedback?
Have I become that predictable? Gah, you know me too well. Yes I was wondering if I could make a Capytalk delay - something I've wanted on many occassions.

Yes I could use a CapytalkToSound and a Delay with suitable scaling. I thought a Capytalk shiftRegister might take less resources. (I tried a shiftRegister with 60,000 steps and couldn't see any blip on the DSP meters).

Please log in or register to answer this question.

...