The code in this package was written to conduct experiments using a psychoacoustics setup which consists of 48 loudspeakers and 4 cameras in a hemi-anaechoic room. The loudspeakers are driven by two digital signal processors from Tucker-Davis Technologies (TDT). While large parts of this package are tailored to one specific experimental setup, some elements (e.g. handling TDT device, head pose estimation) might have broader applicability.
Installation
Freefield requires Python 3.8 or later. Linux CI runs the test suite on Python 3.8 and 3.12. Use a dedicated Python environment. The example below uses Python 3.12. For a FLIR setup, choose a Python version supported by the Spinnaker SDK and Python wheel you plan to use.
conda create --name freefield python=3.12 pip
conda activate freefield
Clone or download the Freefield version you want to install. From the root of that checkout, run the command for your setup. Pip installs the Python dependencies declared by Freefield.
| Use case | Install command |
|---|---|
| Freefield with the base dependencies | python -m pip install . |
| Webcam or camera-based head pose estimation | python -m pip install ".[camera]" |
| Motion sensor | python -m pip install ".[sensor]" |
| Camera and motion sensor | python -m pip install ".[camera,sensor]" |
For a FLIR camera, install the camera extra and follow the FLIR steps below.
TDT processors
On Windows, install the TDT drivers, RPvdsEx, and ActiveX Controls from TDT Downloads. In the active Freefield environment, install the Python bindings for ActiveX.
conda install pywin32
On macOS and Linux, Freefield simulates the TDT processor connection.
FLIR cameras
-
Install the Teledyne Spinnaker SDK for your operating system.
-
Obtain the Python wheel for the same SDK version, matching your Python version and system architecture. For example, a wheel tagged
cp312-cp312-win_amd64targets 64-bit CPython 3.12 on Windows. See the Spinnaker Python installation guide for the compatibility table for SDK 4.4. -
In the active Freefield environment, install the downloaded wheel. Replace the example path with the path to your wheel.
python -m pip install "path/to/spinnaker_python-4.4.0.249-cp312-cp312-win_amd64.whl" python -c "import PySpin; print(PySpin.System)"
The Spinnaker wheel provides the PySpin import used by Freefield. The
pyspin project on PyPI is a terminal
spinner.
Verify the installation
Run these commands from outside the checkout to check the installed package.
python -m pip check
python -c "import freefield; print(freefield.__version__); print(len(freefield.read_speaker_table('dome')))"
If you installed the camera extra, check its imports as well.
python -c "import cv2; from headpose import PoseEstimator; print(cv2.__version__)"
See the installation guide for more details and the first steps to initialize a setup and play a sound.
Metadata
Release files for freefield 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freefield-1.1.1.tar.gz | 9.5 MB | With provenance | Details for freefield-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freefield-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for freefield-1.1.1-py3-none-any.whl |
Total release size: 19.1 MB
Release files / freefield-1.1.1.tar.gz
| Download URL | freefield-1.1.1.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a7e9e73202f6a53cdc461235294977012ead3bd1047065470733d3b6f966a12
|
|
BLAKE2b-256 checksum How to use checksums |
f43f7d3c21ddb285d4b8df8a0557310cd6c657b205171d3aa5237eae6498b427
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / freefield-1.1.1-py3-none-any.whl
| Download URL | freefield-1.1.1-py3-none-any.whl |
|---|---|
| Size | 9.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f5d0ea5af4efd4094d1555267ce671d37bba39839cd3ae5fd5ba20bf611283
|
|
BLAKE2b-256 checksum How to use checksums |
434fb7bbfb59ff80abb1abc1a1f927c89498e0417792acb1679ed902c54f8e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for freefield 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for freefield-1.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.