hello,
I have jack installed and working now. So, now I'm trying to get
AlsaModularSynth compiled and running. Has anyone else accomplished this
in debian stable (woody)?
I installed libqt3-mt (along w/everything it depended upon), fftw-dev,
fftw2, sfftw-dev, sfftw2 and ladspa-sdk to get ladspa.h. I've tried to
edit the top of make_ams to agree with the location of the qt3 libs, bin
and include directories on my system as best as I could figure ... but
I'm not sure I got it right:
QT_LIB_DIR=/usr/lib/qt3/plugins/styles
QT_BIN_DIR=/usr/share/qt/bin
QT_INCLUDE_DIR=/usr/include/qt
it seems to compile OK when I do:
make -f make_ams
though there are a lot of warnings about comparing signed to unsigned
and other warnings that flew by. Are these benign?
Anyway. I end up with an executable ams. When I run ./ams I get this:
./ams: error while loading shared libraries: libjack.so.0: cannot open
shared object file: No such file or directory
I have that in /usr/local/lib/libjack.so.0 so creating this link appears
to help:
box1:/usr/lib# ln -s /usr/local/lib/libjack.so.0 libjack.so.0
Is that the correct sollution?
but, now:
box1:/home/eric/audio_code/ams-1.5.5# ./ams
ams: cannot connect to X server
I assume this is because X is running as me (eric) and not as root. I'll
try getting out of X and starting it as root as soon as I finish writing
this message. But, is there a way to let root connect to the X server
that's running as eric?
I was sort of ok (well, not really, but I'm giving it a try) with the
idea of running jackd and its clients as root ... but, running X as
root, too? that makes me more nervous, somehow... maybe I shouldn't be
nervous about that ... I'm not sure.
anyway. i'll give it a shot with a root X session.
I'm thinking that maybe I should patch and recompile the kernel and
recompile jack to enable capabilities so I don't have to run as root.
Do those of you running jackd as root also run your X session as root?
Thanks for listening,
Eric Rz.
PS If all of this has been covered before and my questions are annoying
you, feel free to send me to the archives. I try to follow jackit-devel,
but most of it seemed to go over my head before I actually started to
try it. So, re-reading the past couple months would probably do me some
good now that I have the real thing in front of me. -edrz
First the vitals:
The computer system is a 400 MHz K6-2 with 512 MB memory, and a Hercules
Fortissimo II (Cirrus Logic Soundfusion CS4624 processor) sound card.
The OS is Linux-2.4.20 (built up from Slackware-8.0, with kernel patches
and package upgrades). I have the following ALSA components installed:
alsa-driver-0.9.0rc7, alsa-oss-0.9.0rc1, alsa-utils-0.9.0rc7,
alsa-lib-0.9.0rc7, alsa-tools-0.9.0rc7.
The kernel is mostly monolithic, with the following options (abridged to
include only those I know are relevant; if folks want the complete
listing, I can easily provide it):
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_LOLAT=y
CONFIG_LOLAT_SYSCTL=y
CONFIG_RTC=y
CONFIG_SOUND=y
ALSA is the only component that I have modularized (only because I don't
have the impression it can easily be just built-in, actually), and the
following modules are loaded:
Module Size Used by
snd-mixer-oss 11120 1 (autoclean)
snd-cs46xx 58096 1 (autoclean)
snd-pcm 50752 0 (autoclean) [snd-cs46xx]
snd-timer 9392 0 (autoclean) [snd-pcm]
snd-ac97-codec 26912 0 (autoclean) [snd-cs46xx]
snd-rawmidi 11808 0 (autoclean) [snd-cs46xx]
snd-seq-device 3824 0 (autoclean) [snd-rawmidi]
snd 27280 0 (autoclean) [snd-mixer-oss snd-cs46xx
snd-pcm snd-timer snd-ac97-codec
snd-rawmidi snd-seq-device]
I've been using Linux with OSS and a Media-Vision Pro-Audio-Studio-16
soundcard for years, and have basically had very little trouble with
that combination. Upgrading to Linux-2.4.x caused the sound output to
be rather noisy, so I recently took advantage of the situation to buy a
new soundcard, and upgrade to using ALSA (which I've been wanting to do
so I can investigate certain rather exciting applications such as Ardour
and the new Rosegarden).
The applications I've been using for years with OSS, (notably Dap,
Mixviews, Aumix, and a few others) all appear to mostly be working fine,
presumably through the ALSA OSS emulation. Aumixer now shows some
lables (PhoneIn and Video) which don't correspond to any inputs I have
on my soundcard, while some others (IGain and Line1) don't appear to
have any use, given the way I'm currently using the card (signal from a
hardware mixer going to the Line input, and signal from the main, front
line output going back to the mixer).
I can play back sound files without any problem. In fact I've also tried
a few new (to me) applications, such as Audacity, ProTux, and (though
I'm having problems with it I won't cover here) Ardour, and they too
play back sounds quite nicely (the sound is "grainy", though, perhaps I
need to investigate the Low-Latency issues more, or increase the size of
some buffer somewhere).
I can send sound to the computer, and listen to that sound coming back
from the computer (adjusting the level with the "line" level in Aumix,
for example), but if I try to record that sound (in any of the
applications I've tried, including all those listed above), with "record
enable" selected in Aumix, I get no audio recorded (silent sound file).
Also, I find it interesting to note that I can record-enable only one
input source at a time (contrary to my old Media-Vision card). I'm
assuming that's a function of the hardware, though and can't be fixed in
software?
Finally, we get to my questions:
- Can someone point me in the right direction(s) to find a solution to
this, so I can record audio (preferably from numerous sources) into
my computer? I'll be perfectly happy with pointers to documentation
(though I expect to get at least some to documentation I've already
read, because I think I've repeatedly gone through all the
documentation I already found myself), and suggestions to upgrade
certain components.
- I've tried to start Jackd at system boot, with the following command
added to my rc.local file:
/local/bin/jackd -d alsa -d cs46xx -p 512 &
Jackd fails to start at that point (I'm afraid I haven't noted the
exact error message, but I can make a point of doing so next time I
reboot the system), but it does start when run manually from a root
shell. Does anyone have any idea why jackd might not start at boot
time, (perhaps the ALSA modules aren't loaded yet at that time)? If
I understand my boot sequence properly, kernel modules are setup
(via "depmod -a") before rc.local is run, so the modules may not be
loaded, but they should by that point be loadable (they load
automatically by the kernel in regular use).
- Is it possible to build ALSA into the kernel?
- on a slightly unrelated point, my new soundcard has a built-in
synthesizer with at least some features I'd like to explore. Though
I know this won't replace any of my hardware synths (or some of the
software synths I've begun to play with), I'd like to play around
with some of its built-in sounds, and probably use it (at least
until I get something better) as my "preset playback" device,
controlled from an external MIDI controller. Does anyone have
suggestions for how I might go about that? (again, simple pointers
to existing documentation would be more than appreciated).
In case people are wondering about my specific intended application,
I'd like to use a Roland Octapad to trigger percussion sounds from
the soundcard's built-in synth.
Thanks in advance for any pointers people can provide....
--
----------------------------------------------------------------------
Sylvain Robitaille syl(a)alcor.concordia.ca
Major in Electroacoustic Studies Concordia University
Faculty of Fine Arts / Music Department Montreal, Quebec, Canada
----------------------------------------------------------------------
Hi all, I'm a newbie to linux. I've got a Delta 44
that I'm trying to run on RedHat 8.0 . As far as I
know I need the ALSA drivers, but I have no idea where
to begin installing all the necessary drivers and such
or how to do so. If any one is willing to help me
from the beginning it would be greatly appreciated.
I'm mostly interested in just using XMMS and Audion.
Cheers,
the Smiling Goat
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Hi all,
I was just wondering if anyone had compiled Shaketracker with gcc-3.2? I
get the following errors...
c++ -DPACKAGE=\"shaketracker\" -DVERSION=\"0.4.6\" -I. -I.
-I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0
-I/usr/local/lib/gtkmm/include -I/usr/local/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/local/lib/sigc++-1.0/include
-I/usr/local/include/sigc++-1.0 -DPOSIX_ENABLED -DALSA_ENABLED -g3
-c midioutdevicemanager.cpp
In file included from midioutdevicemanager.h:20,
from midioutdevicemanager.cpp:18:
midioutdevice.h:33: 'string' is used as a type, but is not defined as a
type.
midioutdevice.h:34: 'string' is used as a type, but is not defined as a
type.
midioutdevice.h:43: parse error before `)' token
midioutdevice.h:44: parse error before `)' token
midioutdevice.h: In function `int get_subdevices_count()':
midioutdevice.h:46: `subdevices_count' undeclared (first use this function)
midioutdevice.h:46: (Each undeclared identifier is reported only once
for each
function it appears in.)
midioutdevice.h: At global scope:
midioutdevice.h:47: syntax error before `(' token
midioutdevice.h:49: virtual outside class declaration
midioutdevice.h:50: virtual outside class declaration
midioutdevice.h:51: virtual outside class declaration
midioutdevice.h: In function `bool is_subdevice_enabled(int)':
midioutdevice.h:51: `subdevice_enabled' undeclared (first use this
function)
midioutdevice.h: At global scope:
midioutdevice.h:54: virtual outside class declaration
midioutdevice.h:55: virtual outside class declaration
midioutdevice.h:56: virtual outside class declaration
midioutdevice.h:57: virtual outside class declaration
midioutdevice.h:58: virtual outside class declaration
midioutdevice.h:59: virtual outside class declaration
midioutdevice.h:60: virtual outside class declaration
midioutdevice.h:61: virtual outside class declaration
midioutdevice.h:62: virtual outside class declaration
midioutdevice.h:64: virtual outside class declaration
midioutdevice.h:65: virtual outside class declaration
midioutdevice.h:67: virtual outside class declaration
midioutdevice.h:68: virtual outside class declaration
midioutdevice.h:69: virtual outside class declaration
midioutdevice.h:70: virtual outside class declaration
midioutdevice.h:71: virtual outside class declaration
midioutdevice.h:73: parse error before `)' token
midioutdevice.h:74: destructors must be member functions
midioutdevice.h:74: virtual outside class declaration
midioutdevice.h:75: parse error before `}' token
In file included from midioutdevicemanager.cpp:18:
midioutdevicemanager.h:37: 'vector' is used as a type, but is not
defined as a
type.
midioutdevicemanager.h:41: syntax error before `*' token
midioutdevicemanager.h:48: parse error before `)' token
midioutdevicemanager.h:50: parse error before `)' token
midioutdevicemanager.h:51: parse error before `)' token
midioutdevicemanager.h:54: `newdevice' was not declared in this scope
midioutdevicemanager.h:54: invalid data member initialization
midioutdevicemanager.h:54: (use `=' to initialize static data members)
midioutdevicemanager.h:54: variable or field `AddDevice' declared void
midioutdevicemanager.h: In member function `bool
MidiOutDeviceManager::is_device_enabled(int)':
midioutdevicemanager.h:55: `device_array' undeclared (first use this
function)
midioutdevicemanager.cpp: In member function `int
MidiOutDeviceManager::real_device(unsigned int)':
midioutdevicemanager.cpp:23: `subdev_vector' undeclared (first use this
function)
midioutdevicemanager.cpp: At global scope:
midioutdevicemanager.cpp:38: `newdevice' was not declared in this scope
midioutdevicemanager.cpp:38: `void MidiOutDeviceManager::AddDevice' is
not a
static member of `class MidiOutDeviceManager'
midioutdevicemanager.cpp:38: variable `void MidiOutDeviceManager::AddDevice'
has initializer but incomplete type
midioutdevicemanager.cpp:38: syntax error before `{' token
midioutdevicemanager.cpp:43: syntax error before `++' token
midioutdevicemanager.cpp:47: ISO C++ forbids declaration of `
regenerate_subdev_vector' with no type
midioutdevicemanager.cpp:49: parse error before `}' token
midioutdevicemanager.cpp:53: syntax error before `::' token
midioutdevicemanager.cpp:58: syntax error before `::' token
midioutdevicemanager.cpp:64: syntax error before `::' token
make[1]: *** [midioutdevicemanager.o] Error 1
make[1]: Leaving directory
`/home/jordan/src/audio/shaketracker-0.4.6/trackercore'
make: *** [all-recursive] Error 1
Is Jack meant to be run as root? I thought it was, but reading the
thread about jack start-up scripts suggested otherwise.
Howver, if I launch Jack and ladcca as a normal user, ladcca keeps
complaining that it can't read a folder in the root directory. I think
other patch apps did the same. This is partly what lead me to suppose
that Jack and associated apps had to run as root.
--
Rohan Parkes <rparkes(a)email.com>
Hi,
I've run into problems with my audiophile 2496 where
the mpu401 hardware design doesn't support TX
interupts so when spinlocks occur it causes complete
system lockup. Power reset required.
My primary midi concern is i/o for mmc and mtc.
Questions
1. I've got a midiman usb 8x8, has anyone gotten this
to work with the firmware from the Linux Hotplug? I
think this work was done by Clemens Ladisch.
2. If I can get the 8x8 working, this would eliminate
the need for an audiocard that has midi i/o. Right?
3. Is anyone using active usb extension cables? We've
gotta run about 50 ft. Anyone see a problem with that?
Well, question 2 seems obvious but better to be safe.
ron
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
What can I say....i need a few more hits on my site...if that makes me a
slut, so be it ;)
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Hi,
>
> Some time ago I asked for a PCI soundcard which can deal with
> *.sf(2) soundfonts and works on Linux. I was told "soundblaster live 512"
> is a good choice. But this soundcard is unknown to all resellers.
> (They know "soundblaster live 5.1", but I'm afraid it has no
> hardware MIDI synthesizer.)
To my knowledge _all_ sb-live cards are built on the emu10k chip. Hence all
live cards support soundfonts in hardware.
>
> Now a reseller recommended "Audigy 6.1 platinum". Is there
> anybody who has experiences with this type of soundcard?
> Escpecially: Does the hardware MIDI synthesizer work on Linux?
> Can I change the orchestra using "sfxload" ?
Audigy is not a bad card if you want hardware soundfont support
(I'm unsure how good it is supported under linux though, last time I tried
,I've got one, it didn't work that well...)
Having said this, I should add that I own several sb-live cards in various
configurations. These days though I almost never use the built in support for
soundfonts. Most of the time I find it better to use Fluidsynth. The only
concern here is that Fluidsynth will consume CPU resources which the hardware
synth won't.
Regards,
Robert