windfreak is a pure Python package to facilitate use of Windfreak Technologies devices from Python.
windfreak is Python 3 compatible.
- SynthHD v1.4
- SynthHD PRO v1.4
- SynthHD v2
- SynthHD PRO v2
Using pip
:
pip install windfreak
Using setup.py
:
git clone https://github.com/christian-hahn/windfreak-python.git
cd windfreak-python
python setup.py install
from windfreak import SynthHD
synth = SynthHD('/dev/ttyACM0')
synth.init()
# Set channel 0 power and frequency
synth[0].power = -10.
synth[0].frequency = 2.e9
# Enable channel 0
synth[0].enable = True
windfreak-python is covered under the MIT licensed.