Skip to content

Commit

Permalink
update debian folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-jam committed Nov 25, 2022
1 parent 4df09ce commit 6046f29
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OpenSesame Plug-in: Audio Low Latency
==========

*An OpenSesame plug-in for playing and recording audio files with low latency on Linux.*
*An OpenSesame plug-in for playing and recording audio files with low latency.*

Copyright, 2022, Bob Rosbag

Expand All @@ -10,11 +10,7 @@ Copyright, 2022, Bob Rosbag
--------

The main goal of this plug-in is to play and record audio with minimal and predictable latencies to achieve a high accuracy and precision. The 'PyAlsaAudio' package which uses the Linux ALSA audio system provided the best results within Python.
For compatibility reasons the 'PortAudio' and 'sounddevice' options were added so experiments can be created and fully executed on Windows systems. 'PortAudio' and 'sounddevice' are cross-platform and work on both Windows as Linux but these give a higher and more variable latency than the 'alsaaudio' option.
To fully utilize this plug-in you need a Linux system with ALSA and the 'PyAlsaAudio' package (version 0.8.4 or higher). In Debian and Ubuntu this package is named python3-pyalsaaudio. The Python package is also available on pypi and the source on github:

https://github.com/larsimmisch/pyalsaaudio

'PortAudio' and 'sounddevice' are cross-platform and work on both Windows as Linux.

This plug-in consist of playback and recording items as well as foreground as background (multi-threaded) items.
Both playback and recording have their own *init* item. These should be placed at the beginning of an experiment.
Expand Down
22 changes: 14 additions & 8 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
opensesame-plugin-audio-low-latency (8.7.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.9.0-1) unstable; urgency=medium

* new plugin code style

-- Bob Rosbag <[email protected]> Fri, 25 Nov 2022 21:18:17 +0100

opensesame-plugin-audio-low-latency (8.7.0-1) unstable; urgency=medium

* implemented undocumented info method for checking parameters

-- Bob Rosbag <[email protected]> Fri, 21 Oct 2022 10:29:27 +0200

opensesame-plugin-audio-low-latency (8.6.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.6.0-1) unstable; urgency=medium

* Removed deprecated methods from pyalsaaudio and use linux cli to check parameters
* Small corrections

-- Bob Rosbag <[email protected]> Fri, 14 Oct 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.5.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.5.0-1) unstable; urgency=medium

* audio recordings are saved in the experiment folder by default (thanks to Flavier Sebastien)
* option added to prevent overwriting recordings, suffix is added when needed (thanks to Flavier Sebastien)
Expand All @@ -20,34 +26,34 @@ opensesame-plugin-audio-low-latency (8.5.0-1) bullseye; urgency=medium

-- Bob Rosbag <[email protected]> Thu, 7 Jul May 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.4.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.4.0-1) unstable; urgency=medium

* corrected period size for play item when using cache
* merged play_file and play_data into play

-- Bob Rosbag <[email protected]> Mon, 6 Jun 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.3.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.3.0-1) unstable; urgency=medium

* fix for numpy data conversion for sounddevice by Flavier Sebastien

-- Bob Rosbag <[email protected]> Sat, 4 Jun 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.2.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.2.0-1) unstable; urgency=medium

* Fixed PyAudio
* Fixed Sounddevice

-- Bob Rosbag <[email protected]> Thu, 2 Jun 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.0.2-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.0.2-1) unstable; urgency=medium

* fixed new parameters not Initializing
* increased verbosity

-- Bob Rosbag <[email protected]> Tue, 24 May 2022 21:00:00 +0200

opensesame-plugin-audio-low-latency (8.0.0-1) bullseye; urgency=medium
opensesame-plugin-audio-low-latency (8.0.0-1) unstable; urgency=medium

* moved several checks to prepare phase
* fixed wav duration bug
Expand Down
10 changes: 8 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ Package: python3-opensesame-plugin-audio-low-latency
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
python3-numpy, python3-pygame, python3-opensesame
Description: An OpenSesame Plug-in for playing and recording audio files with low latency on Linux.

Recommends: python3-pyalsaaudio,
python3-sounddevice,
python3-pyaudio
Description: An OpenSesame plug-in for playing and recording audio files with low latency
The main goal of this plug-in is to play and record audio with minimal and predictable
latencies to achieve a high accuracy and precision. The PyAlsaAudio package which uses
the Linux ALSA audio system provided the best results within Python. PortAudio
and sounddevice are cross-platform and work on both Windows as Linux.

0 comments on commit 6046f29

Please sign in to comment.