EnglishFrenchSpanish

OnWorks favicon

ny - Online in the Cloud

Run ny in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ny that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


Nyquist - A computer programming language for software sound synthesis
and music composition

SYNOPSIS


ny [OPTIONS]

DESCRIPTION


Nyquist is a language designed for digital sound synthesis and
computer-assisted music composition. It is based upon the XLISP
implementation of the LISP programming language. Nyquist is similar to
other software synthesis languages such as Csound and cmusic. Like
programs written in those languages Nyquist programs invoke and arrange
various audio synthesis functions which are employed by musically
useful algorithms and control structures, but instrument design and
scoring syntax are completely integrated in Nyquist.

Example:
;; Make and play a sound

(play (osc 60))

This one-line program will call a Nyquist oscillator function to
create a default sine wave with a default amplitude of 1.0
(normalized) and a pitch value of 60 (MIDI note number for
middle C). The output from the oscillator is then sent to the
system sound hardware for realtime play starting at the default
delta-time of 0 and lasting for a default duration of 1 second.

Example:
;; Create an instrument, play a scale with it

(defun note (pitch dur)
(osc pitch dur *table*))

(play (seq (note c4 i)
(note d4 i)
(note e4 i)
(note f4 i)
(note g4 i)
(note a4 i)
(note b4 i)
(note c5 q)))

This program first defines a note function that receives two
parameters, pitch and dur (duration), and sends them to an
oscillator. The oscillator applies the given pitch and duration
to the waveform defined in the *table* global variable. The
default waveform is a sine with an amplitude of 1.

The seq function then sends a sequence of note statements to the
play function for realtime audio output. In this example the
pitch is indicated in a note-name/octave pair. Duration is
expressed in symbols for conventional musical rhythmic units,
i.e., i stands for an eighth note (quaver) and q stands for a
quarter note (crotchet).

Nyquist programs may be entered line by line at the program
prompt or they can be saved and loaded as files.

OPTIONS


-l filename.lsp
Load a Nyquist program file, typically (but not necessarily)
with an extension of .lsp.

Use ny online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    formkiq-core
    formkiq-core
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday
    Blackfriday
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 5
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 6
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • More »

Linux commands

Ad