Skip to main content

CircuitPython library for the Rohm BD3491FS Audio Processor

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython library for the Rohm BD3491FS Audio Processor

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-bd3491fs

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-bd3491fs

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-bd3491fs

Usage Example

import board
import adafruit_bd3491fs
import busio

i2c = busio.I2C(board.SCL, board.SDA)
bd3491fs = adafruit_bd3491fs.BD3491FS(i2c)

bd3491fs.active_input = adafruit_bd3491fs.Input.A
bd3491fs.input_gain = adafruit_bd3491fs.Level.LEVEL_20DB
bd3491fs.channel_1_attenuation = 0
bd3491fs.channel_2_attenuation = 0

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adafruit_circuitpython_bd3491fs-1.1.19.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_bd3491fs-1.1.19.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_bd3491fs-1.1.19.tar.gz
Algorithm Hash digest
SHA256 1d78e76ad340816a4400829bbb6d69ca974016c40bf8a0d3640728a64b86e8e3
MD5 5b596d25bfc087aeac6a12b24254e73c
BLAKE2b-256 69f9a5514d91d1a40c70e227d69882f43561a01873f7102680c2fc889898c54f

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_bd3491fs-1.1.19-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_bd3491fs-1.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 14c0ca029f9bae01d55dd126610e236a689f181a15763a497e6a34c9eeb99f03
MD5 8479f20a416d43dd3ff6f9d2ecf69a68
BLAKE2b-256 0382bda62192b7caa456a5decfd018daafa0f43234e8f428b490052434f6faee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page