[Jackaudio] Get raw pcm from jack port
Louis Foster
sludge at low.show
Wed Apr 8 01:14:08 CEST 2020
Thanks, I'll look into how other libraries use the jack API to read the data and use this lib to try and attempt the same.
On Tue, 7 Apr 2020, at 23:42, Hannes Helmholz wrote:
> On 2020-04-07 23:02, Louis Foster wrote:
> > I've been trying to find a good way to a stream of audio from jack into
> > opusenc (the official opus encoder tool) and then pass it to something
> > like oggfwd to send to Icecast. However, a few different things I've
> > tried in python haven't worked out, and I'm trying to not have to rely
> > on an "audio file player" (like sox or pyaudio) to sit in the middle.
> > Now I'm wondering if there's a way I can get the raw pcm data from jack.
> > Is this possible? Is there an existing tool?
>
> You should be able to get raw audio data by means of any JACK API i.e.,
> in Python this works very well with jack-client
> https://github.com/spatialaudio/jackclient-python
>
> /Hannes
>
>
>
> *Attachments:*
> * signature.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20200408/c26a25a6/attachment-0001.html>
More information about the JackAudio
mailing list