now I don’t have a Khadas Tone board and I want to buy one today. after installing the driver what will happen? I installed and opened the software:
if you have a board and the software please guide me what should I do? how should I load my signals into the software? I hope Khadas team prepare a driver to use the Khadas tone board in the Matlab software.
"If you have devices that present themselves as serial ports on your operating system, you can use them as virtual USB serial ports in MATLAB. Examples of such devices would be Bluetooth® devices and USB Serial Dongles.
MATLAB can communicate with these devices as long as the serial drivers provided by the device vendor are able to emulate the native hardware. Certain software, like HyperTerminal, does not require the device driver to fully implement and support the native hardware. "
now my question is: if you install the driver of Khadas Tone board on your computer, does Khadas present itself as a serial port on your operating system?
and this way:
Does Khadas Tone board use the DirectSound driver? if so I can use this solution.
MATLAB and Data Acquisition Toolbox support Windows® compatible sound cards that use the DirectSound driver. Use MATLAB as your single software environment to create your own waveforms, measurement and analysis routines, and to develop automated applications that use sound card data.
Use MATLAB to perform the following tasks on Windows sound cards:
Acquire data from multiple audio input channels
Generate audio data for multiple audio output channels
Configure the sound card sampling rate and other settings
Analyze sound card data as it is being acquired
Trigger the start of your data acquisition
Easily switch sound cards with minimal changes to MATLAB code
plus there is another way: but I don’t know it works with the Khadas Tone board.
Your idea is so interesting,you may like to record the orginal sound from the source, the sound data can be put into Matlab,and you can edit the sound data for special effect, and then play the special music you make by yourself. About this I should tell you some points below:
Khadas Tone board is USB DAC,which is convert digital data to analog signals. it is not an ADC.It can not acquire data from sound source.
If you want to get Tone board to listen songs which you make by Matlab. I think this is OK.But you should convert the sound data to PCM or DSD format. And then you need to install a player on your PC,such as Foobar2000, so you can listen your own music with our Tone board.
About how to acquire from sound card by matlab and how to convert PCM or DSD format songs,I am sorry for these,you can get to support from mathworks.
Now, like it was said, it’s not an audio recording interface, with inputs and outputs.
You will play the signal on the Tone board, it will go out on analog outputs, and you will need an ADC to send it back to Matlab, a good one or it will be the ADC device that would reduce the quality of the chain.