Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Chapters

Chapter Contents:

Search Physical Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

MIDI Control of an EKS Patch in PD

As detailed in the Faust intro [464], we create an 8-voiced MIDI synthesizer for pd as follows:

  faust -xml -a puredata.cpp -o eks_pd.cpp eks.dsp
  g++ -DPD -Wall -g -shared -Dmydsp=eks -o eks~.pd_linux eks_pd.cpp
  faust2pd -s eks.dsp.xml
The last line produces eks_pd.pd which can be loaded into pd. In addition to the basic three MIDI-control parameters (gate, freq, and gain), we have the following additional parameters that are brought out as sliders in pd:
  • Brightness
  • Decay time ($ t_{60}$)
  • Dynamic level
  • Pick position
  • Pick angle (or direction)
Finally, there are some simply computed parameters associated purely with panning the output sound into the stereo field:
  • Panning angle
  • Spatial width
See Fig.D.10 and Fig.D.11 for details.


Order a Hardcopy of Physical Audio Signal Processing

Previous: EKS Faust Listing
Next: Generality of the EKS Algorithm

written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.


Comments


No comments yet for this page


Add a Comment
You need to login before you can post a comment (best way to prevent spam). (