Code Monkey home page Code Monkey logo

Comments (5)

micahmo avatar micahmo commented on May 26, 2024

Hey @ThEditor, thanks for the suggestion! I will have to see if this is something Windows and NAudio support.

In the meantime, I wonder if there's any other way to accomplish what you want. Depending on the target of your audio you may be able to use another virtual audio device.

For example, I use OBS. It can detect desktop audio, but that's every sound your desktop makes, which I don't want. I made a virtual audio device with Voicemeeter, piped SoundBoard to that, and used that as my audio input in OBS. Then I used OBS's monitor feature to pipe that audio input back out so I could hear it over the desktop. And of course, the mic input is totally separate in OBS, so if you don't monitor it, you don't have to hear yourself.

I don't know if you're using anything like OBS, but maybe something along those lines would help until I can dig into this.

from soundboard.

micahmo avatar micahmo commented on May 26, 2024

Hey @ThEditor, I have an update on this. I did find that routing a media file to multiple devices is not really something that's supported by Windows or NAudio.

However, I also found that it's possible to simply open multiple streams of the same file, one for each audio device, and play them in parallel. This seems to work pretty well and I think it should cover your use case.

image

Access multi-selection by right-clicking on the device(s). Left-click selects a single device.

The major caveat is that these streams cannot really be synchronized, so it is possible for them to drift. The drift should be relatively small, though, and would only really be a factor if you were ultimately piping both audio outputs back to a single one where you could hear both streams.

Would you be willing to try the beta version I've just posted with this feature and let me know if it's stable for you? Note that you can run it on the same machine that has your existing version, although I'd highly recommended backing up the current version via the "Export configuration" menu item if you can't afford to lose your data.

https://github.com/micahmo/SoundBoard/releases/tag/v1.8-beta1

Thanks!

from soundboard.

ThEditor avatar ThEditor commented on May 26, 2024

I've tested it out and it seems to work perfectly. For my use case, I don't necessarily need it to be in complete synchronization so that's fine too.
Thanks!

from soundboard.

micahmo avatar micahmo commented on May 26, 2024

Awesome, I'm glad to hear that! I will leave it in beta for a little while, and if there are no issues, I'll promote to a release. Thanks for trying it out!

from soundboard.

micahmo avatar micahmo commented on May 26, 2024

Closed by v1.8

from soundboard.

Related Issues (18)

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.