Play Trumpet Online
Play a virtual trumpet in your browser โ no instrument needed. Tap the keys or use your keyboard to play notes across the full Bb trumpet range. Toggle reverb, straight mute and vibrato. The valve display shows exactly which valves a real player would press for each note.
๐ป Keyboard: W E R T Y U I O upper ยท A S D F G H J K L lower ยท 1 reverb ยท 2 mute ยท 3 vibrato ยท โโ octave
Screen Recording
Record your performance and download it as a WebM video.
Ready to record screen.
Frequently Asked Questions
How does a real trumpet work?
A trumpet produces sound when the player buzzes their lips into the mouthpiece. Lip tension selects which harmonic partial you play โ tighter lips produce higher notes. The three valves redirect air through extra lengths of tubing, lowering pitch by 1, 2 or 3 semitones (or combinations). Together, lip tension and valve combinations cover every chromatic note from Bb3 to C6.
What do the valve combination dots mean?
Each note you play shows which valves a real trumpet player would press. Valve 1 lowers pitch by 2 semitones, Valve 2 by 1 semitone, Valve 3 by 3 semitones. Combinations add โ pressing 1+2+3 lowers by 6 semitones total.
What does the Mute toggle do?
Activating Mute simulates a straight mute โ a physical cone placed inside the bell that dampens high frequencies and gives a focused, nasal tone. Real trumpeters use several mute types; this models the straight mute.
What is the Brightness slider?
Brightness sweeps the bell formant filter โ darker at the low end, brighter and more piercing at the high end. On a real trumpet, louder playing with more air pressure naturally brightens the tone.
Can I use a computer keyboard to play?
Yes โ W E R T Y U I O plays Bb3 โ Bb4, A S D F G H J K L plays C5 โ C6. โ โ shift the whole keyboard by an octave. 1 = reverb, 2 = mute, 3 = vibrato.
Why does the sound use synthesis, not samples?
This virtual trumpet uses Web Audio API synthesis โ sawtooth oscillator shaped by a waveshaper and bell formant filter โ so there are no audio files to download. It loads instantly on any device and works offline. A sample-based version is planned.
Note & Valve Combination Chart
Standard Bb trumpet fingering โ open position (no octave shift).
| Key | Note | Freq (Hz) | Valve 1 | Valve 2 | Valve 3 |
|---|---|---|---|---|---|
| Z | Bb3 | 233 | โ | โ | โ |
| X | C4 | 262 | โ | โ | โ |
| C | D4 | 294 | โ | โ | โ |
| V | E4 | 330 | โ | โ | โ |
| B | F4 | 349 | โ | โ | โ |
| N | G4 | 392 | โ | โ | โ |
| M | A4 | 440 | โ | โ | โ |
| A | Bb4 | 466 | โ | โ | โ |
| S | C5 | 523 | โ | โ | โ |
| D | D5 | 587 | โ | โ | โ |
| F | Eb5 | 622 | โ | โ | โ |
| G | F5 | 698 | โ | โ | โ |
| H | G5 | 784 | โ | โ | โ |
| J | A5 | 880 | โ | โ | โ |
| K | Bb5 | 932 | โ | โ | โ |
| L | C6 | 1047 | โ | โ | โ |
โ = valve pressed โ = valve open. Octave shift moves all notes ยฑ1 octave.
References & Notes
- Standard Bb trumpet range: Bb3 to C6 (concert pitch)
- Valve combinations follow standard fingering charts (open = 0 st, valve 1 = โ2 st, valve 2 = โ1 st, valve 3 = โ3 st)
- Audio synthesis via Web Audio API โ sawtooth oscillator + WaveShaper + bandpass bell filter + tongue-attack noise burst
- Mute simulation: lowpass filter at 900 Hz with Q = 3.5 (models straight mute timbre)
- Vibrato: 5.5 Hz LFO fading in after 300 ms (models diaphragm vibrato)
This is a simulation tool for learning and entertainment.