Quoting Russell Hanaghan <hanaghan(a)starband.net>:
> Does anyone have portaudio functioning on their Linux box and if so, can
>
> you give a brief overview of how and what is required?
>
> eg: I read it will co-exist and work with alsa? Does that mean it
> co-operates with jack and can be run from the Qjackctl app? Latency
> issues? is it robust?
Portaudio and alsa are different sorts of beasts.
ALSA is a standard for and a set of drivers. Drivers as in hardware drivers.
They talk to the hardware devices and the OS.
Jack is a piece of software, as portaudio is, which uses the OS driver to
interface with the audio hardware.
Portaudio on the other hand, is made for porting audio software (hence the
name). It is a common programming interface (API) for audio handling. The
idea is that audio interface for the application is the same even if the end
result would be running on Windows, OSX, Linux.
Here is a layer representation. It's a bit simplified though...
+------------------------------------------+
| Audio application easily ported for many |
| different operating systems. For example |
| Audacity |
+------------------------------------------+
| PORTAUDIO |
+------------+----------+-----------+------+
| OSS | ALSA | | Windows | ASIO |
| | | | Audio API | (?) |
+------------+ +-----------+------+
| Operating | | Operating System |
| System | | (Windows) |
| (Linux) | | |
+------------+ +------------------+
| Audio HW | | Audio HW |
+------------+ +------------------+
Portaudio is designed so that applications using it have a single well
defined and easy to use API for audio. Then portaudio has operating system
specific 'drivers'. Portaudio v18 has only OSS support (=OSS driver) for
Linux, but v19 has also a driver for ALSA and JACK.
The part which gets confusing is that with jack support, portaudio doesn't
speak to the audio drivers, but to another application (jackd). So with jack
the layering is as folllows:
Application (Audacity)->Portaudio->Jack->ALSA->OS->Audio HW
(Of course, jack can also use it's OSS drivers instead of ALSA)
The end result?
Any application written for portaudio will support all the methods of
"talking to" audio hardware that portaudio supports.
And finally, the answer to your question:
Yes ALSA and portaudio can coexist.
(Disclaimer: I am not that familiar with portaudio, so proper developers
will find many discrepancies in this text. But this description was meant
for general education)
Sampo
i will look into it!
On Dec 6, 2004, at 2:38 AM, Larry Crane/Tape Op wrote:
> I'm in NewOrleans and just finished mixing an album!
>
> The Linux thing would be cool. If you don't want to do it do you know
> anyone who would?
>
> ____________________________________________________
> From Larry Crane
> Editor: Tape Op Magazine
> Owner: Jackpot! Recording Studio, Inc.
> PO Box 14517, Portland, OR 97293
> Fed Ex/UPS: c/o: Jackpot! Recording
> 1925 SE Morrison, Portland, OR 97214
> ph/fx: 503-239-5389
> larry(a)tapeop.com
> GET FREE SUBSCRIPTIONS AT:
> http://www.tapeop.com
> Tape Op Con 2005 - June 10-12 New Orleans:
> http://www.tapeopcon.com
> (***If you ever feel slighted by a very short response to your email
> please don't take it personally! I'm very busy and trying to answer
> On Dec 4, 2004, at 10:10 AM, jonathan segel wrote:
>
>> hey larry, i'm in germany about to finally end a tour. gawdddd.
>>
>> anyway, that's not why i'm writing, i'm writing because a bunch of
>> people on the linux audio user's list are talking about how to get
>> more awareness of linux audio and what it can and cannot do and how
>> it's mostly FREE software..
>> so, the point is: any chance of printing an article about that?
>> should i recruit somebody serious to write it...
_______________________________________________________
Jonathan Segel -- 4014 Brookdale Ave. Oakland, CA 94619
MAGNETIC -- http://www.MagneticMotorworks.com
Here's one of a set of songs I recorded for a band at the university I attend. They needed to record 4 songs for a demo to send to a producer at some studio in Nashville before they went there to record. Anyway, the recording was done with Adobe Audition because it was not my computer, and we were using a Motu firewire unit. I did the mixing and mastering on ardour and jamin though, which isn't saying much given I had to do all four songs in about an hour and a half. It doesn't sound bad though, and shows you can mix decent quality stuff with Linux software when you're pressed for time. (It would have taken forever with Audition, that program SUCKS for mixing) The recording isn't very clean, the Yamaha M3000 has very noisy preamps. BTW this was recorded in a very live auditorium, so all reverb is natural.
This band is about to get signed from what I hear, and I since I don't think most record labels like stuff from their bands floating around, try to keep this on the DL.
Anyways, see what you think. The band BTW is called "Jackson Waters". http://www.jacksonwaters.comhttp://students.jbu.edu/martinr/JW_Demo.ogg
-Reuben
So up till now I have recorded on my Audiophile 24/96 by doing something
simple like "arecord -D plughw:0,0".
Now I want to use envy24control to adjust the balance of the incoming
audio and record the result.
I think that the question I want to ask is: How do I connect
to the output of the "Digital Mixer" with arecord, but maybe someone
knows a better way?
AndyF.
Does anyone have portaudio functioning on their Linux box and if so, can
you give a brief overview of how and what is required?
eg: I read it will co-exist and work with alsa? Does that mean it
co-operates with jack and can be run from the Qjackctl app? Latency
issues? is it robust?
Thanks
I'm using the Gnome Wave Cleaner 0.20-07 to clean up
an old LP before burning it to CD. I've very impressed
with GWC. However, I do have one problem that
GWC seems unable to solve. There is one area of a song
that's muffled and I can't see any way to bring back the
"brighness" to match the rest of the song. I guess its highs
have been clipped in some way, probably from my
blundering ( this is my first LP with GWC ) but from the
screen I can't see any damage. I've tried the Edit->Amplify
command, but though it gets louder, it's still muffled. And
it's way to late to for the Undo command to help.
Does anyone have any ideas how to return the
brighness to a muffled section of a song? Would something
like Audacity help? I've no experience with sound editors,
so any information would be very welcome.
> > linux-2.6.10-rc2-mm1 kernel
>
> You are not going to get reliable operation with
> this kernel. You need Ingo\'s patches.
>
> Lee
I thought you said lkml posted that Ingo\'s patches for
2.6.10 so far were not compatable with x86_64?
(http://lkml.org/lkml/2004/11/19/33)
Thanks all for the help! When I get home Ill see if
its an acpi or laptop thing!
-thewade
Hello all,
Im hoping that you can help me with a problem Im having
with jack and PD.
I am running jackd from qjackctl in realtime with a 64
frame buffer (Hammerfall HDSP multiface: 2.67 ms delay).
I am using PD, and after both have been running fro about
20 min I get a ton of xruns. (and as an xrun has
negligable weight, that is a lot of xruns)
I got through my logs and can find no reason for this
when cross-referencing by time of occurance. Here are some
possible unrelated errors, or perhaps they are leading to
my problem...
>From System Logs:
Failure registering Root Plug module with the kernel
Failure registering Root Plug module with primary security module.
>From Kernel Startup Log:
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the \"pci=routeirq\" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of \"lspci\" to bjorn.helgaas(a)hp.com
** so I can fix the driver.
My system is:
(http://www.aproximation.org/application/AMD64laptop.html (old))
AMD64 laptop
Hammerfall HDSP multiface and cardbus
Fedora Core 3 test 1
linux-2.6.10-rc2-mm1 kernel
What does the priority selector mean in qjackctl setup? I just
leave it at 0.
Any help would be greatly appreciated! I would LOVE to get
this machine running jackd flawlessly.
Thank you for your time!
-thewade
Hi,
So I downloaded livenoisetools. Compiling needed some tweaking
(Time.h needed #include <assert.h>(?)) and I had to change some path in
the SConstruct file in the libspiralcore. Compiled, installed but
when I try to load noisepattern I get:
Traceback (most recent call last):
File "/usr/local/bin/noisepattern", line 26, in ?
from mi import *
ImportError: No module named mi
and, in fact, I cannot find a module 'mi' anywhere on my system and
since googling isn't returning anything meaningful, I am asuming this
is something that has simply been omitted from the distro...? The
same scripts loads something from a module 'alife' which also is a
mystery.
Noiseweapon loads fine, though, at least so it seems.
Thanks for any pointers.
./MiS
Hi
I really appreciate all the response about my problems with multiple
sound cards. The right answer for me was the .asoundrc file. I got the
info from alsa.org & went from there. I still didn't get jack to
respond favorably but I can record in real time using the arecord
command. As the recording needs to be totally unattended (I may not be
there) this arecord command along with cron will get the job done. As I
do now, I can edit it after the fact.
Thanks again for the help
Harold