Giter Site home page Giter Site logo

bigmistake / onsetfm Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 7 KB

Add a radio to your cars! OnsetFM let's you add streams and tracks ingame to play in cars as a radio. Each stream is it's own channel, tracks are collected in a separate channel.

Home Page: https://forum.playonset.com/forum/onset/scripting/releases/1912-onsetfm-ingame-music-for-your-car

Lua 100.00%

onsetfm's Introduction

OnsetFM

Add a radio to your cars! OnsetFM let's you add streams and tracks ingame to play in cars as a radio. Each stream is it's own channel, tracks are collected in a separate channel.

https://github.com/BigMistake/OnsetFM

Installation

  1. For streams: add the urls to the /tracks/streams.txt file, each on their own line.
  2. For tracks: add the audio file to the /tracks/ folder.
  3. Add the tracks to the package.json.
  4. You can change keybindings and options in configurations.lua.

Usage

  • Turn the radio on and off (default "R").
  • Change the channels (default "[" and "]").
  • Change the volume (default "-" and "=").
  • Skip tracks if enabled (default "Page Up" and "Page Down").

Planned

  • 3D sounds - Currently not possible due to broken SetSound3DLocation(). Implemented.
  • Easy track installation (no filename changing) - Currently not possible due to broken OnSoundFinished. Implemented.
  • Broadcast to other clients.

Bugs & Issues

No bugs have been reported at this time. The package has not been tested on Linux yet, if there are any problems please let me know.

onsetfm's People

Contributors

bigmistake avatar

Stargazers

 avatar Blue Mountains avatar  avatar

Watchers

James Cloos avatar  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.