List Info

Thread: ANNOUNCE: jack_play 0.1




ANNOUNCE: jack_play 0.1
user name
2006-11-29 14:20:25
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-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
ANNOUNCE: jack_play 0.1
user name
2006-11-30 17:15:13
On Wed, 2006-11-29 at 15:20 +0100, Robin Gareus wrote:
> 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/

as of last night, gstreamer CVS now has a JACK sink element,
thus giving
rise to my own "jplay" script:

#!/bin/sh

while [ $# -gt 0 ]
do
	gst-launch playbin uri=file://"$1" >/dev/null
2>&1
	shift
done

this is done after using gstreamer-properties to set my
default sink to
jacksink. it will play anything (including the audio part of
movies)
that gstreamer can handle.



------------------------------------------------------------
-------------
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-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
ANNOUNCE: jack_play 0.1
user name
2006-11-30 21:26:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Davis wrote:
> as of last night, gstreamer CVS now has a JACK sink
element, thus giving
> rise to my own "jplay" script:

I've just compiled
cvs.freedesktop.org/gstreamer/gst-plugins-bad
on top of debian/sid gstreamer-0.10  and it works nicely.

gstreamer+jackaudiosink is very CPU intense on my system:
~60% where
other players are <15%. - OT: I'm lost in the gstreamers
documentation -
 any quick hints where to start tweaking gst configuration
are welcome.

The output of gst-launch looks like it is supporting
jack-transport:
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: audioclock0

but it's not -  is there an other way to connect gst
pipelines to
jack-transport or vice-versa: gst-jack-time-master?  is this
work in
progress?

TIA,
robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFb0xNeVUk8U+VK0IRArL3AKCHNYUBzqesOfcijrGcWowIvR1HiACf
bAOp
sE81myp9aZ4m0RJC20gZnB8=
=QCeZ
-----END PGP SIGNATURE-----

------------------------------------------------------------
-------------
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-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
ANNOUNCE: jack_play 0.1
user name
2006-11-30 21:41:30
On Thu, 2006-11-30 at 22:26 +0100, Robin Gareus wrote:
> gstreamer+jackaudiosink is very CPU intense on my
system: ~60% where
> other players are <15%. - OT: I'm lost in the
gstreamers documentation -
>  any quick hints where to start tweaking gst
configuration are welcome.

damn, you're right. the absolute numbers are much smaller
here, probably
because i have a faster system, but it is much heavier. i'll
talk with
the guy who wrote it.

> The output of gst-launch looks like it is supporting
jack-transport:
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...

this has nothing to do with JACK transport.

> but it's not -  is there an other way to connect gst
pipelines to
> jack-transport or vice-versa: gst-jack-time-master?  is
this work in
> progress?

i've discussed transport control with some gst devs. its not
a part of
gstreamer itself, so it would have to be per-application.
gstreamer has
no concept of a timeline control, just a "seek"
call to reposition on a
timeline.


------------------------------------------------------------
-------------
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-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )