home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / music / 5312 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!uknet!news.cs.bham.ac.uk!bham!ibm3090.bham.ac.uk!DOWRJ
  2. From: DOWRJ@UK.AC.BHAM.IBM3090
  3. Newsgroups: comp.music
  4. Subject: Re: info? on generative grammar implementation
  5. Message-ID: <922222092219@ibm3090.bham.ac.uk>
  6. Date: 22 Nov 92 09:22:19 GMT
  7. References: <1992Nov12.185513.1@hamp.hampshire.edu>
  8. Sender: usenet@rs6000.bham.ac.uk (USENET News Service)
  9. Organization: The University of Birmingham, United Kingdom
  10. Lines: 26
  11.  
  12. >I'm attempting to write a computer composition program in C that utilizes
  13. >generative grammars to write music. I found a good generative grammar, but I'm
  14. >not sure how to implement it. Could anyone spare advice and/or source code on
  15. >how to go about this. And please spare any comments on whether or not computers
  16. >can actually write music, and "is it art?" I've read most of the writings of
  17. >Steven Holtzman, who has done extensive work in generative systems using
  18. >grammars.
  19. >
  20. >Thanks in advance.
  21. >
  22. >
  23. >
  24. >
  25. >--
  26. >Adam Alpern            * "All that is gold does not glitter, not all  *AAlpern@hamp.hampshire.edu    * those who wander are lost." - JRR Tolkien    *                * "When I look in the mirror I see the days to *                * come
  27. >------------------------------------------------------------------------------
  28.  
  29. Have you thought of using a more appropriate language such as PROLOG to
  30. implement the grammar. This would be easier than grundging around in 'C',
  31. though a bit of a nusiance if you then wanted to do something (MIDI) with the
  32. data. But you could have PROLOG as as the generative part of a two part
  33. program (well - I have tried a few experiments with this). If you like I can
  34. send you a simple RTN grammar in prolog, the program generating random
  35. sentances using this and a lexicon.
  36.  
  37. Robert Dow        DOWRJ@ibm3090.bham.ac.uk      University of Birmingham
  38.