Exporting Waveforms from Haptic Studio to the SDK
Question:
How do I export waveforms I created from Haptic Studio and import them in the SDK?
Answer:
Haptic Studio offers exporting of waveforms as code snippet which can be copy-pasted into SDK application code.
Go to the Waveform tab and select waveforms to export. Then, click the Export button. A dialog will appear; click the Copy button, then paste the copied snippet into your code.
In the SDK readme.md file, navigate to an example. You’ll find more detailed instructions along with screenshots of these operations in that readme.md file.
Note for the waveform to play correctly, you will also need the configuration profile. When connecting the devkit, select the appropriate board and click on the configuration button. The configuration code snippet can be exported the same. Again, consult the SDK readme.md documentation for details.
Leave a comment