Giter Club home page Giter Club logo

Comments (10)

kode54 avatar kode54 commented on July 29, 2024

Can I add this here? A feature request for a macOS transmitter/sender. It will only easily support network mode. It can be a user mode driver, similar to the BackgroundMusic driver, so it won't need kernel signing.

from scream.

dFlamer avatar dFlamer commented on July 29, 2024

Sorry to bother everyone :(

could anyone explain to me how that works? I managed to brew install pulse audio, but I can't get the dev things for obv. reasons,

when trying to run scream-pulse after make I just get

> devy@devys-iMac pulseaudio % ./scream-pulse -p 4011 -i en0
> W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
> Unable to connect to PulseAudio. Connection refused

from scream.

martinellimarco avatar martinellimarco commented on July 29, 2024

It seems that pulseaudio is not running, open another terminal and run pulseaudio then run again scream-pulse. I've just tested on MacOS Catalina and it does connect to pulseaudio (I didn't stream anything, I don't have a windows pc here).
You can also run pulseaudio as a daemon with pulseaudio -D.

from scream.

jollybully avatar jollybully commented on July 29, 2024

I have this working great, however my the latency of pulseaudio on the receiving end (osx / macos) is fixed at 250ms.
Pulseaudio is very new to me and i'm currently pulling my hair out trying to lower the PA fixed-latency of all my audio devices.

I know this probably isn't the correct or most appropriate forum to ask, but does anyone have any idea of how to lower the fixed latency?

@kourindouhime how is the latency for you?

Below is the output from pacmd list-sinks

index: 1
name: <Out_1__Out_2__Out_3__Out_4>
driver: <module-coreaudio-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
state: RUNNING
suspend cause: (none)
priority: 9000
volume: mono: 65536 / 100% / 0.00 dB, mono: 65536 / 100% / 0.00 dB, mono: 65536 / 100% / 0.00 dB, mono: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 12.17 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: float32le 4ch 48000Hz
channel map: mono,mono,mono,mono
Mono
used by: 1
linked by: 1
fixed latency: 250.00 ms
card: 1 <UMC404HD_192k>
module: 8
properties:
device.string = "UMC404HD 192k"
device.product.name = "UMC404HD 192k"
device.description = "UMC404HD 192k"
device.access_mode = "mmap"
device.class = "sound"
device.api = "CoreAudio"
device.buffering.buffer_size = "8192"
device.vendor.name = "BEHRINGER"
device.icon_name = "audio-card"

from scream.

nicruo avatar nicruo commented on July 29, 2024

@jollybully did you manage to reduce the latency?

from scream.

DatanoiseTV avatar DatanoiseTV commented on July 29, 2024

By implementing support fore coreaudio, the latency should be very low.

from scream.

DatanoiseTV avatar DatanoiseTV commented on July 29, 2024

By implementing support fore coreaudio, the latency should be very low.

from scream.

dilincoln avatar dilincoln commented on July 29, 2024

Someone can make a guide to how to connect macOS receiver with Windows server?

from scream.

pawitp avatar pawitp commented on July 29, 2024

I was able to use the raw output function in conjunction with ffplay to get audio output with decent latency.

./scream -o raw  | ffplay -f s16le -ar 44100 -ch_layout stereo -fflags nobuffer -

from scream.

pawitp avatar pawitp commented on July 29, 2024

The ffplay solution eventually stops working if there are too many gaps in the network packets, likely due to how CoreAudio works.

I've create a proof-of-concept for a CoreAudio receiver here - pawitp#1

Currently, I'm not planning to productionize it, but if anyone would like to create a CoreAudio receiver, please feel free to use it as a start.

from scream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.