diff --git a/README.md b/README.md index dae4fcf..6908019 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/debian/changelog b/debian/changelog index 0a02d76..e189ab2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 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 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) @@ -20,34 +26,34 @@ opensesame-plugin-audio-low-latency (8.5.0-1) bullseye; urgency=medium -- Bob Rosbag 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 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 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 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 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 diff --git a/debian/control b/debian/control index 18cc488..64994bb 100644 --- a/debian/control +++ b/debian/control @@ -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.