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

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_bd3491fs-1.1.18.tar.gz
Algorithm Hash digest
SHA256 366a3505d0250c24dad481f292f5a2a9668cf82f483ed7e85aef379a98611c9f
MD5 a08fa53abb5794950b364563ea673027
BLAKE2b-256 34c1fcd165daa2fd5ec4b8a6bcd543189e152b981beaad6d457167b91512cca4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_bd3491fs-1.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a11f8c6e350203f41048be171f34f42118bf4280f4ccbd173e2d3af0a82ddd64
MD5 98c84fc9276dec623c16a29b98bf55ae
BLAKE2b-256 4306b84c568ce6283392ba1dc4ad8c38b58bed1f70030837d9e3b755049bf88a

See more details on using hashes here.

Supported by

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