Giter VIP home page Giter VIP logo

scream's Introduction

Scream - Virtual network sound card for Microsoft Windows

Scream is a virtual device driver for Windows that provides a discrete sound device. Audio played through this device is published on your local network as a PCM multicast stream.

Receivers on the network can pick up the stream and play it through their own audio outputs. Two simple servers for Linux (interfacing with PulseAudio or ALSA) and one for Windows are provided.

Scream is based on Microsoft's MSVAD audio driver sample code.

Download and install

A ZIP file containing a signed x64 build is available on the GitHub releases page. The "installer" is a batch file that needs to be run with administrator rights.

The build is supposed to run on all x64 versions of Windows 7 through Windows 10.

Microsoft has recently tightened the rules for signing kernel drivers. These new rules apply to newer Windows 10 installations that were not upgraded from an earlier version. If your installation is subject to these rules, the driver will not install. Workaround: Disable secure boot in BIOS. For more information, see this issue.

Usage

All audio played through the Scream device will be put onto the local LAN as a multicast stream. The multicast target address and port is always "239.255.77.77:4010". The audio is a raw PCM stream, always 44100kHz, 16bit, stereo. It is transferred in UDP frames with a payload size of max. 980 bytes, representing 1/180 second of audio. Delay is minimal, since all processing is done on kernel level.

Receivers simply need to read the stream off the network and stuff it into a local audio sink. The receiver system's kernel should automatically do the necessary IGMP signalling, so it's usually sufficient to just open a multicast listen socket and start reading from it. Minimal buffering (~ 4 times the UDP payload size) should be done to account for jitter.

Three receivers are provided:

  • Linux/Pulseaudio: Not included in the installer package. Just type 'make' to build it.

  • Linux/ALSA: Contributed by @ivan. Not included in the installer package. Just type 'make' to build it.

  • Windows: ScreamReader, contributed by @MrShoenel. Included in the installer package as of version 1.2.

All three receivers can be run as unprivileged users.

Building

VS2015 and matching WDK are required. You might also have luck with earlier (or future) VS versions, but I didn't test that.

scream's People

Contributors

delekhan avatar duncanthrax avatar ivan avatar kubo avatar mrshoenel avatar

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.