Basically I have developed an application in C++ and have four classes. The functionality of the code works well with a “main” interface that just outputs the result.
The application I’ve built is in speech recognition, and I need to demonstrate it using either an Arduino or a Raspberry Pi and will include three LEDS that will turn on depending on the result. Here’s the problem / Questions…
-
I don’t want to change the classes in order to suite a different platform. It works well how it is, and I would just like this as a demonstration to how the code / functionality will work. Would this be possible using Arduino / Raspberry Pi?
-
I don’t want the Arduino / Raspberry Pi to physically handle the (WAV) file, because I need to change the conditions. Instead, I just want to send the (WAV) file to the device and then using the code I have already built which handles the WAV file. Is this possible AND would the Arduino or Raspberry Pi be the better choice?
I hope I have explained this in enough details.
P.S. I have included the C++ tag because it DOES kind of relate to C++.
If your application is already written in C++ I would recommend the Raspberry Pi as it has much more capabilities than an Arduino and I am not sure if C++ code is compatible with an Arduino (the ones I own support ATMEL assembly, C# on netduino, and some C/Java hybrid so I’m not sure). If you want to to run on a Pi you would just have to write some code for the LED lighting which there are examples of on the net already and the Pi can run an entire Linux OS to help you debug any issues you might have (on top of being pretty fun to mess around with).
Also for handling the .wav file transfer the Pi would handle it better as you have more variety in how you choose to handle the file (place it on the SD card, network, etc…).