# Sequence Generators

## Rndtone

Generates random sine waves.

{% file src="<https://2455084635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FklCVENFte0GRy5IqVz0W%2Fuploads%2FyJcgU7nXsllYw3Po6rzD%2Frndtone.ny?alt=media&token=e0c4c36e-3788-4960-b70e-623de68149e6>" %}
Download link
{% endfile %}

{% file src="<https://2455084635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FklCVENFte0GRy5IqVz0W%2Fuploads%2FJBYBT5SsCFdxz06XjlYh%2Frndtone.wav?alt=media&token=6588e00c-16ff-4e7b-8de0-45976f606710>" %}

<details>

<summary>Details</summary>

Author: Steven Jones.

Generates random sine waves. The generated tones have random frequencies, attack and decay times.

Parameters:

1. **Duration:** \[1 - 30 seconds, default 20]
2. **Density:** \[1 - 100 generated tones, default 60]
3. **Floor:** \[20 - 1000 Hz, default 300] - Lowest frequency of tones
4. **Ceiling:** \[20 - 1000 Hz, default 600] - Highest frequency of tones

</details>

## SQ1 Generator Sequencer

Algorithmic generator sequencer number 1.

{% file src="<https://2455084635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FklCVENFte0GRy5IqVz0W%2Fuploads%2Fv6EdZdxdlGXFHtvRdqcG%2Fsq1.ny?alt=media&token=ec1dfe04-39b7-427f-a571-4a6dff3b71fc>" %}
Download link
{% endfile %}

{% file src="<https://2455084635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FklCVENFte0GRy5IqVz0W%2Fuploads%2Flbfyum4hhSbmzOveJFJ9%2Fsq1_generator_sequencer.wav?alt=media&token=623a060e-5d3b-418a-81bc-062ddb8abfaf>" %}
SQ1 Generator Sequencer
{% endfile %}

<details>

<summary>Details</summary>

Author: Steven Jones.

Algorithmic generator sequencer number 1. Note also the [Audio Selection Sequencer 2](https://wiki.audacityteam.org/wiki/Nyquist_Effect_Plugins#Audio_Selection_Sequencer_2) on the [Effect Plugins page](https://wiki.audacityteam.org/wiki/Nyquist_Effect_Plugins) which sequences *pre-existing* audio samples. The sq1 sequencer generates complex sequences of tones by using the sum of three square-wave low frequency oscillators to frequency-modulate two oscillators. The oscillators output one of four waves (sine, tri, square and saw) and may be frequency adjusted relative to each other. The wave tables are not band-limited so [aliasing](http://en.wikipedia.org/wiki/Aliasing) will result for sufficiently high frequencies. There is also an overall three-stage amplitude envelope.

Parameters:

1. **Center:** \[0 - 10000 Hz, default 440] - the unmodulated carrier frequency
2. **Detune:** \[0.25 - 4.00, default 1.01] - the frequency of oscillator 2 relative to oscillator 1
3. **Wave:** \[0=sine, 1=tri (default), 2=square, 3=saw]. Wave shape for both oscillators
4. **Attack:** \[0 - 10 seconds, default 1]
5. **Sustain:** \[0 - 10 seconds, default 1]
6. **Decay:** \[0 - 10 seconds, default 1]
7. **f1:** Frequency of LFO 1
8. **a1:** Amplitude of LFO 1 - LFO amplitudes are calibrated in Hz indicating the corresponding frequency shift in the audio oscillators.
9. **f2:** Frequency of LFO 2
10. **a2:** Amplitude of LFO 2
11. **f3:** Frequency of LFO 3
12. **a3:** Amplitude of LFO 3

Note that the three LFOs are interchangeable.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plugins.audacityteam.org/nyquist-plugins/generator-plugins/sequence-generators.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
