All Projects → frgnca → Audiodevicecmdlets

frgnca / Audiodevicecmdlets

Licence: mit
AudioDeviceCmdlets is a suite of PowerShell Cmdlets to control audio devices on Windows

Programming Languages

powershell
5483 projects

Labels

Projects that are alternatives of or similar to Audiodevicecmdlets

Argus Freesound
Kaggle | 1st place solution for Freesound Audio Tagging 2019
Stars: ✭ 265 (-10.17%)
Mutual labels:  audio
Youtube Audio Stream
youtube audio stream
Stars: ✭ 276 (-6.44%)
Mutual labels:  audio
Facebook Live Reactions
The easiest way to create interactive Facebook live streams. Displays reaction count and live shoutouts :)
Stars: ✭ 284 (-3.73%)
Mutual labels:  audio
Vocalizer
A simple javascript plugin to show people how to say your name correctly.
Stars: ✭ 270 (-8.47%)
Mutual labels:  audio
Vorbis
Reference implementation of the Ogg Vorbis audio format.
Stars: ✭ 271 (-8.14%)
Mutual labels:  audio
Audioindicatorbars
AIB indicates for your app users which audio is playing. Just like the Podcasts app.
Stars: ✭ 279 (-5.42%)
Mutual labels:  audio
Mu
An open-source music manager.
Stars: ✭ 260 (-11.86%)
Mutual labels:  audio
Soundspice Mobile
A light-weight and minimalist music player for Android
Stars: ✭ 289 (-2.03%)
Mutual labels:  audio
Voyagerimb
Voyager's Golden Disk Image Browser
Stars: ✭ 275 (-6.78%)
Mutual labels:  audio
Talk Android
📱😀 Video & audio calls through Nextcloud on Android
Stars: ✭ 282 (-4.41%)
Mutual labels:  audio
Localradio
📻 LocalRadio is "Radio for Cord-Cutters" – a Software-Defined Radio (SDR) app for your Mac and mobile devices. With an inexpensive RTL-SDR USB device, LocalRadio provides a casual, home-based radio listening experience for your favorite local frequencies - FM broadcasts/free music/news/sports/weather/public safety & aviation scanner/etc.
Stars: ✭ 269 (-8.81%)
Mutual labels:  audio
Kmedia
An application level media framework for Android. (RTFSC)
Stars: ✭ 274 (-7.12%)
Mutual labels:  audio
Quranjson
Quran JSON ~ 6236 verses, 114 surah, 30 Juz
Stars: ✭ 278 (-5.76%)
Mutual labels:  audio
Skylinkjs
SkylinkJS Javascript WebRTC SDK
Stars: ✭ 269 (-8.81%)
Mutual labels:  audio
Wire Ios
📱 Wire for iOS (iPhone and iPad)
Stars: ✭ 3,079 (+943.73%)
Mutual labels:  audio
Nara wpe
Different implementations of "Weighted Prediction Error" for speech dereverberation
Stars: ✭ 265 (-10.17%)
Mutual labels:  audio
Html5bytebeat
Bytebeats in HTML5
Stars: ✭ 277 (-6.1%)
Mutual labels:  audio
Daisysp
A Powerful, Open Source DSP Library in C++
Stars: ✭ 291 (-1.36%)
Mutual labels:  audio
Ble examples
Additional examples to compliment TI's Bluetooth Low Energy Stack offerings.
Stars: ✭ 289 (-2.03%)
Mutual labels:  audio
Cute headers
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
Stars: ✭ 3,274 (+1009.83%)
Mutual labels:  audio

Description

AudioDeviceCmdlets is a suite of PowerShell Cmdlets to control audio devices on Windows

Features

Get list of all audio devices
Get default audio device (playback/recording)
Get volume and mute state of default audio device (playback/recording)
Set default audio device (playback/recording)
Set volume and mute state of default audio device (playback/recording)

Import Cmdlet to PowerShell

Download AudioDeviceCmdlets.dll

New-Item "$($profile | split-path)\Modules\AudioDeviceCmdlets" -Type directory -Force
Copy-Item "C:\Path\to\AudioDeviceCmdlets.dll" "$($profile | split-path)\Modules\AudioDeviceCmdlets\AudioDeviceCmdlets.dll"
Set-Location "$($profile | Split-Path)\Modules\AudioDeviceCmdlets"
Get-ChildItem | Unblock-File
Import-Module AudioDeviceCmdlets

Usage

Get-AudioDevice -List             # Outputs a list of all devices as <AudioDevice>
                -ID <string>      # Outputs the device with the ID corresponding to the given <string>
                -Index <int>      # Outputs the device with the Index corresponding to the given <int>
		-Playback         # Outputs the default playback device as <AudioDevice>
                -PlaybackMute     # Outputs the default playback device's mute state as <bool>
                -PlaybackVolume   # Outputs the default playback device's volume level on 100 as <float>
                -Recording        # Outputs the default recording device as <AudioDevice>
                -RecordingMute    # Outputs the default recording device's mute state as <bool>
                -RecordingVolume  # Outputs the default recording device's volume level on 100 as <float>
Set-AudioDevice <AudioDevice>             # Sets the default playback/recording device to the given <AudioDevice>, can be piped
                -ID <string>              # Sets the default playback/recording device to the device with the ID corresponding to the given <string>
                -Index <int>              # Sets the default playback/recording device to the device with the Index corresponding to the given <int>
                -PlaybackMute <bool>      # Sets the default playback device's mute state to the given <bool>
                -PlaybackMuteToggle       # Toggles the default playback device's mute state
                -PlaybackVolume <float>   # Sets the default playback device's volume level on 100 to the given <float>
                -RecordingMute <bool>     # Sets the default recording device's mute state to the given <bool>
                -RecordingMuteToggle      # Toggles the default recording device's mute state
                -RecordingVolume <float>  # Sets the default recording device's volume level on 100 to the given <float>
Write-AudioDevice -PlaybackMeter  # Writes the default playback device's power output on 100 as a meter
                  -PlaybackSteam  # Writes the default playback device's power output on 100 as a stream of <int>
                  -RecordingMeter # Writes the default recording device's power output on 100 as a meter
                  -RecordingSteam # Writes the default recording device's power output on 100 as a stream of <int>

Build Cmdlet from source

  1. Using Visual Studio Community, create new project from SOURCE folder
    File -> New -> Project From Existing Code...

     Type of project: Visual C#
     Folder: SOURCE
     Name: AudioDeviceCmdlets
     Output type: Class Library
    
  2. Install System.Management.Automation NuGet package
    Project -> Manage NuGet Packages...

     Browse: System.Management.Automation
     Install: v6.3+
    
  3. Set project properties
    Project -> AudioDeviceCmdlets Properties...

     Assembly name: AudioDeviceCmdlets
     Target framework: .NET Framework 4.5+
    
  4. Set solution configuration
    Build -> Configuration Manager...

     Active solution configuration: Release
    
  5. Build Cmdlet
    Build -> Build AudioDeviceCmdlets

     AudioDeviceCmdlets\bin\Release\AudioDeviceCmdlets.dll
    

Attribution

Based on code posted to Code Project by Ray Molenkamp with comments and suggestions by MadMidi
http://www.codeproject.com/Articles/18520/Vista-Core-Audio-API-Master-Volume-Control
Based on code posted to GitHub by Chris Hunt
https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdlet

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].