<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sandboxpedal.com/index.php?action=history&amp;feed=atom&amp;title=Using_the_simulator_indicator_lamps</id>
	<title>Using the simulator indicator lamps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sandboxpedal.com/index.php?action=history&amp;feed=atom&amp;title=Using_the_simulator_indicator_lamps"/>
	<link rel="alternate" type="text/html" href="https://wiki.sandboxpedal.com/index.php?title=Using_the_simulator_indicator_lamps&amp;action=history"/>
	<updated>2026-09-18T22:08:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.sandboxpedal.com/index.php?title=Using_the_simulator_indicator_lamps&amp;diff=27&amp;oldid=prev</id>
		<title>Matthew at 01:14, 5 September 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.sandboxpedal.com/index.php?title=Using_the_simulator_indicator_lamps&amp;diff=27&amp;oldid=prev"/>
		<updated>2026-09-05T01:14:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:14, 5 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The simulator&amp;#039;s &amp;#039;&amp;#039;&amp;#039;Indicators&amp;#039;&amp;#039;&amp;#039; section has two lamps, &amp;#039;&amp;#039;&amp;#039;LED1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;LED2&amp;#039;&amp;#039;&amp;#039;, which&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The simulator&amp;#039;s &amp;#039;&amp;#039;&amp;#039;Indicators&amp;#039;&amp;#039;&amp;#039; section has two lamps, &amp;#039;&amp;#039;&amp;#039;LED1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;LED2&amp;#039;&amp;#039;&amp;#039;, which&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;follow the registers &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt; as your program runs. They&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;follow the registers &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt; as your program runs. They&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;give you a way to see a value you cannot hear — an envelope follower, a tempo, the state&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;give you a way to see a value you cannot hear &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;while you are developing &lt;/ins&gt;— an envelope&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;of a switch.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;follower, a tempo, the state of a switch.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== How brightness is worked out ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== How brightness is worked out ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The scale is linear on purpose. A program that wants a curve is two instructions from the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The scale is linear on purpose. A program that wants a curve is two instructions from the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;curve it wants.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;curve it wants.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;The FV-1 has no LEDs.&#039;&#039;&#039; The lamps exist in the simulator only — nothing lights up on&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the pedal when your program writes to &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt;. They are a&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;debugging aid for the time you spend writing code, not an output you can ship. A design&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that needs an indicator on the finished pedal needs one built into the hardware.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Lighting a lamp ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Lighting a lamp ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Matthew</name></author>
	</entry>
	<entry>
		<id>https://wiki.sandboxpedal.com/index.php?title=Using_the_simulator_indicator_lamps&amp;diff=21&amp;oldid=prev</id>
		<title>Matthew: Created page with &quot;The simulator&#039;s &#039;&#039;&#039;Indicators&#039;&#039;&#039; section has two lamps, &#039;&#039;&#039;LED1&#039;&#039;&#039; and &#039;&#039;&#039;LED2&#039;&#039;&#039;, which follow the registers &lt;code&gt;REG30&lt;/code&gt; and &lt;code&gt;REG31&lt;/code&gt; as your program runs. They give you a way to see a value you cannot hear — an envelope follower, a tempo, the state of a switch.  == How brightness is worked out ==  The lamp reads its register as S1.23:  * &#039;&#039;&#039;0&#039;&#039;&#039; is off. * &#039;&#039;&#039;1.0&#039;&#039;&#039; is full brightness. * A negative value is off. It is not rectified, so a bipolar signa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sandboxpedal.com/index.php?title=Using_the_simulator_indicator_lamps&amp;diff=21&amp;oldid=prev"/>
		<updated>2026-09-05T01:04:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The simulator&amp;#039;s &amp;#039;&amp;#039;&amp;#039;Indicators&amp;#039;&amp;#039;&amp;#039; section has two lamps, &amp;#039;&amp;#039;&amp;#039;LED1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;LED2&amp;#039;&amp;#039;&amp;#039;, which follow the registers &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt; as your program runs. They give you a way to see a value you cannot hear — an envelope follower, a tempo, the state of a switch.  == How brightness is worked out ==  The lamp reads its register as S1.23:  * &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039; is off. * &amp;#039;&amp;#039;&amp;#039;1.0&amp;#039;&amp;#039;&amp;#039; is full brightness. * A negative value is off. It is not rectified, so a bipolar signa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The simulator&amp;#039;s &amp;#039;&amp;#039;&amp;#039;Indicators&amp;#039;&amp;#039;&amp;#039; section has two lamps, &amp;#039;&amp;#039;&amp;#039;LED1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;LED2&amp;#039;&amp;#039;&amp;#039;, which&lt;br /&gt;
follow the registers &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt; as your program runs. They&lt;br /&gt;
give you a way to see a value you cannot hear — an envelope follower, a tempo, the state&lt;br /&gt;
of a switch.&lt;br /&gt;
&lt;br /&gt;
== How brightness is worked out ==&lt;br /&gt;
&lt;br /&gt;
The lamp reads its register as S1.23:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039; is off.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1.0&amp;#039;&amp;#039;&amp;#039; is full brightness.&lt;br /&gt;
* A negative value is off. It is not rectified, so a bipolar signal lights the lamp only&lt;br /&gt;
  on its positive half.&lt;br /&gt;
&lt;br /&gt;
The scale is linear on purpose. A program that wants a curve is two instructions from the&lt;br /&gt;
curve it wants.&lt;br /&gt;
&lt;br /&gt;
== Lighting a lamp ==&lt;br /&gt;
&lt;br /&gt;
Write the value you want to see into &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; #LED1 Rate&lt;br /&gt;
&lt;br /&gt;
skp     run, loop&lt;br /&gt;
wlds    sin0, 12, 32767&lt;br /&gt;
&lt;br /&gt;
loop:&lt;br /&gt;
cho     rdal, sin0      ; bipolar, -1 to +1&lt;br /&gt;
sof     0.5, 0.5        ; fold to 0..1 so the lamp follows the whole cycle&lt;br /&gt;
wrax    reg30, 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without the &amp;lt;code&amp;gt;sof 0.5, 0.5&amp;lt;/code&amp;gt; the lamp is dark for half of every LFO cycle.&lt;br /&gt;
&lt;br /&gt;
== Naming the lamps ==&lt;br /&gt;
&lt;br /&gt;
A comment tag renames a lamp in the panel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; #LED1 Tempo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tag is read from the comment part of the line, so it never collides with code. It is&lt;br /&gt;
the same mechanism that names the pots — see&lt;br /&gt;
[[Labelling pots and lamps in your source]].&lt;br /&gt;
&lt;br /&gt;
== A gotcha ==&lt;br /&gt;
&lt;br /&gt;
Nothing on the FV-1 reserves &amp;lt;code&amp;gt;REG30&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;REG31&amp;lt;/code&amp;gt;. A program that parks&lt;br /&gt;
scratch values there will light the lamps by accident. If a lamp flickers for no reason you&lt;br /&gt;
can explain, check whether those two registers are being used as general-purpose storage.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Using the FV-1 simulator]]&lt;br /&gt;
* [[Controlling the simulator with MIDI]]&lt;br /&gt;
&lt;br /&gt;
[[Category:How-to]]&lt;/div&gt;</summary>
		<author><name>Matthew</name></author>
	</entry>
</feed>