diff --git a/opcodes/elapsedcycles.xml b/opcodes/elapsedcycles.xml
new file mode 100644
index 0000000000..de9b9fba2c
--- /dev/null
+++ b/opcodes/elapsedcycles.xml
@@ -0,0 +1,84 @@
+
+
+elapsedcycles
+ Instrument Control:Time Reading
+
+ elapsedcycles
+
+
+
+ elapsedcycles
+
+ Read absolute time in k-rate cycles.
+
+
+
+
+ Description
+
+ Read absolute time, in k-rate cycles, since the start of the performance.
+
+
+
+
+ Syntax
+ ires elapsedcycles
+
+ kres elapsedcycles
+
+
+
+ Performance
+
+ elapsedcycles is for time in k-rate cycles. So with:
+
+
+
+ sr= 44100
+ kr= 6300
+ ksmps= 7
+
+
+ then after half a second, the elapsedcycles opcode
+ would report 3150. It will always report an integer.
+
+
+
+ elapsedcycles can produce a k-rate variable for
+ output. There are no input parameters.
+
+
+
+ elapsedcycles can also operate only at the start of
+ the instance of the instrument. It produces an i-rate variable (starting
+ with i or gi) as its output.
+
+
+
+
+ elapsedcycles acts like
+ timek but it
+ returns the correct values instead of being one cycle late.
+
+
+
+
+
+ See Also
+
+ eventcycles,
+ eventtime,
+ elapsedtime.
+
+
+
+
+ Credits
+
+
+ Author: &nameeduardo;
+ August 2022
+
+
+
+
diff --git a/opcodes/elapsedtime.xml b/opcodes/elapsedtime.xml
new file mode 100644
index 0000000000..7e9ee3adfa
--- /dev/null
+++ b/opcodes/elapsedtime.xml
@@ -0,0 +1,75 @@
+
+
+elapsedtime
+ Instrument Control:Time Reading
+
+ elapsedtime
+
+
+
+ elapsedtime
+
+ Read absolute time in seconds.
+
+
+
+
+ Description
+
+ Read absolute time, in seconds, since the start of the performance.
+
+
+
+
+ Syntax
+ ires elapsedtime
+
+ kres elapsedtime
+
+
+
+ Performance
+
+ Time in seconds is available with elapsedtime. This
+ would return 0.5 after half a second.
+
+
+
+ elapsedtime can both produce a k-rate variable for
+ output. There are no input parameters.
+
+
+
+ elapsedtime can also operate at the start of the
+ instance of the instrument. It produces an i-rate variable (starting with
+ i or gi) as its output.
+
+
+
+
+ elapsedtime acts like
+ times but it
+ returns the correct values instead of being one cycle late.
+
+
+
+
+
+ See Also
+
+ eventcycles,
+ eventtime,
+ elapsedcycles.
+
+
+
+
+ Credits
+
+
+ Author: &nameeduardo;
+ August 2022
+
+
+
+
diff --git a/opcodes/eventcycles.xml b/opcodes/eventcycles.xml
new file mode 100644
index 0000000000..2e8e101c9c
--- /dev/null
+++ b/opcodes/eventcycles.xml
@@ -0,0 +1,86 @@
+
+
+eventcycles
+ Instrument Control:Time Reading
+
+ eventcycles
+
+
+
+ eventcycles
+
+ Read absolute time in k-rate cycles.
+
+
+
+
+ Description
+
+ Read absolute time, in k-rate cycles, since the start of an
+ instance of an instrument. Called at both i-time as well as
+ k-time. NB: the returned value at k-time starts at 1
+
+
+
+
+ Syntax
+ kres eventcycles
+
+
+
+ Performance
+
+ eventcycles is for time in k-rate cycles. So with:
+
+
+
+ sr= 44100
+ kr= 6300
+ ksmps= 7
+
+
+ then after half a second, the eventcycles opcode would
+ report 3150. It will always report an integer.
+
+
+
+ eventcycles produces a k-rate variable for output.
+ There are no input parameters.
+
+
+
+ eventcycles is similar to
+ elapsedcycles
+ except it returns the time since the start of this instance of the
+ instrument.
+
+
+
+
+ eventcycles acts like
+ timeinstk but it
+ returns the correct values instead of being one cycle late.
+
+
+
+
+
+ See Also
+
+ eventtime,
+ elapsedcycles,
+ elapsedtime,
+ lastcycle.
+
+
+
+
+ Credits
+
+
+ Author: &nameeduardo;
+ August 2022
+
+
+
+
diff --git a/opcodes/eventtime.xml b/opcodes/eventtime.xml
new file mode 100644
index 0000000000..e61805a22e
--- /dev/null
+++ b/opcodes/eventtime.xml
@@ -0,0 +1,74 @@
+
+
+eventtime
+ Instrument Control:Time Reading
+
+ eventtime
+
+
+
+ eventtime
+
+ Read absolute time in seconds.
+
+
+
+
+ Description
+
+ Read absolute time, in seconds, since the start of an instance of an instrument.
+
+
+
+
+ Syntax
+ kres eventtime
+
+
+
+ Performance
+
+ Time in seconds is available with eventtime. This
+ would return 0.5 after half a second.
+
+
+
+ eventtime produces a k-rate variable for output.
+ There are no input parameters.
+
+
+
+ eventtime is similar to
+ elapsedtime
+ except it returns the time since the start of this instance of the
+ instrument.
+
+
+
+
+ eventtime acts like
+ timeinsts but it
+ returns the correct values instead of being one cycle late.
+
+
+
+
+
+ See Also
+
+ timeinsts,
+ elapsedcycles,
+ elapsedtime.
+
+
+
+
+ Credits
+
+
+ Author: &nameeduardo;
+ August 2022
+
+
+
+