Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!mips!pacbell.com!att!princeton!phoenix.Princeton.EDU From: paul@phoenix.Princeton.EDU (Paul Lansky) Newsgroups: comp.sys.next Subject: Realtime mixing Message-ID: <10329@idunno.Princeton.EDU> Date: 2 Jun 91 15:36:20 GMT Sender: news@idunno.Princeton.EDU Organization: Princeton University Lines: 29 Much to our delight we have discovered that the 040 NeXT is fast enough to play several soundfiles simultaneously with envelope control on each. The current limit seems to be two 44k stereo files (or 8 22k mono files,etc). Disk speed is the main constraint. With system overhead you need about 400k bytes per second for 2 44k stereo files. (the new 400 meg disks seem to be able to sustain 1.1 meg per second!). So, I've written a cmix application called rtmix, which allows you to align two files, draw envelopes and play them, all in real time, as long as long as you are playing from a local disk. It does not work well across a network or from an optical disk. A student of mine, Kent Dickey, has written a much better program, which I'll post as soon as it is ready, which allows you much more arbitrary control over the number of files. Kent's program will even allow you to change the apparent sampling rate in real time (create glissandi etc). I've put the source and binary for rtmix in pub/music at princeton.edu. Thanks to Kent for teaching me how to optimize overhead, and to Rob Poor for his DACPlayer object. Paul Lansky Music Department Princeton Univ. paul@princeton.edu