First time here? Check out the FAQ!

Does a SoundToGlobalController introduce a 1-tick Capytalk delay?

+1 vote

Is there any kind of propagation delay between the Capytalk values in an STGC's Value parameter and its GeneratedEvent?


In this Flow I've got an STGC with
    Value: !Value
    GeneratedEvent: !GeneratedEvent

Constants containing !Value and !GeneratedEvent both feed in to a dual scope and looking at the scope trace there doesn't appear to be any delay between the two signals. 

However in this example I have an STGC which uses it's own GeneratedEvent in its Value field:

and in this example !GeneratedEvent counts up at the rate of 1000 hz, what you'd expect. 

So is it the case that STGCs don't introduce a 1-tick (1ms) delay but that the Value parameter is sample and held at the start of the Capytalk calculation?


The Sound

asked Mar 16, 2021 in Capytalk & Smalltalk by alan-jackson (Virtuoso) (15,840 points)

Please log in or register to answer this question.