muzgen/doc/guide/directives.rst

25 lines
407 B
ReStructuredText
Raw Normal View History

==========
Directives
==========
A directive is a way to specify behaviors that are not directly
related to signal manipulations.
@out
----
The ``@out`` signal uses the default audio output device to play a
given signal. For instance:
.. code-block::
# doesnt make sound
[sine 230 1]
does nothing. To hear our sine we have to use ``@out``.
.. code-block::
# make sound
@out [sine 230 1]