On Fri, 2006-11-17 at 16:22 +1030, Jonathan Woithe wrote:
[..]
I only just stumbled over this thread..
> I wrote this because I completely failed to find any
simple
> command-line based tool allowing me to easily play
audio out into
> JACK. If there is such an animal out there please let
me know.
> [..]
"animal" is a good name for
http://xjadeo.svn.sourceforge.net/viewvc/xja
deo/trunk/contrib/jadio/
It is experimental code that serves [too] many purposes, but
probably
not yours: It does *not* take [m]any command line arguments
and it's
jack connect code is mmmh... dirty. but it plays almost any
file that
ffmpeg, libquicktime or libsndfile can read along with jack
transport.
It scrubbs the audio if transport is paused and does
resampling via
libsamplerate...
for most of my needs I tend to use ecasound.
mplayer -novideo -ao jack:port=alsa_pcm ... might do the
trick as well.
xmms can run run without gui and xmms-shell is your friend.
least but not last 'alsaplayer -i text -o jack -d
freebob:dev1_pbk_Analog2,freebob:dev1_pbk_Analog3 ..'
..and qjackctl patchbays are one good solution for
(re)connecting apps,
but i guess you knew that. cmd-line jack-port args serve a
different
purpose.. :gotta have the right tools for every job:
Does anyone on the list know about ambitions to add jack
transport
awareness to a mature command line audio player? - It would
be cool but
i guess beyond the scope of ecasound to support encoded file
formats.
Could gstreamer fill in as a general purpose jack-transport
aware
CLI player some day?
One of these upcoming long winter nights, i might get around
to flesh
out jadio.c and stuff it with a proper main(), jack-init,
etc.
- jack_play/jack_record seem to be an ideal counterpart when
it comes
to setting up jack !
I see two tools hidden in jadio: one is a
jack_will_play_it_all
and the other is a scrub-buffer: If transport is rolling it
will simply
act as a repeater but buffer the last <n1> seconds
along with
jack-transport timestamps. - If paused it will scrub (loop
<n2> audio
samples) at the beginning of jack transport (only if they
are in the
buffer of course - else beep or sth.) - maybe this would be
a add-on
feature for timemachine ? (although there it might clash
with the idea
of flushing the buffer when switching from pause to play)
cheers,
robin
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jackit-devel mailing list
Jackit-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
|