Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Basic Sound Synthesis | Web Audio Foundations with Tone JS
JavaScript Audio Creation with Tone.js

bookBasic Sound Synthesis

index.html

index.html

copy

When you generate a basic sound in Tone.js, you use an oscillator. An oscillator creates a repeating waveform, which you hear as a musical tone. The shape of this waveform strongly influences the sound's character. The most common oscillator waveforms are sine, square, triangle, and sawtooth.

A sine wave produces a smooth, pure tone. It contains only the fundamental frequency, making it sound mellow and clear. By contrast, a square wave alternates sharply between two levels, resulting in a hollow, woody sound with a strong presence of odd harmonics. A triangle wave has a shape between sine and square, producing a softer tone than square but brighter than sine, with fewer harmonics. The sawtooth wave ramps upward and drops sharply, giving it a buzzy, bright sound rich in both odd and even harmonics.

Each waveform gives you a unique timbre, or sound quality. Sine waves are often used for simple tones or soft basses, while sawtooth and square waves are popular in electronic music for their rich, edgy sounds. By choosing different oscillator types in Tone.js, you can create a wide range of musical textures.

question mark

Which oscillator waveform typically produces the purest tone with the fewest harmonics?

Select the correct answer

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

bookBasic Sound Synthesis

Scorri per mostrare il menu

index.html

index.html

copy

When you generate a basic sound in Tone.js, you use an oscillator. An oscillator creates a repeating waveform, which you hear as a musical tone. The shape of this waveform strongly influences the sound's character. The most common oscillator waveforms are sine, square, triangle, and sawtooth.

A sine wave produces a smooth, pure tone. It contains only the fundamental frequency, making it sound mellow and clear. By contrast, a square wave alternates sharply between two levels, resulting in a hollow, woody sound with a strong presence of odd harmonics. A triangle wave has a shape between sine and square, producing a softer tone than square but brighter than sine, with fewer harmonics. The sawtooth wave ramps upward and drops sharply, giving it a buzzy, bright sound rich in both odd and even harmonics.

Each waveform gives you a unique timbre, or sound quality. Sine waves are often used for simple tones or soft basses, while sawtooth and square waves are popular in electronic music for their rich, edgy sounds. By choosing different oscillator types in Tone.js, you can create a wide range of musical textures.

question mark

Which oscillator waveform typically produces the purest tone with the fewest harmonics?

Select the correct answer

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3
some-alt