That problem was fixed in CVS. I don't know when another tarball will be put out, but if you download the CVS version it is fixed.
Taybin
-------Original Message-------
From: Alexander <alexander(a)edem.g12.br>
Sent: 09/09/03 09:18 AM
To: linux-audio-user(a)music.columbia.edu
Subject: [linux-audio-user] Compilication
>
> HI!
I'm brazilian. So... please, be patience with my english.
I try to compile ardour(version 0.9beta3).
But my CPU is a AMD-450. i586.
I see in the configure script in the directory .../libs/ardour some C
Flags
for i686.
Is correcty?
Probably I have problems with this flags?
In time, i can't compile ardour because one error.
Somebody can help-me with this error?
I can't subscribe in the ardour-dev or ardour-user mailing list. :(
I need change my e-mail because I never post any message in these
mailings.
make[4]: Entering directory `/home/MODEM/ardour-0.9beta3/libs/ardour'
source='diskstream.cc' object='diskstream.lo' libtool=yes \
depfile='.deps/diskstream.Plo' tmpdepfile='.deps/diskstream.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile g++
-DLOCALEDIR=\""/usr/local/share/locale"\"
-I. -I. -I. -D_REENTRANT -O6 -mcpu=i686 -march=i686
-fomit-frame-pointer
-ffast-math -fstrength-reduce -fmove-all-movables -Wall
-I/home/MODEM/ardour-0.9beta3/libs/sigc++
-I/home/MODEM/ardour-0.9beta3/libs/sigc++/sigc++/config
-I/home/MODEM/ardour-0.9beta3/libs/pbd
-I/home/MODEM/ardour-0.9beta3/libs/midi++
-I/home/MODEM/ardour-0.9beta3/libs/ardour
-I/home/MODEM/ardour-0.9beta3/libs/soundtouch -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libxml2
-DCONFIG_DIR=\"/usr/local/etc\" -DDATA_DIR=\"/usr/local/share\" -c -o
diskstream.lo `test -f 'diskstream.cc' || echo './'`diskstream.cc
g++ -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I. -D_REENTRANT -O6
-mcpu=i686 -march=i686 -fomit-frame-pointer -ffast-math -fstrength-reduce
-fmove-all-movables -Wall -I/home/MODEM/ardour-0.9beta3/libs/sigc++
-I/home/MODEM/ardour-0.9beta3/libs/sigc++/sigc++/config
-I/home/MODEM/ardour-0.9beta3/libs/pbd
-I/home/MODEM/ardour-0.9beta3/libs/midi++
-I/home/MODEM/ardour-0.9beta3/libs/ardour
-I/home/MODEM/ardour-0.9beta3/libs/soundtouch -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libxml2
-DCONFIG_DIR=\"/usr/local/etc\" -DDATA_DIR=\"/usr/local/share\" -c
diskstream.cc -MT diskstream.lo -MD -MP -MF .deps/diskstream.TPlo -o
diskstream.o
diskstream.cc: In member function `int
ARDOUR::DiskStream::do_flush(bool)':
diskstream.cc:1309: no matching function for call to `min(long unsigned
int,
size_t)'
make[4]: *** [diskstream.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
>
Hi,
Is anyone else experiencing this problem? I set up a bunch of
aconnect commands to route my keyboard controller (64:0) to a number of
synths on different MIDI interfaces, and also to route the output of Pro
Tools (on another computer) to pretty much the same places:
aconnect 64:0 64:32
aconnect 64:0 80:1
aconnect 80:0 64:0
aconnect 80:0 64:32
aconnect 80:0 80:1
I also route Pro Tools output back to my keyboard (line 3) in case I
want to plug another hardware synth in there, but nothing is hooked up
to that right now.
At this point I set up my mixer and play. Everything works and is
perfectly fine for long periods of time.
I then start Jack and within a minute or two I lose MIDI connectivity. I
can run alsaplayer or other audio apps and I still get audio, but there
is no more MIDI connectivity. I look at the synths and they are not
receiving MIDI input. (No event lights.)
I then stop Jack and I immediately hear a bunch of MIDI notes get
played.These notes were stored from when I wasn't getting connectivity.
At this point I have MIDI back for live playing until the next time I
start Jack when it happens again.
I do this 4 or 5 times and at this point I cannot get MIDI back at all.
I have to completely power down as far as I can tell. I tried rebooting
and had no luck the one time I did that.
I don't know what to look at to figure out what could be causing this.
Hardware and modules shown below.
Thanks,
Mark
64:X - HDSP 9652
80:X - MidiSport 2x2
Wizard root # lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333 AGP]
00:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev
01)
00:0a.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394
Controller
00:0e.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP (rev 65)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/
C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 If
[Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon R250 [Radeon
9000] (Secondary) (rev 01)
Wizard root # lsmod
Module Size Used by Not tainted
radeon 102460 1
snd-seq-midi 4096 10 (autoclean)
snd-seq-midi-event 3840 0 (autoclean) [snd-seq-midi]
snd-usb-audio 45056 2
snd-via82xx 13792 0
snd-ac97-codec 41400 0 [snd-via82xx]
snd-mpu401-uart 3680 0 [snd-via82xx]
snd-hdsp 34436 3
snd-hwdep 5152 0 [snd-hdsp]
snd-rawmidi 14976 0 [snd-seq-midi snd-usb-audio
snd-mpu401-uart snd-hdsp]
snd-pcm-oss 39588 0 (unused)
snd-pcm 64676 0 [snd-usb-audio snd-via82xx snd-hdsp
snd-pcm-oss]
snd-page-alloc 6708 0 [snd-via82xx snd-hdsp snd-pcm]
snd-mixer-oss 13624 0 [snd-pcm-oss]
hid 15300 1
snd-seq 39312 0 [snd-seq-midi snd-seq-midi-event]
snd-timer 15620 0 [snd-pcm snd-seq]
snd-seq-device 4384 0 [snd-seq-midi snd-rawmidi snd-seq]
snd 32676 0 [snd-seq-midi snd-seq-midi-event
snd-usb-audio snd-via82xx snd-ac97-codec snd-mpu401-uart snd-hdsp
snd-hwdep snd-rawmidi snd-pcm-oss snd-pcm snd-mixer-oss snd-seq
snd-timer snd-seq-device]
sbp2 18112 0 (unused)
raw1394 8056 0 (unused)
ohci1394 18312 0 (unused)
ieee1394 35692 0 [sbp2 raw1394 ohci1394]
Wizard root #
How bad is 2 ms latency?
I'm trying to decide upon a sound card and
I've noticed that the Creative Sound Blaster
Audigy 2 has a 2 ms latency, but offers
"hiss free" audio fidelity at 106 dB SNR.
The Delta 410 has zero latency, but its $200 US.
Now I'm an idiot at this high end sound card stuff,
so I'm not sure what really matters. All I want to do
is use Linux Audacity to record my own multi-track
creations and convert LP 33rpm records to CD.
I'm sick of tape hiss! After 4 tracks my analog
tape machine is useless. So I bought this here
computer to get away from that hiss and maybe
record something I can listen to without grinding
my teeth.
Any adice would be most welcome!
> According to the responses to my previous post. There does not seem to be
> a way in linux to send MIDI command from my shell to a MIDI output
> interface.
You can generate a note-on event from bash, with something like this:
echo -n $'\x90\x45\x70' > /dev/midi01
The above command plays the A note on "/dev/midi01"
x90 is the MIDI note-on status byte
x45 = decimal 69 = A (440 Hz).
x70 is the note velocity
If you want to stop the sound, use:
echo -n $'\x80\x45\x70' > /dev/midi01
where x80 is the note-off status byte.
> For reference I want to be able to generate drone tones on my MIDI. I am
> looking for a simple application (MIDI shell??) that would let me turn a
> particular note on. I already have a sound card with the wavetable, this
> sound card understands midi. Alsa is supposed to have a good midi api, so
> how so I insert a midi event into my souncards midi output interface!!
> FT
You need to discover which /dev/midiXX is your soundcard wavetable synth.
If you prefer to use ALSA rawmidi devices, replace /dev/midiXX with
/dev/snd/midiCxDy, where "x" is the card number and "y" is a device number
belonging to this card.
Regards,
Pedro
--
ALSA Library Bindings for Pascal
http://alsapas.alturl.com
Again of my problem with start jack.
What means the mistake:
jackd: pcm.c:689: snd_pcm_nonblock: Assertion 'pcm' failed.
Thanks!
Alexander
Brazil - Rio de Janeiro
When running Frank's exmaple pd patch (and all the others I've tried)
under JACK, using the Planet CCRMA version of pd I get lots of IO Errors
reported by pd, even though there doesnt seem to be any dropouts, the cpu
load is low and jack doesnt report any xruns.
Is there a .pdrc file or something where I can set the block size to make
it match jacks? Or is there something else wrong?
Cheers,
Steve
HI!
I'm brazilian. So... please, be patience with my english.
I try to compile ardour(version 0.9beta3).
But my CPU is a AMD-450. i586.
I see in the configure script in the directory .../libs/ardour some C Flags
for i686.
Is correcty?
Probably I have problems with this flags?
In time, i can't compile ardour because one error.
Somebody can help-me with this error?
I can't subscribe in the ardour-dev or ardour-user mailing list. :(
I need change my e-mail because I never post any message in these mailings.
make[4]: Entering directory `/home/MODEM/ardour-0.9beta3/libs/ardour'
source='diskstream.cc' object='diskstream.lo' libtool=yes \
depfile='.deps/diskstream.Plo' tmpdepfile='.deps/diskstream.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile g++ -DLOCALEDIR=\""/usr/local/share/locale"\"
-I. -I. -I. -D_REENTRANT -O6 -mcpu=i686 -march=i686 -fomit-frame-pointer
-ffast-math -fstrength-reduce -fmove-all-movables -Wall
-I/home/MODEM/ardour-0.9beta3/libs/sigc++
-I/home/MODEM/ardour-0.9beta3/libs/sigc++/sigc++/config
-I/home/MODEM/ardour-0.9beta3/libs/pbd
-I/home/MODEM/ardour-0.9beta3/libs/midi++
-I/home/MODEM/ardour-0.9beta3/libs/ardour
-I/home/MODEM/ardour-0.9beta3/libs/soundtouch -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libxml2
-DCONFIG_DIR=\"/usr/local/etc\" -DDATA_DIR=\"/usr/local/share\" -c -o
diskstream.lo `test -f 'diskstream.cc' || echo './'`diskstream.cc
g++ -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I. -D_REENTRANT -O6
-mcpu=i686 -march=i686 -fomit-frame-pointer -ffast-math -fstrength-reduce
-fmove-all-movables -Wall -I/home/MODEM/ardour-0.9beta3/libs/sigc++
-I/home/MODEM/ardour-0.9beta3/libs/sigc++/sigc++/config
-I/home/MODEM/ardour-0.9beta3/libs/pbd
-I/home/MODEM/ardour-0.9beta3/libs/midi++
-I/home/MODEM/ardour-0.9beta3/libs/ardour
-I/home/MODEM/ardour-0.9beta3/libs/soundtouch -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libxml2
-DCONFIG_DIR=\"/usr/local/etc\" -DDATA_DIR=\"/usr/local/share\" -c
diskstream.cc -MT diskstream.lo -MD -MP -MF .deps/diskstream.TPlo -o
diskstream.o
diskstream.cc: In member function `int ARDOUR::DiskStream::do_flush(bool)':
diskstream.cc:1309: no matching function for call to `min(long unsigned int,
size_t)'
make[4]: *** [diskstream.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Can anyone recommend a simple pd patch that wont take too much CPU, runs
happiily in jack and takes a pair of streams does something noticable and
outputs a pair of streams?
The examples I tried generally dont do straight processing.
I should be able to make one myself really, but I dont have pd-fu :(
Thanks,
Steve
Hi!
I'm brazilian and I don't speak english. So... please... be patience :)
I have install jack 0.80 in one notebook Compaq presario 1200 with sound-card
snd-via-82xxx(this module is from Alsa-Project).
All songs in my coputer play with no problems.
But when I try start jackd the system showme this error:
JACK compiled with System V SHM support
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|nomon|swmeter|rt
jackd: pcm.c:689: snd_pcm_nonblock: Assertion 'pcm' failed.
received signal 6 during shutdown (ignored)
I create all of directories of README.
And I put in fstab the lines:
none /mnt/ramfs tmpfs defaults 0 0
shmfs /dev/shm shm defaults 0 0
My kernel support shm and i can mount manually this directories.
I do this because before my last installation(compile) I use
--enable-posix-shm
But in this time I remove all jack files os my system and killall -9 all
process of jackd and recompile with stadard options.
The error is the same(but change the first line "with POSIX ..." for "with
System V..."). Is OK.
So... my jack is compile with NO errors and the module of my sound card is ok.
The process of arts, esd, nas, etc, NOT exist in my process list(I use
WindowMaker).
I have the directories(mounted) /mnt/ramfs and /dev/shm.
I don't have any sound aplications started(no one).
But I get the same error.
I create the /tmp/jack with permissions 777.
When i start jackd this directory is removed!!!!
What's this error? Somebody have some idea what is this?
I speak to Patrick Shirkey and I get much help, but my problem seems to be in
my system.
Any help?
Thanks a lot!
Alexander
Brazil - Rio de Janeiro
I'm having problems recording from line in.
Without knowing exactly what's going wrong, all I
can say is that I can only playback "silence."
As I'm recording, I can hear the audio being fed
back through the external speakers. I can also use
various mixers to mute/unmute and set the volume on
the "Line" setting. So I'm pretty sure everything is
hooked up right.
I initially tried using sox/notlame/mpg123 ...
# record and encode
$ sox -t ossdsp -w -r 44100 /dev/dsp -t cdr - |
notlame -k -v -S - /tmp/out.mp3
# playback
$ mpg123 /tmp/out.mp3
I've since tried to simplify things ...
$ rec -d /dev/dsp /tmp/out.wav
$ play /tmp/out.wav
Neither of them work.
System details are provided below. What else can
I do to troubleshoot this?
Thank in advance
- gary
System
. redhat 8.0 (2.4.20-19.7)
. alsa-0.9.6
. Turtle Beach Santa Cruz sound card
$ lspci
00:0b.0 Multimedia audio controller: Cirrus Logic CS
4614/22/24 [CrystalClear SoundFusion Audio
Accelerator] (rev 01)
$ lsmod
Module Size Used by Not tainted
snd-seq-midi 5312 0 (autoclean) (unused)
snd-seq-oss 34720 0 (unused)
snd-seq-midi-event 6048 0 [snd-seq-midi
snd-seq-oss]
snd-seq 47280 2 [snd-seq-midi
snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 45284 0
snd-mixer-oss 16408 1 [snd-pcm-oss]
snd-cs46xx 80636 1
snd-rawmidi 18656 0 [snd-seq-midi
snd-cs46xx]
snd-seq-device 6284 0 [snd-seq-midi
snd-seq-oss snd-seq snd-rawmidi]
snd-ac97-codec 50264 0 [snd-cs46xx]
snd-pcm 85344 0 [snd-pcm-oss
snd-cs46xx]
snd-timer 19588 0 [snd-seq snd-pcm]
snd 43108 0 [snd-seq-midi
snd-seq-oss snd-seq-midi-event sn
d-seq snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi
snd-seq-device snd-ac97-c
odec snd-pcm snd-timer]
soundcore 6372 8 [snd]
gameport 3440 0 [snd-cs46xx]
snd-page-alloc 9876 0 [snd-cs46xx snd-pcm]
$ cat /etc/modules.conf
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cs46xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
=====
--
Gary Cote
gary(a)cotecorner.com