All Projects → fcannizzaro → win-audio

fcannizzaro / win-audio

Licence: MIT license
Get, Set and Watch Speaker/Microphone Volume on Windows

Programming Languages

C++
36643 projects - #6 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to win-audio

Volumey
Volume mixer that allows you to set up global hotkeys to control your Windows audio system.
Stars: ✭ 139 (+202.17%)
Mutual labels:  volume, volume-control
funcd
Daemon for functional keys (works without X11)
Stars: ✭ 14 (-69.57%)
Mutual labels:  volume, volume-control
Inferno
🔥 Modern command line tool for malware creation on Windows
Stars: ✭ 105 (+128.26%)
Mutual labels:  microphone
Mimic Recording Studio
Mimic Recording Studio is a Docker-based application you can install to record voice samples, which can then be trained into a TTS voice with Mimic2
Stars: ✭ 202 (+339.13%)
Mutual labels:  microphone
Ubicoustics
Accompanying repository for Ubicoustics: Plug-and-Play Acoustic Activity Recognition
Stars: ✭ 134 (+191.3%)
Mutual labels:  microphone
Wad
Web Audio DAW. Use the Web Audio API for dynamic sound synthesis. It's like jQuery for your ears.
Stars: ✭ 1,540 (+3247.83%)
Mutual labels:  microphone
Plugin.audiorecorder
Audio Recorder plugin for Xamarin and Windows
Stars: ✭ 140 (+204.35%)
Mutual labels:  microphone
Mic hat
2 Mic Array for Raspberry Pi
Stars: ✭ 69 (+50%)
Mutual labels:  microphone
Videojs Wavesurfer
video.js plugin that adds a navigable waveform for audio and video files
Stars: ✭ 242 (+426.09%)
Mutual labels:  microphone
Univoice
P2P VoIP in Unity
Stars: ✭ 128 (+178.26%)
Mutual labels:  microphone
Audionetwork
Data transmission over sound waves written in JavaScript without any dependencies. All you need is just microphone, speakers and the browser!
Stars: ✭ 173 (+276.09%)
Mutual labels:  microphone
Privacy Indicator App
🔔 Get the famous "Recording Indicators" feature of iOS14 to android. Get notified every time a third-party app or a service uses camera or microphone.
Stars: ✭ 124 (+169.57%)
Mutual labels:  microphone
Mic Recorder To Mp3
Microphone Recorder to mp3
Stars: ✭ 117 (+154.35%)
Mutual labels:  microphone
Ledfx
LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
Stars: ✭ 153 (+232.61%)
Mutual labels:  microphone
Instacam
Instant canvas video
Stars: ✭ 106 (+130.43%)
Mutual labels:  microphone
Osx Push To Talk
OSX status bar application that mute microphone on user key press
Stars: ✭ 209 (+354.35%)
Mutual labels:  microphone
Figaro
Real-time voice-changer for voice-chat, etc. Will support many different voice-filters and features in the future. 🎵
Stars: ✭ 80 (+73.91%)
Mutual labels:  microphone
Alexa Voice Service.js
Library for interacting with Alexa Voice Service (AVS) in the browser.
Stars: ✭ 123 (+167.39%)
Mutual labels:  microphone
Cordova Plugin Audioinput
This iOS/Android Cordova/PhoneGap plugin enables audio capture from the device microphone, by in near real-time forwarding audio to the web layer of your application. A typical usage scenario for this plugin would be to use the captured audio as source for a web audio node chain, where it then can be analyzed, manipulated and/or played.
Stars: ✭ 137 (+197.83%)
Mutual labels:  microphone
Mute Me
App is replaced by the new version which called Mutify
Stars: ✭ 249 (+441.3%)
Mutual labels:  microphone

win-audio

Get, Set and Watch Speaker/Microphone Volume on Windows

Build status npm npm

Install

npm i --save win-audio

Requirements

node-gyp to build audio-napi.cc

Version 2.0.0

This version requires N-API, and node version >= 8.6.0

Module

 const win = require('win-audio');

 // manage speaker volume
 const speaker = win.speaker;

 // manage mic volume
 const microphone = win.mic;

Usage

const audio = require('win-audio').speaker;

audio.polling(200);

audio.events.on('change', (volume) => {
  console.log("old %d%% -> new %d%%", volume.old, volume.new);
});

audio.events.on('toggle', (status) => {
  console.log("muted: %s -> %s", status.old, status.new);
});

audio.set(40);

audio.increase(20);

audio.decrease(10);

audio.mute();

Functions

polling(interval: int = 500)

  • interval: milliseconds for check volume changes.

get()

Return current percentage of volume.

isMuted()

Return if speaker/mic is muted.

set(value: int)

Set a new master volume.

  • value: percentage of new volume. [0-100]

increase(value: int)

Increase current volume of value %.

  • value: percentage. [0-100]

decrease(value: int)

Decrease current volume of value %.

  • value: percentage. [0-100]

mute()

Mute volume.

unmute()

Unmute volume.

toggle()

Mute/Unmute volume according to current status.

Events

change

Called when volume is changed.

toggle

Called when volume is muted/unmuted.

Thanks to

Sebastian R (11AND2)

Author

Francesco Saverio Cannizzaro

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].