Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 777 Bytes

music_python.md

File metadata and controls

36 lines (29 loc) · 777 Bytes

@flyoutOnly true

@hideIteration true

@explicitHints true

Compose the Music

hoc.drums(Drums.Medium)
hoc.add_instrument(Instrument.Xylophone)
hoc.add_instrument(Instrument.Guitar)
hoc.note(Note.Do)
hoc.note(Note.So)
hoc.note(Note.La)
hoc.note(Note.Fa)
hoc.add_instrument(Instrument.Bells)
hoc.note(Note.Do)
hoc.note(Note.So)
hoc.note(Note.La)
hoc.note(Note.Fa)
hoc.remove_instrument(Instrument.Bells)
hoc.note(Note.Do)

Create your own Music

The Agent needs help composing music for its show. Use the following functions to create music for the Agent.

||hoc:hoc.add_instrument()|| ||hoc:hoc.remove_instrument()|| ||hoc:hoc.note()|| ||hoc:hoc.drums()||

hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/music