Add audio volume commands

This commit is contained in:
Marcel Bischoff 2015-10-15 02:09:41 +02:00
parent a08a587bb8
commit 5b453525a4

View File

@ -370,6 +370,16 @@ defaults read -g NSAutomaticSpellingCorrectionEnabled
afconvert input.mp3 ringtone.m4r -f m4af
```
#### Mute Audio Output
```bash
osascript -e 'set volume output muted true'
```
#### Set Audio Volume
```bash
osascript -e 'set volume 4'
```
#### Play Audio File
You can play all audio formats that are natively supported by QuickTime.
```bash