sony-headphones-control-py icon indicating copy to clipboard operation
sony-headphones-control-py copied to clipboard

🎧 Control noise-cancelling mode of your Sony headphones via CLI

Sony Headphones Control

The SonyHeadphonesControl allows changing the noise-cancelling mode of Sony bluetooth headsets. Inspired by sony-headphones-control Tasker plugin.

Usage

sony-headphones-control <bt_addr> <mode>

bt_addr - MAC address of bluetooth headset

mode - one of following:

  • noise-cancelling
  • wind-cancelling
  • ambient-sound
  • disable

Examples

sony-headphones-control 00:00:00:00:00:00 noise-cancelling

Installation

Clone repository and run:

python setup.py install

License

SonyHeadphonesControl is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

SonyHeadphonesControl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with SonyHeadphonesControl; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA