Skip to content

Triangle Wave Generator

Generate a triangle wave tone.

Frequency (Hz)
Duration (seconds)
Output

No result

About Triangle Wave Generator

Triangle Wave Generator renders a triangle wave tone and returns it as a playable WAV data URL. It is the audio test signal with the softer, more musical character than a square or sawtooth, useful for checking speakers, tuning oscillators or generating a reference tone.

You set the frequency in hertz and the duration in seconds, and the tool synthesises the waveform at a 44100 sample rate with an amplitude of half the full scale. The output is a base64 data URL that the browser can play or download directly - a two-second tone produces a payload of roughly two hundred and thirty-five kilobytes.

The scope is deliberately minimal. Only the triangle shape is offered, since sine, square and sawtooth live in separate tools, and there is no volume control, no envelope and no frequency sweep - the result is a flat, continuous beep. The entire WAV is embedded as base64, so a long duration makes the output string very large.

How to use Triangle Wave Generator

  1. 1 Set the frequency in hertz, or leave the default of 440.
  2. 2 Set the duration in seconds, or leave the default of two.
  3. 3 Run the tool to play or download the resulting WAV data URL.

Frequently asked questions

What makes a triangle wave different?

It rises and falls in straight lines between peaks, giving a softer, more musical tone than a square wave, with weaker harmonics. This tool generates only the triangle shape.

Can I change the volume or shape?

No. The amplitude is fixed and the shape is always a triangle. There is no volume control, no envelope and no sweep, and the other waveforms live in separate tools.

Why is the output so long?

The entire WAV file is embedded as base64 in a data URL, and a longer duration means a larger file. A two-second tone is already over two hundred kilobytes.

What sample rate does it use?

44100 samples per second, the standard CD rate, which is enough for the tone to play back cleanly on any device.

Free, online, and private

Free to use

Triangle Wave Generator is completely free. There is no account to create, no login, and no hidden charge or usage limit.

Runs online in your browser

It is a free online tool that runs entirely in your browser. Nothing to download or install — open the page and start using it right away.

Your data stays private

All processing happens locally on your device. Your input is never uploaded, stored, or tracked, so it never leaves your browser.

How Triangle Wave Generator behaves in detail

These are the specifics of this implementation — the exact ranges, defaults and fixed settings you are working with.

Parameter Value
Input a Frequency field starting at 440 hertz and a Duration field starting at two seconds
Output a WAV data URL, base64 encoded, that can be played or downloaded
Waveform a triangle wave with an amplitude of half the full scale
Sample rate the audio is rendered at 44100 samples per second
Payload a two-second tone produces a data URL of roughly two hundred and thirty-five kilobytes
Default with the defaults it generates a two-second 440 hertz triangle tone

Compiled from the implementation of this tool and checked against it by itoolnet.

What Triangle Wave Generator does not do

Knowing the edges of a tool saves more time than another list of its features. These are the cases where it will not do what you might expect.

  • Only the triangle waveform is offered. Sine, square and sawtooth are separate tools, so changing the wave shape means switching to a different page rather than a dropdown on this one.
  • The tone is plain and unmodulated. There is no volume or amplitude control, no attack or release envelope, no frequency sweep and no stereo, so the result is a flat continuous beep.
  • The entire WAV is embedded as base64 in the output, which grows with the duration. A long tone produces a very large string, and there is no direct file download - the data URL must be handled by the browser.

Tested and documented by itoolnet, the team that builds and maintains this site.

Share & embed this tool

Writing a guide or article? You are welcome to link to Triangle Wave Generator with the snippet below. It is free, runs entirely in your browser, and needs no signup.