Giter Site home page Giter Site logo

soundboard's Introduction

nSoundboard by DNA

Hey, this is a small application I made at 4 AM in the morning, which is just a simple soundboard which uses a Deno webserver for the backend and a Tauri frontend.

How to use

  • Put your sound and thumbnail files in the client-folder. Example:
client/klingeling.mp3 -> Sound file
client/klingeling.png -> Thumbnail file
  • Other file formats will not be recognized by the application
  • Updates in the client-folder will be recognized immediately, no need to restart the application
  • To prevent the site from going to fullscreen when clicking, you can input the following code in the console:
localStorage.setItem("pfs", "a");

Initial setup

Cloning the repo

gh repo clone DNAScanner/Soundboard

Setting up the frontend

# Change directory
cd Soundboard/frontend

# Set up Rust
curl "https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe" -o "rustup-init.exe"
.\rustup-init.exe
rm .\rustup-init.exe

# Set up Node.js
curl "https://nodejs.org/dist/v20.12.2/node-v20.12.2-x64.msi" -o "node-v20.12.2-x64.msi"
.\node-v20.12.2-x64.msi
rm .\node-v20.12.2-x64.msi

# Install dependencies
npm install

# IMPORTANT! Change the IP address in frontend/index.html to your device's IP address

# Build the frontend
npm run tauri build

# Done! The executable is at frontend/src-tauri/target/release/soundboard-daemon.exe

Setting up the backend

# Change directory
cd Soundboard

# Install Deno
iwr https://deno.land/x/install/install.ps1 -useb | iex

# Run the backend
deno run -A main.ts

Actually using the soundboard for what it's made for

I personally recommend Logitech MixLine for playing the sounds on your microphone, however you can basically use whatever app you want

Playing the sounds on your microphone using Logitech MixLine

  • First, install the Logitech MixLine Beta
  • When MixLine is installed, create a new virtual output device (which will be your new microphone) and also add your normal speakers Step 1
  • Now, add the application with the Microsoft Edge Webview icon and your normal microphone Step 2
  • Then, pull both inputs to the MIXLINE Record (or Stream) output Linking Sources
  • Lastly, in the application, where you want to use the soundboard, use the MIXLINE Record (or Stream) as your microphone Step 3
  • And now, enjoy your soundboard!

soundboard's People

Contributors

dnascanner avatar

Watchers

 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.