File: sndwrite.h

package info (click to toggle)
nyquist 3.24%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,156 kB
  • sloc: ansic: 74,757; lisp: 18,169; java: 10,942; cpp: 6,688; sh: 175; xml: 58; makefile: 40; python: 15
file content (11 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
/* sndwrite.h -- header to write sounds to files */

double sound_save(LVAL snd_expr, int64_t n,
                  unsigned char *filename, long format,
                  long mode, long bits, long swap, double *sr, long *nchans,
                  double *duration, LVAL play, int64_t progress);
/* LISP: (SND-SAVE ANY FIXNUM STRING LONG LONG LONG LONG ANYNUM^ LONG^ ANYNUM^ ANY FIXNUM) */

double sound_overwrite(LVAL snd_expr, int64_t n, unsigned char *filename,
                       double offset_secs, double *duration, int64_t progress);
/* LISP: (SND-OVERWRITE ANY FIXNUM STRING ANYNUM ANYNUM^ FIXNUM) */