test.orc 260 B

12345678910111213141516171819
  1. /* gen10.orc */
  2. ; Initialize the global variables.
  3. sr = 44100
  4. kr = 4410
  5. ksmps = 10
  6. nchnls = 1
  7. ; Instrument #1.
  8. instr 1
  9. kamp = 30000
  10. kcps = 440
  11. ifn = 1
  12. ; Play the sine wave stored in Table #1.
  13. a1 oscil kamp, kcps, ifn
  14. out a1
  15. endin
  16. /* gen10.orc */