Skip to content

Commit

Permalink
increments version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Bechtold committed May 9, 2022
1 parent 035a921 commit ddf42d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ as silence for both playback and recording.

FAQ
---
Q: How to make it work on a headless Raspberry Pi?
Q: How to make it work on a headless Raspberry Pi?

A: PulseAudio is not installed by default on the Raspberry Pi OS Lite distribution (https://www.raspberrypi.org/software/operating-systems/). In order to use ``soundcard``, you have to install PulseAudio first, and edit the configuration (with a fix to avoid the main output to be in mono-only). ::
A: PulseAudio is not installed by default on the Raspberry Pi OS Lite distribution (https://www.raspberrypi.org/software/operating-systems/). In order to use ``soundcard``, you have to install PulseAudio first, and edit the configuration (with a fix to avoid the main output to be in mono-only). ::

sudo apt install -y python3-pip python3-numpy pulseaudio
sudo nano /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
sudo apt install -y python3-pip python3-numpy pulseaudio
sudo nano /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
# comment the block [Mapping analog-mono] with ';'
pulseaudio -D
python3 -m pip install soundcard
Expand Down Expand Up @@ -208,3 +208,8 @@ Changelog
(Thank you, Bob Thomas!)
- 2020-05-19 adds compatibility with Windows 7
(Thank you, demberto!)
- 2021-11-24 adds compatibility with NixOS library naming
(Thank you, shithead!)
- 2021-12-23 fixes deprecation for Python 3.10
(Thank you, Nekyo!)
- 2022-04-29 fixes deprecation in recent Numpy
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='SoundCard',
version='0.4.0',
version='0.4.2',
description='Play and record audio without resorting to CPython extensions',
author='Bastian Bechtold',
url='https://github.com/bastibe/SoundCard',
Expand Down

0 comments on commit ddf42d5

Please sign in to comment.