StartDelay - Configure multiple events with different delay times in a single action.

StartDelay
Configure multiple events with different delay times in a single action.
It also configures time intervals that are triggered with an id and a counter.

GIF_20250311_010958_116

When you play the guitar one sound starts before another.
With this extension you can make it sound like that.

DelayMillis


TimerEnabled

Enables or disables the timer.

  • true to enable it, false to disable it.

StartTimer


TimerExpired


Update v1.0.1 Mar 11, 2025.

  • Functions now accept lists in their parameters to avoid using more than 3 blocks, since each id and value will be in a list.

  • Another function has been added to set time intervals and an event that is triggered with id and counter.


Interval

Set intervals in milliseconds.


IntervalTriggered

component_event (38)


aiaProject:
StartDelay.aia (13.3 KB)

Extension v1.0.1
joejsanz.joedevstartdelay.aix (7.9 KB)


minSdk: 21
maxSdk: 34
JDK: 11

Built using: FAST-CLI v2.6.0


Thanks.

Github

6 Likes

Is this really just a wrapper for a clock timer ?

In essence, yes.

1 Like

We are getting close to "writing music", but perhaps using a timer will get complicated....Maybe silent sounds of different lengths to go either before or after the note ?

  • actual note frequency
  • actual note length
  • silence note
  • silence length
  • repeat for next actual note

?

or join the actual note and the silence note together ?

2 Likes

Silence tone is interesting, I'll take a look at it.

I left out amplitude (volume)

1 Like

I've done the silence note on startup thing and it's great, similar to how I implemented it with the timer but better, thanks Tim.

  • I'll look into the Volume Amplitude thing when I get back to the computer.

I have a question, what do you mean by this?

Just when writing more than one note, to move onto the next note using the same approach.

Interested if possible to have all these parameters in one block ...

Tone
 -- frequency (Hz)
 -- duration (ms)
 -- volume (0-100)
[ -- silence (ms) ] - optional ?

One could always make a silence by setting Tone volume to 0

1 Like

Update v1.0.1 Mar 11, 2025.

1 Like

I have wanted to create an app like this for a long time.

1 Like