Hello all.
This is one of my first projects and experiences with the mbed, and I have to admit that I am very surprised and satisfied with it.
To be able to test out all of the different periphirals, especially USB Host and Ethernet, we decided to make our own breakout board with the required connectors.
Then I decided to make a project which uses a couple of these periphirals, and I ended up making a project that generates audio files (.wav) on webserver, and then download them to a USB memory stick for later playback.
The project outline is a random number generator, where the random numbers are sponken by a computer voice.
The Audio is played back using the wave_player library.
Hello all.
This is one of my first projects and experiences with the mbed, and I have to admit that I am very surprised and satisfied with it.
To be able to test out all of the different periphirals, especially USB Host and Ethernet, we decided to make our own breakout board with the required connectors.
Then I decided to make a project which uses a couple of these periphirals, and I ended up making a project that generates audio files (.wav) on webserver, and then download them to a USB memory stick for later playback.
The project outline is a random number generator, where the random numbers are sponken by a computer voice.
The Audio is played back using the wave_player library.
{{http://www.youtube.com/watch?v=KveP9FZ_dOg}}
NOTE: A free voice generation service can be found here: http://www.tkjweb.dk/?goto=Voice
A more detailed description and the code can all be found at our blog on the following link: http://blog.tkjelectronics.dk/2011/10/mbed-rapid-prototyping-with-microcontrollers/
Best Regards, Thomas Jespersen
Thank you Simon.
In the following week I will put up a public link for the voice generator I made and is using in the video.
The source for the generator will also be uploaded so people can set up the server themselves if required.
Thomas
Thank you Simon.
In the following week I will put up a public link for the voice generator I made and is using in the video.
The source for the generator will also be uploaded so people can set up the server themselves if required.
Thomas
The code you see in this review is the code I used in the project. You have to add your own generation URL and Wave file download URL to get it working.
I will soon post the PHP- and .NET-code which is used to generate the Voice wave file.
If you are just looking for a way to download files to your mbed and a USB memory stick you should have a look at the “int get_file(char *url, char *file)” function. This functions saves the content of a file on the internet (url) to a local file (file). The location of the local file can be all the places the mbed supports: /usb, /sd and /local.
Best Regards
Thomas Jespersen
Dear Assad.
The code you see in this review is the code I used in the project. You have to add your own generation URL and Wave file download URL to get it working.
I will soon post the PHP- and .NET-code which is used to generate the Voice wave file.
If you are just looking for a way to download files to your mbed and a USB memory stick you should have a look at the “int get_file(char *url, char *file)” function. This functions saves the content of a file on the internet (url) to a local file (file). The location of the local file can be all the places the mbed supports: /usb, /sd and /local.
Best Regards
Thomas Jespersen
I have now made a free Voice Generation service, which is using Microsoft SAM for the generation part.
The service is free though limited to a maximum of 100 voice generations per day.
After you have created a user you will receive a mail with more information on how to use the service.
Best Regards, Thomas Jespersen
I have now made a free Voice Generation service, which is using Microsoft SAM for the generation part.
The service is free though limited to a maximum of 100 voice generations per day.
You can create a user here: [[http://www.tkjweb.dk/?goto=Voice]]
After you have created a user you will receive a mail with more information on how to use the service.
Best Regards, Thomas Jespersen
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hello all. This is one of my first projects and experiences with the mbed, and I have to admit that I am very surprised and satisfied with it.
To be able to test out all of the different periphirals, especially USB Host and Ethernet, we decided to make our own breakout board with the required connectors. Then I decided to make a project which uses a couple of these periphirals, and I ended up making a project that generates audio files (.wav) on webserver, and then download them to a USB memory stick for later playback.
The project outline is a random number generator, where the random numbers are sponken by a computer voice. The Audio is played back using the wave_player library.
NOTE: A free voice generation service can be found here: http://www.tkjweb.dk/?goto=Voice
A more detailed description and the code can all be found at our blog on the following link: http://blog.tkjelectronics.dk/2011/10/mbed-rapid-prototyping-with-microcontrollers/
Best Regards, Thomas Jespersen