I am using the Promira Serial Platform with the A2B Bus Monitor – Level 1 Application. I have questions about using the A2B API software.
Response from Technical Support: Thanks for your questions! When using the web GUI application, much of the data that you are looking for is determined in the configuration. When using Python, audio analysis software can used to provide the visual details you desire. Following are details for each question.
The PCM file captured using the python script is RAW audio data - it does not contain the information mentioned. However, the frequency should be known, as the A2B supports two frequencies for audio capture, 48 KHz (default) or 44.1 KHz, which are selected in the GUI application.
The API documentation is available on the Promira platform:
When using the python script, the PCM files contain raw audio data, a digital representation of the analog audio wave. The level (amplitude) is embedded in the data itself.
If and when you are using the GUI setup, you can set the sample bit resolution and the audio rate.
In the web GUI, the software that drives the GUI performs a Fast Fourier Transform (FFT) to show the frequencies. This is a standard audio analysis technique and is available in most audio analysis software.
The PCM file is the raw audio that was captured on the bus. While this file does not contain the level (amplitude) or frequency (audio rate) directly, this information can be generated with audio analysis software. For example, Audacity (free audio software) displays the audio as shown below.
You can also view a Spectrogram as shown below.
Additional resources that you may find helpful include the following:
We hope this answers your questions. If you have other questions about our A2B Bus Monitor or other Total Phase products, feel free to email us at sales@totalphase.com. You can also request a demo specific for your application.