Skip to content Skip to navigation

Connexions

You are here: Home » Content » [ mini-project ] Chowning FM Synthesis Instruments

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...

In these lenses

  • NI Signal Processing

    This module is included inLens: Digital Signal Processing with NI LabVIEW and the National Instruments Platform
    By: Sam ShearmanAs a part of collection:"Musical Signal Processing with LabVIEW (All Modules)"

    Comments:

    "This online course covers signal processing concepts using music and audio to keep the subject relevant and interesting. Written by Prof. Ed Doering from the Rose-Hulman Institute of Technology, […]"

    Click the "NI Signal Processing" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

[ mini-project ] Chowning FM Synthesis Instruments

Module by: Ed Doering

Summary: Implement several different Chowning FM instruments (bell, wood drum, brass, clarinet, and bassoon) and compare them to the sounds of physical instruments. Develop code to model the Chowning algorithms as LabVIEW "virtual musical instruments" (VMIs) to be "played" by a MIDI file within MIDI JamSession.

LabVIEWq.png This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the LabVIEW QuickStart Guide module for tutorials and documentation that will help you:
• Apply LabVIEW to Audio Signal Processing
• Get started with LabVIEW
• Obtain a fully-functional evaluation edition of LabVIEW

Objective

FM synthesis creates rich spectra from only two sinusoidal oscillators, and is able to emulate the sound of many physical musical instruments. John Chowning's seminal publication on audio-range frequency modulation (FM) in 1973 describes a number of different orchestral instruments such as woodwinds, brass, and percussion that can be created merely by adjusting a few basic parameters of the basic FM equation.

In this mini-project, implement several different Chowning FM instruments and compare them to the sounds of physical instruments. Also develop code to model the Chowning algorithms as LabVIEW virtual musical instruments (VMIs) to be "played" by a MIDI file within MIDI JamSession.

Prerequisite Modules

If you have not done so already, please study the prerequisite modules FM Mathematics and Chowning FM Synthesis Instruments in LabVIEW. If you are relatively new to LabVIEW, consider taking the course LabVIEW Techniques for Audio Signal Processing which provides the foundation you need to complete this mini-project activity, including working with arrays, creating subVIs, playing an array to the soundcard, and saving an array as a .wav sound file.

Deliverables

  • All LabVIEW code that you develop (block diagrams and front panels)
  • All generated sounds in .wav format
  • Any plots or diagrams requested
  • Summary write-up of your results

Part 1: Chowning FM Instruments

Chowning FM Synthesis Instruments in LabVIEW provides the specifications for a generic FM synthesis instrument, parameters for a number of different instruments, and a screencast video that walks through the complete process to implement the Chowning clarinet in LabVIEW. Refer to the PDF document in that module that contains the parameters for the remaining instruments: bell, wood-drum, brass, and bassoon. Create your own LabVIEW implementation of each of these four instruments (the clarinet VI is available in that module, as well).

Save a representative sound from each of the five Chowning instruments to a .wav file.

Note:

Consider using an audio editor such as Audacity to merge the individual .wav files into a single .wav file that you submit as your deliverable. You can also add your own voice annotation to explain your work.

Part 2: Comparison with Physical Instruments

Visit the Musical Instrument Samples database created by the Electronic Music Studios of the University of Iowa at http://theremin.music.uiowa.edu/MIS.html. These recordings of actual instruments were made inside an anechoic chamber to eliminate reflections and other artifacts, so the spectra of the instruments are as accurate as possible. The files are stored in AIFF format; use an audio editor such as Audacity to import the AIFF format. Audacity also includes a tool to view the spectra of the soundfile.

Compare and contrast the FM sounds you created for brass, clarinet, and bassoon to those of the real instruments. Consider time-domain envelope shape and spectrogram patterns.

Part 3: Chowning VMIs for MIDI JamSession

In this part, convert each of the five Chowning instruments you implemented in Part 1 into its own virtual musical instrument (VMI for short) that can be played by "MIDI JamSession." If necessary, visit MIDI JamSession, download the application VI .zip file, and view the screencast video in that module to learn more about the application and how to create your own VMI. Your VMI will accept parameters that specify frequency, amplitude, and duration of a single note, and will produce a corresponding array of audio samples.

You may wish to keep all of your existing front-panel controls available so that you can listen to your VMI during development. Adjust the parameters to obtain pleasing and realistic settings, and convert the front-panel controls to constants and remove all indicators. Your finished VMI must not contain any front-panel controls or indicators beyond those provided in the prototype instrument.

Finally, choose a suitable MIDI file and use MIDI JamSession to play your FM VMIs. MIDI files that contain multiple channels are ideal, because you can individually assign each of your five VMIs to a different instrument.

Create a .wav file of your finished work.

Important:

MIDI percussion events are found on Channel 10, a reasonable place to use your wood-drum instrument. Be aware that the "frequency" value produced by the prototype VMI derives directly from the "note number" value of the MIDI "Note On" messages in the file. On Channel 10, the note number selects from a palette of different percussion instruments as defined in the General MIDI Sound Set (http://www.midi.org/about-midi/gm/gm1sound.shtml), so interpreting the value as frequency is meaningless. You can either set up your wood-drum to produce the same waveform independent of the frequency parameter, or you can devise a scheme to translate the note number into useful parameter change for your instruments.

Comments, questions, feedback, criticisms?

Send feedback