Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Creating Chords and Harmony | Creating Music with Code
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Audio Creation with Tone.js

bookCreating Chords and Harmony

index.html

index.html

copy

To create rich, layered sounds in music, you often combine several notes played at the same time. This is the foundation of chords and harmony. A chord is a group of notes, typically three or more, played together to produce a harmonious sound. For example, a C major chord consists of the notes C, E, and G. When these notes are played simultaneously, you hear the full, pleasing sound of the chord rather than just individual notes.

In digital music production, playing several notes at once is called polyphony. In Tone.js, the PolySynth instrument makes polyphony easy. While a regular synthesizer (Synth) can only play one note at a time, PolySynth manages multiple synthesizer voices so you can trigger several notes together. This means you can play full chords, complex harmonies, or even layer melodies and bass notes for a richer musical texture.

When you use PolySynth, you specify the notes you want to play as an array, and Tone.js handles triggering each note on its own synthesizer voice. This allows you to experiment with different chord shapes, progressions, and harmonic ideas, opening up a world of musical possibilities in your browser.

question mark

What does 'polyphony' mean in the context of Tone.js PolySynth?

Select the correct answer

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

bookCreating Chords and Harmony

Svep för att visa menyn

index.html

index.html

copy

To create rich, layered sounds in music, you often combine several notes played at the same time. This is the foundation of chords and harmony. A chord is a group of notes, typically three or more, played together to produce a harmonious sound. For example, a C major chord consists of the notes C, E, and G. When these notes are played simultaneously, you hear the full, pleasing sound of the chord rather than just individual notes.

In digital music production, playing several notes at once is called polyphony. In Tone.js, the PolySynth instrument makes polyphony easy. While a regular synthesizer (Synth) can only play one note at a time, PolySynth manages multiple synthesizer voices so you can trigger several notes together. This means you can play full chords, complex harmonies, or even layer melodies and bass notes for a richer musical texture.

When you use PolySynth, you specify the notes you want to play as an array, and Tone.js handles triggering each note on its own synthesizer voice. This allows you to experiment with different chord shapes, progressions, and harmonic ideas, opening up a world of musical possibilities in your browser.

question mark

What does 'polyphony' mean in the context of Tone.js PolySynth?

Select the correct answer

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2
some-alt