NetLogo banner

Home
Download
Help
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo Models Library:
Code Examples/Extensions Examples/sound

(back to the library)

Musical Phrase Example

[screen shot]

Note: If you download the NetLogo application, every model in the Models Library is included.

WHAT IS IT?

This code example shows how sound:play-note-later can be used to play a musical phrase without using sound:start-note and sound:stop-note. This allows the model to continue running while the musical phrase plays.

HOW IT WORKS

The model uses sound:play-note-later with an increasing delay value to construct the musical phrase.

RELATED MODELS

  • Composer
  • Sound Workbench

(back to the NetLogo Models Library)