Coder Social home page Coder Social logo

audio sender about ofxndi HOT 5 CLOSED

stephanschulz avatar stephanschulz commented on August 27, 2024
audio sender

from ofxndi.

Comments (5)

nariakiiwatani avatar nariakiiwatani commented on August 27, 2024 1

I added an audio example.
There's also a receiver example.
check it, please. :)

from ofxndi.

stephanschulz avatar stephanschulz commented on August 27, 2024 1

thanks for putting in this extra work.
yes it does work better now. the audio makes sense now. it's still very low quality over my wifi network with some crackling too.
But you are correct that's up to me now to figure out how to make the send and receive buffer more stable.
I was hoping that NDI is this magic tool that handles most of the quality control in the back :(

from ofxndi.

stephanschulz avatar stephanschulz commented on August 27, 2024

thanks for making those examples.

I tried them. I tried both on the same computer which produces crackling noisy sound.
Then I tired is with 2 computers on the same local network. Same problem with crackling bad sound.

receiver does seem to start ok

NDI Source Detected : STEPHAN.LOCAL (ofxNDI audio sender example),10.0.1.3:5961

but after a while says:

[warning] ofRtAudioSoundStream: stream over/underflow detected

does it work for you?
I'm on macOS 10.12.6 with OF 0.10.0

from ofxndi.

nariakiiwatani avatar nariakiiwatani commented on August 27, 2024

No, my machine also makes noise. XD
The noise occurs because there is no enough received audio samples when the system requires audio signal.

I thought it was okay because it is not a problem from the addon itself; it depends how programmers treat their audio buffers.
It is related to a kind of tradeoff between responsibility and stability.

But after some glance and checking, now I think at least I should show how developers could deal with them.
I roughly fixed audio examples to try to show the way.
Could you try it out?
https://github.com/nariakiiwatani/ofxNDI/tree/fixAudioExamplesClippingNoise

After more fixes and optimization, I will merge them to master.

from ofxndi.

nariakiiwatani avatar nariakiiwatani commented on August 27, 2024

Updated examples and closing this issue.

I was hoping that NDI is this magic tool that handles most of the quality control in the back :(

Actually me too. 😢
There is no golden hammer. 🔨

from ofxndi.

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.