mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-06-01 10:57:01 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8bcf03f288 | |||
| 2a2fa8f742 |
@@ -2,7 +2,7 @@
|
||||
|
||||
For documentation, see http://larsimmisch.github.io/pyalsaaudio/
|
||||
|
||||
> Author: Casper Wilstrup (cwi@aves.dk)
|
||||
> Author: Casper Wilstrup (cwi@aves.dk)
|
||||
> Maintainer: Lars Immisch (lars@ibp.de)
|
||||
|
||||
This package contains wrappers for accessing the
|
||||
@@ -46,14 +46,9 @@ First, get the sources and change to the source directory:
|
||||
$ cd pyalsaaudio
|
||||
```
|
||||
|
||||
Then, build:
|
||||
Then, build and install:
|
||||
```
|
||||
$ python setup.py build
|
||||
```
|
||||
|
||||
And install:
|
||||
```
|
||||
$ sudo python setup.py install
|
||||
$ pip install .
|
||||
```
|
||||
|
||||
# Using the API
|
||||
@@ -62,8 +57,8 @@ distribution; it is also online on [http://larsimmisch.github.io/pyalsaaudio/](h
|
||||
|
||||
There are some example programs included with the source:
|
||||
|
||||
* [playwav.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playwav.py) plays back a wav file
|
||||
* [playbacktest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playbacktest.py) plays back raw sound data read from stdin
|
||||
* [recordtest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/recordtest.py) captures sound from the microphone and writes
|
||||
* [playwav.py](./examples/playwav.py) plays back a wav file
|
||||
* [playbacktest.py](./examples/playbacktest.py) plays back raw sound data read from stdin
|
||||
* [recordtest.py](./examples/recordtest.py) captures sound from the microphone and writes
|
||||
it raw to stdout.
|
||||
* [mixertest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/mixertest.py) can be used to manipulate the mixers.
|
||||
* [mixertest.py](./examples/mixertest.py) can be used to manipulate the mixers.
|
||||
|
||||
+8
-18
@@ -1,28 +1,18 @@
|
||||
# Make a new release
|
||||
|
||||
Update the version in setup.py
|
||||
Create and push a tag naming the version (i.e. 0.11.1):
|
||||
|
||||
pyalsa_version = '0.9.0'
|
||||
git tag 0.11.1
|
||||
git push origin 0.11.1
|
||||
|
||||
Commit and push the update.
|
||||
|
||||
Create and push a tag naming the version (i.e. 0.9.0):
|
||||
|
||||
git tag 0.9.0
|
||||
git push origin 0.9.0
|
||||
|
||||
Create the package:
|
||||
|
||||
python3 setup.py sdist
|
||||
|
||||
Upload the package
|
||||
|
||||
twine upload dist/*
|
||||
|
||||
Don't forget to update the documentation.
|
||||
This should trigger a build via a github actions and publish pre-built binaries to pypi.org
|
||||
|
||||
# Publish the documentation
|
||||
|
||||
All commits to main should trigger a rebuild of the documentation.
|
||||
|
||||
## Historical background
|
||||
|
||||
The documentation is published through the `gh-pages` branch.
|
||||
|
||||
To publish the documentation, you need to clone the `gh-pages` branch of this repository into
|
||||
|
||||
+1
-5
@@ -86,11 +86,7 @@ ship with ALSA kernels.
|
||||
|
||||
To install, execute the following: --- ::
|
||||
|
||||
$ python setup.py build
|
||||
|
||||
And then as root: --- ::
|
||||
|
||||
# python setup.py install
|
||||
$ pip install .
|
||||
|
||||
|
||||
*******
|
||||
|
||||
Reference in New Issue
Block a user