ftp.nice.ch/pub/next/unix/audio/cmusic.bs.N.tar.gz#/src/cmusic

DIFF
 
ERRS
 
ERRS1
 
ERRS2
 
ERRS3
 
Make.out
 
Makefile
 
Makefile.m4
 
NEWERRS
 
README
 
README_from_SFL
 
Testscores/
 
cmusic.c
[View cmusic.c] 
cmusic.c.orig
 
cmusic.c.unix
 
extra
 
m.askname.c
[View m.askname.c] 
m.defs.h
[View m.defs.h] 
m.exts.h
[View m.exts.h] 
m.exts.h.orig
 
m.getfield.c
[View m.getfield.c] 
m.getp2.c
[View m.getp2.c] 
m.getp4.c
[View m.getp4.c] 
m.gettime.c
[View m.gettime.c] 
m.globs.h
[View m.globs.h] 
m.globs.h.orig
 
m.sfield.c
[View m.sfield.c] 
m.structs.h
[View m.structs.h] 
m.trans.c
[View m.trans.c] 
make.out
 
mm.expr.c
[View mm.expr.c] 
mm.field.c
[View mm.field.c] 
mm.gen.c
[View mm.gen.c] 
mm.head.h
[View mm.head.h] 
mm.ins.c
[View mm.ins.c] 
mm.merge.c
[View mm.merge.c] 
mm.merge.c.tst
 
mm.offset.c
[View mm.offset.c] 
mm.play.c
[View mm.play.c] 
mm.print.c
[View mm.print.c] 
mm.printout.c
[View mm.printout.c] 
mm.sec.c
[View mm.sec.c] 
mm.set.c
[View mm.set.c] 
mm.set.c.orig
 
mm.sndout.c
[View mm.sndout.c] 
mm.sndout.c.orig
 
mm.sndout.orig
 
mm.synth.c
[View mm.synth.c] 
mm.tempo.c
[View mm.tempo.c] 
mm.ter.c
[View mm.ter.c] 
mm.tersim.c
[View mm.tersim.c] 
mm.var.c
[View mm.var.c] 
test.defs.h
[View test.defs.h] 
test.sc
 
ug.abs.c
[View ug.abs.c] 
ug.adn.c
[View ug.adn.c] 
ug.airabsorb.c
[View ug.airabsorb.c] 
ug.band.c
[View ug.band.c] 
ug.blp.c
[View ug.blp.c] 
ug.defs.h
[View ug.defs.h] 
ug.defs.h.old
 
ug.delay.c
[View ug.delay.c] 
ug.diff.c
[View ug.diff.c] 
ug.div.c
[View ug.div.c] 
ug.expon.c
[View ug.expon.c] 
ug.exts.h
[View ug.exts.h] 
ug.flt.c
[View ug.flt.c] 
ug.fltdelay.c
[View ug.fltdelay.c] 
ug.freq.c
[View ug.freq.c] 
ug.globs.h
[View ug.globs.h] 
ug.head.h
[View ug.head.h] 
ug.illus.c
[View ug.illus.c] 
ug.integ.c
[View ug.integ.c] 
ug.integer.c
[View ug.integer.c] 
ug.inv.c
[View ug.inv.c] 
ug.iosc.c
[View ug.iosc.c] 
ug.janus.c
[View ug.janus.c] 
ug.logar.c
[View ug.logar.c] 
ug.lookup.c
[View ug.lookup.c] 
ug.map.c
[View ug.map.c] 
ug.mult.c
[View ug.mult.c] 
ug.neg.c
[View ug.neg.c] 
ug.nres.c
[View ug.nres.c] 
ug.osc.c
[View ug.osc.c] 
ug.out.c
[View ug.out.c] 
ug.quant.c
[View ug.quant.c] 
ug.rah.c
[View ug.rah.c] 
ug.ran.c
[View ug.ran.c] 
ug.sah.c
[View ug.sah.c] 
ug.seg.c
[View ug.seg.c] 
ug.shape.c
[View ug.shape.c] 
ug.show.c
[View ug.show.c] 
ug.showpath.c
[View ug.showpath.c] 
ug.signum.c
[View ug.signum.c] 
ug.smooth.c
[View ug.smooth.c] 
ug.sndfile.c
[View ug.sndfile.c] 
ug.sndfile.c.orig
 
