Code Monkey home page Code Monkey logo

demosauce's Introduction

demosauce - fancy icecast source client

BUILDING
==================
officially we support only linux, but the code is written with portability in mind.

Libraries
------------------
required libs:
libsamplerate, libmp3lame, libshout, libavcodec, libavformat

optional libs:
bass, libid3tag

you can use BASS for module playback (mod, s3m, xm, it). the configure script will ask and to the work for you. alternatively you can get the binaries for your system here http://www.un4seen.com/bass.html. extract the bass.h header file and bass.so for your platform. libid3tag is required for bass.

Linux
------------------
run installDependencies.sh to install the required libraries. it may actually work on a few distros.

OSX
------------------
you will need to install the required libraries manually.

BSD
------------------
on freebsd installDependencies.sh should work 

Windows
------------------
lol

SETUP
==================
copy contrib/demosauce.conf.example to demosauce.conf. then edit it. the comments will guide you.  

RUN
==================
you can either run demosauce with a full demovibes server (which demosauce was written for) or provide your own script. that script will listen on a certain port for a command (NEXTSONG) upon which it will return information about the next song to be played. the format is a couple of key-value pairs. if you're using demosauce with demovibes, just run the sockulf.py script in the demobibes directory.  
for a simple custom example script, check contrib/simple-sockulf.py. it will play all playable files in a given directory in a random order. you can use that script as the basis for you own solution. you probably only have to change the djDerp class. 
to control demosauce while it's running, use contrib/demosauce-control.py. 

LICENSE
==================
GPLv3 http://www.gnu.org/licenses/gpl.txt

FAQ
==================
if you have a question, contact me (maep) via irc: #nectarine on irc.eu.esper.net

what per-song settings are available?
    general
    ------------------
    gain        : <replay gain value>
    length      : <force length in seconds, 0 = disabled>
    fade_out    : false | true
    mix         : auto  | 0.0 - 0.5

    bass only
    ------------------
    bass_inter  : auto | off  | linear | sinc
    bass_ramp   : auto | off  | normal | sensitive
    bass_mode   : auto | bass | pt1    | ft2

cheers, maep

demosauce's People

Contributors

maep-- avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

demovibes

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.