superfomus
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:SuperCollider bindings to Fomus Music Notation
# Fomus

SuperCollider bindings to Fomus Music Notation (FOrmat MUSic).

“FOMUS is a open source software that automates many musical notation tasks for composers and musicians [...] Once the composer loads or inputs their materials, FOMUS outputs a file suitable for importing into a graphical notation program such as LilyPond, MuseScore, Finale, Sibelius and others.”

See Help file for more information.

## Project website:

    https://github.com/smoge/superfomus

## Fomus website:

    http://fomus.sourceforge.net/

## Installation:
Prerequesites:
- [Git](https://git-scm.com/)  
- [LilyPond](http://lilypond.org) 
    - [Fedora](http://lilypond.org/doc/v2.19/Documentation/topdocs/INSTALL.html#fedora)          
    - [Linux Mint](http://lilypond.org/doc/v2.19/Documentation/topdocs/INSTALL.html#linux-mint)  
    - [OpenSUSE](http://lilypond.org/doc/v2.19/Documentation/topdocs/INSTALL.html#opensuse)  
    - [Ubuntu](http://lilypond.org/doc/v2.19/Documentation/topdocs/INSTALL.html#ubuntu)  
    - [MacOS X](http://lilypond.org/macos-x.html)  
    - [Windows](http://lilypond.org/windows.html)
    
Finally, run in the sclang
``` sc
Quarks.install("https://github.com/smoge/superfomus");
```

## Examples

```supercollider
(
a = 12.collect({|i|
  ( 'midinote': (
      (63 + rrand(-6,6.5) + [0,8,13]) ++
      (60 + rrand(-6,6.5) + [0,5,6,9]) ),
    'dur': 1 )
});

f = Fomus();
f.fileName = "~/SCFomus_"; // complete file path
f.add(a);
f.ly;
)
```

![](https://cdn.rawgit.com/smoge/superfomus/master/HelpSource/Classes/example1.svg)


```supercollider
(
p = Pbind(
  \midinote, Prand((60,60.5..80), inf),
  \dur, Prand([0.125, 0.25, 0.5], inf)
);

//p.play;

f = Fomus(p.asStream, 30);
f.fileName = "~/SCFomus_"; // complete file path
f.ly;
f.midi;
f.xml;
)
```
![](https://cdn.rawgit.com/smoge/superfomus/master/HelpSource/Classes/example2.svg)

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。