You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.8KB

  1. This is eguitar by Gary Scavone, McGill University, 2012.
  2. This is a program to create a simple electric guitar model using
  3. the STK Guitar class. The is model is derived in part from an
  4. implementation made by Nicholas Donaldson at McGill University in
  5. 2009. The distortion model is poor, using a simple soft-clipping
  6. expression provided by Charles R. Sullivan in "Extending the
  7. Karplus-String Algorithm to Synthesize Electric Guitar Timbres with
  8. Distortion and Feedback," Computer Music Journal, Vol.14 No.3, Fall
  9. 1990. Other distortion models would be better, such as that found
  10. in Pakarinen and Yeh's "A Review of Digital Techniques for Modeling
  11. Vacuum-Tube Guitar Amplifiers," Computer Music Journal, Vol 33
  12. No. 2, Summer 2009.
  13. This program performs simple voice management if all noteOn and
  14. noteOff events are on channel 0. Otherwise, channel values > 0 are
  15. mapped to specific string numbers. By default, the program creates
  16. a 6-string guitar. If the normalized noteOn() velocity is < 0.2, a
  17. string is undamped but not plucked (this is implemented in the
  18. stk::Guitar class). Thus, you can lightly depress a key on a MIDI
  19. keyboard and then experiment with string coupling.
  20. The Tcl/Tk GUI allows you to experiment with various parameter
  21. settings and that can be used in conjunction with a MIDI keyboard
  22. as: wish < tcl/EGuitar.tcl | ./eguitar -or -ip -im 1
  23. For the moment, this program does not support pitch bends.
  24. In the eguitar directory, type:
  25. > make
  26. to compile and then
  27. > ElectricGuitar.bat
  28. to run the program with the Tcl/Tk GUI.
  29. There are many improvements that could be made to this project. In
  30. particular, you could record real body responses from different
  31. guitars and use those with the Guitar class. As well, you could
  32. improve the distortion model and perhaps add some typical electric
  33. guitar effects, such as an echo. If you find any bugs, please let me
  34. know!