ug.sndfile.old
 
ug.sndfile.orig
 
ug.sndfile.v1
 
ug.sndfile.v2
 
ug.space.c
[View ug.space.c] 
ug.splice.ancient
 
ug.splice.c
[View ug.splice.c] 
ug.splice.c.old
 
ug.sqroot.c
[View ug.sqroot.c] 
ug.square.c
[View ug.square.c] 
ug.test.c
[View ug.test.c] 
ug.trans.c
[View ug.trans.c] 
ug.version.c
[View ug.version.c] 
ug.white.c
[View ug.white.c] 
ug.zdelay.c
[View ug.zdelay.c] 

README

SOURCE FOR:
    cmusic
MAKEFILE:
    makefile
    NOTE:  The CARL version of cmusic makes use of the CARL soundfile
    system routines, called the "csound" system.  Non-CARL
    installations may or may not have these routines, or may have their
    own versions of them.  To compile cmusic without the csound
    routines, change the "-DCSOUND" flag in the makefile to
    "-UCSOUND".  This will cause conditional non-compilation of the
    csound-dependent portions of cmusic.  It will also be necessary
    (probably) to remove the reference to the soundfile routine library
    (-lsf).
SPECIAL INCLUDE FILES NEEDED:
    #include <carl/carl.h>
    #include </carl/sndio.h> (csound-dependent)
SPECIAL LIBRARIES NEEDED:
    -lcarl -lsf (the sf library is csound-dependent)
COMMENTS:
This directory contains source for cmusic.  
There is a makefile which recreates cmusic in this directory. 
Cmusic needs some routines from frmlib, which should exist before the
    "make" command is uttered (i.e., the makefile refers to "-lcarl").
The makefile names the main executable file "cmusic".
The cmusic main program is in file "cmusic.c".
The "submain" programs, where most of the work is done, and which generally 
    correspond to commands in the cmusic score, are in files with 
    names like "mm.*.c". (e.g., mm.gen.c, mm.play.c, mm.ins.c, etc.)
Most function generating programs have names such as gen1.c, gen2.c, etc.
    These are executable programs which are popened by mm.gen.c.
    Sources for gen commands are in ../gens.
    Users may supply their own function generating programs, modelling them
    on gens 1 thru 6, and giving them arbitrary names (see "help" files).
Unit generator programs are all on files with names of the form "ug.*.c".
    (cf. ug.osc.c, ug.out.c, etc.)
The main data structures are described in file "m.structs.h".
Global variables are defined on files with names of form "*.globs.h".
    (cf. m.globs.h, ug.globs.h)
Externals variable references are on files with names of form "*.exts.h".
    (cf. m.exts.h)
Definitions (such as macros) are on files with names of form "*.defs.h".
    (cf. m.defs.h, ug.defs.h, etc.)
Scores are conventionally stored on file with names of form "*.sc".
Cmusic expect that sprintf returns a string pointer to the generated
    string (not all UNIX versions work this way).
Ints are assumed to be long, since this version was written on a VAX - if
    you are using a 16-bit machine you might want to either change all
    ints to longs, or decide case-by-case whether they need to be.
Further documentation can be found by saying "man cmusic"; a number of
    help files explain unit generators, function generators, etc., in
    more and up-to-date detail.

README_from_SFL

 7/29/92
	The current version of cmusic contains the splice unit generator
supplied by Abe Singer, as well as the space reverb timbre switch code
added to mm.sndout.c by John Stevens.

 11/18/92
	Installed Dick's definitive soundfile unit generator as
ug.sndfile.c.

 3/17/93
	sfl added code to update the soundfile header at completion of the
cmusic process, so that the correct dataSize in bytes would be recorded
in next soundfile headers . Changes to cmusic.c, mm.sndout.c, m.globs.h,
and m.exts.h.

3/30/93
	Change internal name of abs() function to Abs(), to avoid conflict
with declaration in math.h. This required change to ug.globs.h.  C compiler
under NextOS 3.0 uncovered new errors and warnings in compilation of cmusic.

4/23/93
	sfl added code in mm.merge.c to allow up to 52 unique merge file
names. The 26 possible unique names allowed for previously were not enough.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.