[CM] sound-duration, convolve-files, sound-maxamp (newbie)
Heinrich Gudenus
heinrich.gudenus@fh-sbg.ac.at
Mon, 17 May 2004 17:06:21 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C43C31.4739C950
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hi,
the first problem:
sound-maxamp and convolve-files always produce an error..
convolve-files: *** - COERCE: NIL is not REAL [...]
sound-maxamp is not defined
the second problem:
when I destructivly cut out a piece of an audio file
and want to set a variable which contains the new
duration of that file, the value that sound-duration produces
is Zero
e.g.
(...
(let ((x (sound-duration file-1)))
(with-sound (:output file-1 ...)
(<instrument> file-1 ...))
(setf x (sound-duration file-1))
...)
thank you
h:g
p.s.: (system is mandrake 9.0; and I am using clisp (cm clm and cmn are
installed properly (hopefully)))
------=_NextPart_000_0015_01C43C31.4739C950
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>hi,<BR><BR>the first problem:<BR><BR>sound-maxamp and =
convolve-files=20
always produce an error..<BR><BR> convolve-files: *** - COERCE: NIL =
is not=20
REAL [...]<BR>sound-maxamp is not defined<BR><BR><BR>the second=20
problem:<BR><BR>when I destructivly cut out a piece of an audio =
file<BR>and want=20
to set a variable which contains the new<BR>duration of that file, the =
value=20
that sound-duration produces<BR>is=20
Zero<BR><BR>e.g.<BR> =20
(...<BR>  =
; (let=20
((x (sound-duration=20
file-1)))<BR> =
=20
(with-sound (:output file-1=20
...)<BR>  =
; =20
(<instrument> file-1=20
...))<BR> &nbs=
p; =20
(setf x (sound-duration=20
file-1))<BR> =
...)<BR><BR>thank=20
you<BR><BR>h:g<BR><BR>p.s.: (system is mandrake 9.0; and I am using =
clisp (cm=20
clm and cmn are<BR>installed properly (hopefully)))</DIV></BODY></HTML>
------=_NextPart_000_0015_01C43C31.4739C950--