Giter Club home page Giter Club logo

Comments (3)

duncanthrax avatar duncanthrax commented on July 29, 2024 1

It took a while, but this has now been added. See the front page.

from scream.

duncanthrax avatar duncanthrax commented on July 29, 2024

A higher static sample rate is trivial, if you want to build yourself, just look for

#define MIN_SAMPLE_RATE             44100   // Min Sample Rate
#define MAX_SAMPLE_RATE             44100   // Max Sample Rate

in scream.h. The Windows audio subsystem will resample as required. You might also want to modify CHUNK_SIZE in savedata.cpp so that an even number of samples fits in exactly one packet. Dynamic sample rates aren't possible with the current "protocol" (in quotes, because there isn't any :) ).

Making the static rate configurable might be possible, I'll check that out next time I do a build.

from scream.

Teteros avatar Teteros commented on July 29, 2024

I'd like to add to the above that the receivers also need to be modified and rebuild or you will get sped up or slowed down playback on Linux if there's a sample rate mismatch between the receiver/scream.

Alsa / Pulse lines to change.

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.