From owner-freebsd-isdn Sat Jul 17 11:40:18 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from harvey.aball.de (harvey.aball.de [212.41.160.46]) by hub.freebsd.org (Postfix) with SMTP id 317B814BD5 for ; Sat, 17 Jul 1999 11:40:14 -0700 (PDT) (envelope-from turbocat.de!dave@harvey.aball.de) Received: by harvey.aball.de (Smail3.1.28.1 #11) id m115ZLu-000J64C; Sat, 17 Jul 99 20:38 MET DST Received: from cat.turbocat.de (cat.turbocat.de [212.41.163.194]) by alice.turbocat.de (8.8.8/8.8.8) with ESMTP id UAA04137 for ; Sat, 17 Jul 1999 20:24:23 +0200 (CEST) Received: (from dave@localhost) by cat.turbocat.de (8.8.5/8.7.3) id UAA00322 for freebsd-isdn@FreeBSD.ORG; Sat, 17 Jul 1999 20:24:24 +0200 (MET DST) Message-Id: <199907171824.UAA00322@cat.turbocat.de> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) Received: by NeXT.Mailer (1.148) From: David Wetzel Date: Sat, 17 Jul 99 20:24:22 +0200 To: freebsd-isdn@FreeBSD.ORG Subject: FAQ Organisation: Turbocat's Development http://www.turbocat.de Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org If you like, add this to the FAQ (the version i have here is i4b-00.81.00-beta-190599) --- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Fax +49 33056 82835 NeXTmail dave@turbocat.de (______) http://www.turbocat.de/ DEVELOPMENT * CONSULTING * ADMINISTRATION How can I convert my old .g711a files to the new format? ================================================================================ I got the best results with: cat /some/path/dwhello.g711a | alaw2ulaw | g711conv -u > /tmp/newhello.al I have lots of old .g711a files to convert what can I do? ================================================================================ Create a shell script (/tmp/csnd.sh) with this contents: #!/bin/sh OLDFILES=`ls *.g711a` #echo $OLDFILES for THEFILE in $OLDFILES do ( echo -n "converting $THEFILE..." BASENAME=`basename $THEFILE .g711a` /bin/cat $THEFILE | alaw2ulaw | g711conv -u > $BASENAME.al echo "done" ) done ###### END then type "chmod a+x /tmp/csnd.sh" in you shell. cd /usr/local/lib/isdn (or where your old sounds live) /tmp/csnd.sh Optional: rm *.g711a (you should know what you do here :-) How can I convert the .al files to Sun/NeXT .au/.snd/.vox files? ================================================================================ /bin/cat /some/path/old.al | sox -t raw -A -b -r 8000 - -t .au /some/path/new.snd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message