• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Advertise
  • Subscribe

Test & Measurement Tips

Oscilloscopes, electronics engineering industry news, how-to EE articles and electronics resources

  • Oscilloscopes
    • Analog Oscilloscope
    • Digital Oscilloscope
    • Handheld Oscilloscope
    • Mixed-signal Oscilloscope
    • PC-based Oscilloscopes – PCO
  • Design
  • Calibration
  • Meters & Testers
  • Test Equipment
  • Learn
    • eBooks/Tech Tips
    • FAQs
    • EE Training Days
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Video
    • EE Videos
    • Teardown Videos
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • Leap Awards
    • White Papers
  • Subscribe
You are here: Home / FAQ / Music synthesis and arbitrary waveform generators

Music synthesis and arbitrary waveform generators

October 1, 2021 By David Herres Leave a Comment

A pure musical note from a tuning fork is a basic sine wave. The same note played on a trumpet will look like a saw-tooth wave when displayed on an oscilloscope. The same note from a flute will be a triangular wave. But the same note from a clarinet may appear to be closer to a square wave.

Clearly, a musical instrument doesn’t just produce a single single pitch (frequency). It’s sound waves typically consist of a fundamental frequency or first harmonic and many higher harmonics or overtones.

But it isn’t just wave shape and harmonics that give different instruments different sounds. Also important is how their sound waves change in amplitude (volume) over time.

AWG block diagram
The block diagram of arbitrary waveform generators have a lot in common with the block diagram of digital music synthesizers. Where the external reference and trigger inputs to an AWG might come from another lab instrument, a keyboard would be more likely to produce these inputs for the synthesizer.

For example, press a piano key and sound first rises quickly (or attacks) to its maximum amplitude. Then the sound gradually diminishes (decays) to a constant amplitude (sustains). Finally, the sound gradually drops (releases) when the piano player stops pressing the key. On a piano, the attack is relatively slow and the sustain can be lengthy because the notes take a long time to die away. In contrast, a flute’s attack phase is quicker and sharper. There is little decay, and the sustain continues for as long as the flautist keeps blowing. The release is also fast.

All in all, the changing sound volume greatly helps one instrument sound different from another. The pattern of attack, decay, sustain, and release is often referred to as the ADSR envelope shape.

synthesizer
The block diagram of a digital synthesizer isn’t particularly illuminating when it comes to principles of operation. So the usual practice is to show the functional blocks of a typical analog synthesizer for purposes of illustration.

Clearly, the frequency and harmonics an instrument generates, as well as its ADSR shape, are all factors that can be programmed into arbitrary waveform generators. They are also the raw materials for music synthesizers. Thus music synthesizers can be viewed as specialized AWGs optimized for generating sounds.

ADSRsThe first music synthesizers were, of course, analog. When they emerged in the 1960s, the basic approach was to employ an oscillator with the correct waveform to produce a fundamental frequency and harmonics, then use filtering in later stages and amplification to produce different ADSR envelopes. The more oscillators and filters the synthesizer contained, the more sophisticated were the sounds it could produce. Tuning largely took place via potentiometers and slide switches that adjusted oscillator and filter values. Patch cords routed signals between different oscillators and filters.

The presence of oscillators and filters that produce the sounds of specific instruments offers the opportunity to mix and match filters and oscillators to create sounds never produced by a real instrument. For example, putting a square wave normally produced by an organ through the ADSR values of a traditional piano likely produces sounds unlike those of either instrument.

Besides oscillators generating the fundamental wave shape, synthesizers also typically contain another independent oscillator known as an LFO (low-frequency oscillator). The LFO can be used to modulate the primary oscillators, filters, and amplifiers. For example, applying the LFO to the original oscillator can make the frequency of the sound wobble (a vibrato effect). Applying the LFO to the volume gives what’s called a tremelo effect.

A special kind of synthesizer is called a sampler. It accepts a recorded sound and then allows the operators to manipulate it in various ways by changing the sound settings. The classic application for samplers is in the recording industry where they are used to adjust notes sung by singers that are slightly off key.

On the block diagram level, modern synthesizers look a lot like AWGs. But where an AWG has a trigger input to start the waveform, the synthesizer more typically has an output from a keyboard to start things off. Finally, one major difference between lab AWGs and synthesizers is the synthesizer’s use a standard way of connecting to a PC known as MIDI (Musical Instrument Digital Interface).

You may also like:

  • dolby shaping
    Audio measurements and Dolby, dbx noise reduction
  • QAM
    Basics of QAM reception and its measurement
  • phase distortion
    Difference between phase distortion, phase modulation, and frequency modulation

  • Understanding instrumentation for measuring total harmonic distortion

  • Basics of harmonics

Filed Under: arbitrary waveform generators, FAQ, Featured, New Articles, Test Equipment Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Featured Contributions

Why engineers need IC ESD and TLP data

Verify, test, and troubleshoot 5G Wi-Fi FWA gateways

How to build and manage a top-notch test team

How to use remote sensing for DC programmable power supplies

The factors of accurate measurements

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE TRAINING CENTER

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“test
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.
“bills

RSS Current EDABoard.com discussions

  • Why need use TOPmetal Stacking?
  • Monte-Carlo simulation error on ADE-XL
  • Snooping Around is All
  • Identification of a 6 pin smd chip (sto-23-6) marked E2
  • Dynacord enter protect

RSS Current Electro-Tech-Online.com Discussions

  • Does US electric code allow branching ?
  • Fun with AI and swordfish basic
  • using a RTC in SF basic
  • Faulty heat air gun (dc motor) - problem to locate fault due to Intermittent fault
  • Sump pit water alarm - Kicad 9
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Footer

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy