takt 0.309 (new formula)

Takt is a text-based music programming language designed by Satoshi
Nishimura. It has the following features:

* It allows a concise description of note and chord sequences like
  `c d [e g]`.

* Expressive information such as dynamics or tempo rubato can be added
  to such note/chord sequences.

* It provides rich programming features including object-oriented
  support with C-like syntax. Such features enable seamless fusion of
  note-by-note description and algorithmic composition.

* Music transformation (such as transposition) can be applied to
  musical phrases described with the above means. Many predefined
  transformation modules are available; in addition; users can develop
  their own transformation modules with the language. Transformations
  can also be applied to standard MIDI files or events from a MIDI
  input device in a reactive way.

(above lines were taken from the Takt website)

Closes Homebrew/homebrew#43659.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
MARUI Atsushi 2015-09-05 18:23:08 +09:00 committed by Mike McQuaid
parent 5fe5093b67
commit c18ab32a09

17
Formula/takt.rb Normal file
View file

@ -0,0 +1,17 @@
class Takt < Formula
desc "text-based music programming language"
homepage "http://takt.sourceforge.net"
url "https://downloads.sourceforge.net/project/takt/takt-0.309-src.tar.gz"
sha256 "44fca667d610fba15deb441dd44e5b87dabbe5619d7fa8a13f5c8c1f054dd509"
depends_on "readline"
def install
system "./configure", "--prefix=#{prefix}", "--with-lispdir=#{share}/emacs/site-lisp/#{name}"
system "make", "install"
end
test do
system bin/"takt", "-o etude1.mid", pkgshare/"examples/etude1.takt"
end
end