Re: [LAD] El-Cheapo software-only equivalent

2010-07-22 Thread rom
Hi, last night i finally managed to try jackd+alsa_in and yes, it works!
I used an intermittent beep as a test signal. One thing i've noticed, is
that the master stream is about 450-500 frames early in respect to the
slave streams, while the gap among the 3 slave streams is within 35-40
frames. I'll try to tune things up a bit, and see if it get better.

 theoretically your tool could achieve better sound quality than alsa_in,
 because it doesnt need to be realtime. (it could also do perfect phase
 alignment)
   
...hmm, it would require some serious math skills that i don't have :-( 
And moreover, i don't think it would make much sense to seek for sound
quality in this context.
It is enough to be able to get something barely decent, using only some
junk computer parts that were laying around in your attic (...the first
version was able to record 4 channels on a Pentium 166 with 24MB of ram
:-D )

 so the basic question is, if you are still motivated to continue working
 on it
yeah, actually, i had already stopped working on the core functionality
of my program because it was just good enough for my purpose. Now that i
know of the existence of alsa_in, i don't think i'm going to release a
new project to confuse people even more.

Instead, now i was wondering if it could be useful to move the alsa_in
functionality to a lower level, like an alsa plugin. But from what you
said, i guess the alsa_in algorithm prefers the always-on behaviour of
jack (it starts capturing immediately as you start the daemon), instead
of the start-stop behaviour of a typical pure-alsa recording
application. So, i think the answer is no, and alsa_in is simply the
perfect tool i've never heard of before! Aaargh :-D
(...well, i started putting together my program in dec-2008, so maybe it
just wasn't there at the time...)

thanks very much to all of you.

i'll see if i can create some documentation to make that
alsa_in/alsa_out tools less ignored, instead of releasing a new
software. Obviously, with all the proper disclaimers stating that it's
not a substitute for a real multitrack ;-)

bye
alberto

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] El-Cheapo software-only equivalent

2010-07-21 Thread rom
On 21/07/10 09:43, Arnold Krille wrote:
 So please, if you create homepage for the app, state the problem and the fact 
 that your (nice!) app is not a solution but only a patch to the problem...
   
:-D eheh, yes yes i will... i can even provide a sample recording that
clearly shows the problems of this approach: basically, wiring all the
inputs to the same white noise signal and recording it, shows some
random phase shifts in the mixdown, and the hi freqs just sound bad.
But, when i record from independent mics, actually crappy mics (cheap
electret cartridges), in a room with lots of reverb, and lots of other
problems, that problem seems less evident.

Anyway, now i'll try to use that alsa_in tool that Adrian mentioned
before; if it has the same functionality, i'll use that instead. It's
strange, there doesn't seem to be very much information about it...
thanks for pointing out.

Thank you all for the replies

Alberto

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


[LAD] El-Cheapo software-only equivalent

2010-07-20 Thread rom
Hi all, i'm new to this list.
I'd like to ask some advice about a small multitrack recorder program i
wrote, and have been using for some time. Basically, what it does is to:
- simultaneously capture sound from several consumer-grade soundcards.
- use libsamplerate to stretch the audio streams, re-syncing them to the
one chosen as master. The stretch ratio is continuously re-calculated
to make the overall frame count of the stretched stream match the
overall frame count of the master.
- write the corrected streams plus the master stream to parallel
.wav files using libsndfile.

The purpose is the same as the quite famous El-Cheapo Howto (
http://quicktoots.linuxaudio.org/toots/el-cheapo ), just with no
soldering involved :-)

Of course, i know the solution is far from perfect, but i use it to
record some friends of mine who play in a blues/punk band, and the
result is not that bad.

Now, the question is: do you think this piece of code can be of any
interest for someone out there?
Do you think i should i publish it on an open source repository ? Or
maybe there's already some other software i'm not aware of, that does
the same thing?

thanks for your patience, please excuse my bad english.

bye
alberto

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev