Page 1 of 2
Audacity on BSD or OpenSolaris?
Posted: Mon Mar 07, 2011 8:54 am
by pseudonomous
Hi Everyone,00
I've been using audacity for a long time, and traditionally have used a dedicated computer running Windows XP and audacity 1.2.x for recording, but I have issues with using Windows as an OS and would like to migrate to something else. Unfortunately, my experience with using Audacity to do recording on Linux has been pretty bad; editing or doing short, one/two track rough recordings works ok, but I seem to have stability issues running Linux on my main recording machine. Audacity 1.3.12 segfaults without providing any useful information (1.3.12 is un-usable for recording due to latency issues on XP as well), and 1.2.6 was a pain in the ass to compile, after which I couldn't even get it to play any sound.
I've been thinking about trying to use Audacity 1.2.6 on either Freebsd or OpenSolaris (or any other bsd), I was wondering if anybody else had any experience with this (I notice there's a v 1.2.4 port for FreeBSD, I guess maybe I should run that instead). My sound card is supported by OSSv4, so sound support should be portable to any bsd or Solaris. My concerns are:
- Doing multitrack recordings (8 tracks)
- Overdubbing works, latency is properly compensated for.
- Stability
Anybody have any experiences to share?
thanks!
Re: Audacity on BSD or OpenSolaris?
Posted: Mon Mar 07, 2011 7:04 pm
by steve
Audacity 1.2.6 is ancient and requires numerous obsolete libraries. Using any of the 1.2 series of Audacity is likely to be problematic unless it is well supported by the OS maintainers.
There's very few BSD / OpenSolaris users that come to this forum, and none of the regular contributors use them, so advice may be a bit thin on the ground.
Audacity 1.3.13 should work well on Linux. I've used it on several Debian based systems using both ALSA and Jackd with great success. My regular machine is a laptop with Ubuntu 10.10 and I use both Audacity 1.3.12 and 1.3.13 (svn) regularly for multi-track projects. I tried OSS4 once, but couldn't get it to work with Jackd, which is a major limitation for some of the work that I do.
Re: Audacity on BSD or OpenSolaris?
Posted: Tue Mar 08, 2011 12:08 am
by bgravato
pseudonomous wrote:Audacity 1.3.12 segfaults without providing any useful information
Which linux distribution? Were you using the distribution's binary package or did you compile it yourself?
I use audacity on debian without problems, I have not problems editing 1h long projects with more than 10 tracks.
Re: Audacity on BSD or OpenSolaris?
Posted: Tue Apr 19, 2011 11:10 am
by xxjack12xx
I'm attempting to port Audacity 1.3.13 to FreeBSD. Running in to some compilation errors that should be resolved shortly.
Errors compiling 1.3.13 on FreeBSD amd64 8.2
Posted: Tue Apr 19, 2011 11:23 am
by xxjack12xx
I keep running into this compilation error, can someone point me in some direction about how to go about fixing it?
g++46 -DPACKAGE_NAME="libnyquist" -DPACKAGE_TARNAME="libnyquist" -DPACKAGE_VERSION="0.1" -DPACKAGE_STRING="libnyquist 0.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="libnyquist" -DVERSION="0.1" -DINSTALL_PREFIX="/usr/local" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDBOOL_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -I. -Inyquist/nyqsrc -Inyquist/tran -Inyquist/xlisp -Inyquist/sys/unix -Inyquist/cmt -Inyquist/ffts/src -Inyquist/nyqstk/include -Inyquist/nyqstk -I../portaudio-v19/include -I../libsndfile/src -DCMTSTUFF -DEXT -O2 -pipe -march=nocona -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -MT Instrmnt.o -MD -MP -MF .deps/Instrmnt.Tpo -c -o Instrmnt.o `test -f 'nyquist/nyqstk/src/Instrmnt.cpp' || echo './'`nyquist/nyqstk/src/Instrmnt.cpp
In file included from nyquist/nyqstk/src/FileRead.cpp:33:0:
nyquist/nyqstk/include/FileRead.h:117:3: error: 'FILE' does not name a typeIn file included from nyquist/nyqstk/include/FileWvIn.h:38:0,
from nyquist/nyqstk/src/FileWvIn.cpp:33:
nyquist/nyqstk/include/FileRead.h:117:3: error: 'FILE' does not name a type
g++46 -DPACKAGE_NAME="libnyquist" -DPACKAGE_TARNAME="libnyquist" -DPACKAGE_VERSION="0.1" -DPACKAGE_STRING="libnyquist 0.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="libnyquist" -DVERSION="0.1" -DINSTALL_PREFIX="/usr/local" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDBOOL_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -I. -Inyquist/nyqsrc -Inyquist/tran -Inyquist/xlisp -Inyquist/sys/unix -Inyquist/cmt -Inyquist/ffts/src -Inyquist/nyqstk/include -Inyquist/nyqstk -I../portaudio-v19/include -I../libsndfile/src -DCMTSTUFF -DEXT -O2 -pipe -march=nocona -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -MT Noise.o -MD -MP -MF .deps/Noise.Tpo -c -o Noise.o `test -f 'nyquist/nyqstk/src/Noise.cpp' || echo './'`nyquist/nyqstk/src/Noise.cpp
nyquist/nyqstk/src/FileRead.cpp: In constructor 'Nyq::FileRead::FileRead()':
nyquist/nyqstk/src/FileRead.cpp:43:5: error: class 'Nyq::FileRead' does not have any field named 'fd_'
nyquist/nyqstk/src/FileRead.cpp: In constructor 'Nyq::FileRead::FileRead(std::string, bool)':
nyquist/nyqstk/src/FileRead.cpp:48:5: error: class 'Nyq::FileRead' does not have any field named 'fd_'
nyquist/nyqstk/src/FileRead.cpp: In destructor 'virtual Nyq::FileRead::~FileRead()':
nyquist/nyqstk/src/FileRead.cpp:55:8: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'void Nyq::FileRead::close()':
nyquist/nyqstk/src/FileRead.cpp:61:8: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:62:3: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::isOpen()':
nyquist/nyqstk/src/FileRead.cpp:68:8: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'void Nyq::FileRead::open(std::string, bool)':
nyquist/nyqstk/src/FileRead.cpp:78:3: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::getWavInfo(const char*)':
nyquist/nyqstk/src/FileRead.cpp:159:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:161:34: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:165:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:166:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:171:32: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:172:33: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:178:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:200:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:208:28: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:216:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:217:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:241:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:244:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:247:34: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:252:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:253:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:258:28: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:264:23: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::getSndInfo(const char*)':
nyquist/nyqstk/src/FileRead.cpp:282:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:283:29: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:300:28: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:308:28: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:314:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:315:34: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:321:32: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::getAifInfo(const char*)':
nyquist/nyqstk/src/FileRead.cpp:355:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:356:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:361:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:363:34: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:368:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:369:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:374:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:375:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:383:29: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:390:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:402:29: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:425:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:441:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:444:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:446:34: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:451:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:452:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:456:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:458:23: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::getMatInfo(const char*)':
nyquist/nyqstk/src/FileRead.cpp:478:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:479:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:491:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:492:25: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:505:31: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:515:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:516:26: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:519:28: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:522:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:525:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:527:26: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:541:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:542:27: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:547:30: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:562:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:563:31: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:566:14: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:567:23: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'void Nyq::FileRead::read(Nyq::StkFrames&, long unsigned int, bool)':
nyquist/nyqstk/src/FileRead.cpp:582:8: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:611:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:612:39: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:630:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:631:39: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:649:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:650:39: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:661:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:662:39: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:673:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:674:35: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:687:17: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:688:35: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:705:16: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp:707:31: error: 'fd_' was not declared in this scope
nyquist/nyqstk/src/FileRead.cpp: In member function 'bool Nyq::FileRead::isOpen()':
nyquist/nyqstk/src/FileRead.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
gmake[2]: *** [FileRead.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv -f .deps/DelayL.Tpo .deps/DelayL.Po
gmake[2]: *** [FileWvIn.o] Error 1
mv -f .deps/Instrmnt.Tpo .deps/Instrmnt.Po
mv -f .deps/Noise.Tpo .deps/Noise.Po
mv -f .deps/Filter.Tpo .deps/Filter.Po
gmake[2]: Leaving directory `/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/libnyquist'
gmake[1]: *** [libnyquist-recursive] Error 2
gmake[1]: Leaving directory `/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src'
gmake: *** [audacity] Error 2
*** Error code 1
Re: Audacity on BSD or OpenSolaris?
Posted: Tue Apr 19, 2011 11:30 am
by steve
Topic moved to the Audacity 1.3 part of the forum and merged with your other post.
Please make further posts regarding this question here.
Re: Audacity on BSD or OpenSolaris?
Posted: Tue Apr 19, 2011 11:39 am
by steve
Which tarball are you using?
Re: Audacity on BSD or OpenSolaris?
Posted: Wed Apr 20, 2011 7:02 am
by xxjack12xx
audacity-minsrc-1.3.13-beta.tar.bz2 from the google mirror.
Re: Audacity on BSD or OpenSolaris?
Posted: Thu Apr 21, 2011 7:26 pm
by Gale Andrews
pseudonomous wrote:Audacity 1.3.12 segfaults without providing any useful information
You would need to build a debug version of Audacity, preferably Unicode Debug. Then start Audacity in GDB:
The current Beta is 1.3.13. It has a PortAudio update which certainly fixes some recording issues on Linux.
Gale
Re: Errors compiling 1.3.13 on FreeBSD amd64 8.2
Posted: Wed Apr 27, 2011 4:40 pm
by nkunkee
xxjack12xx wrote:I keep running into this compilation error, can someone point me in some direction about how to go about fixing it?
g++46 -DPACKAGE_NAME="libnyquist" -DPACKAGE_TARNAME="libnyquist" -DPACKAGE_VERSION="0.1" -DPACKAGE_STRING="libnyquist 0.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="libnyquist" -DVERSION="0.1" -DINSTALL_PREFIX="/usr/local" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDBOOL_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -I. -Inyquist/nyqsrc -Inyquist/tran -Inyquist/xlisp -Inyquist/sys/unix -Inyquist/cmt -Inyquist/ffts/src -Inyquist/nyqstk/include -Inyquist/nyqstk -I../portaudio-v19/include -I../libsndfile/src -DCMTSTUFF -DEXT -O2 -pipe -march=nocona -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portsmf -I/usr/obj/usr/ports/audio/audacity-new/work/audacity-src-1.3.13-beta/lib-src/portaudio-v19/include -I/usr/local/include -Wall -MT Instrmnt.o -MD -MP -MF .deps/Instrmnt.Tpo -c -o Instrmnt.o `test -f 'nyquist/nyqstk/src/Instrmnt.cpp' || echo './'`nyquist/nyqstk/src/Instrmnt.cpp
In file included from nyquist/nyqstk/src/FileRead.cpp:33:0:
nyquist/nyqstk/include/FileRead.h:117:3: error: 'FILE' does not name a typeIn file included from nyquist/nyqstk/include/FileWvIn.h:38:0,
from nyquist/nyqstk/src/FileWvIn.cpp:33:
nyquist/nyqstk/include/FileRead.h:117:3: error: 'FILE' does not name a type
To answer this question,
FILE is a
<stdio.h> structure used to access files.
indicates that you are somehow missing a standard header file. Not having FreeBSD installed anywhere, I'm not sure how you are missing it. If you have a different g++ installed, or you built g++46 yourself, you may try another compiler build to see if the standard directories got missed s somehow.