Hello,
It would be possible to improve the sound command, so that could play sounds in WAV format.
In the performance of ARM MCU Nevertheless, it would not be a problem.
The wish would be a simple command and several declarations at the beginning of the program as a definition of the connection pins SD CARD and whether to use a DAC or PWM and output pin (mono sound).
Thank you
It would be possible to command Sound Enhancement
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: It would be possible to command Sound Enhancement
Hi,
For now our Sound library supply users with routines necessary for simple sound signalization in their applications.
Sound_Play() function only generates the square wave signal on the appropriate pin.
You can take a look some MP3 example:
http://www.libstock.com/projects/view/2 ... ck-example
Example will play MP3 file "sound.mp3" located on the microSD card.
The extension of Sound Library (or creation of new one) to work with WAV format is good idea
and we will certainly consider that idea.
Thank you very much for your suggestions.
Best regards,
Marina
For now our Sound library supply users with routines necessary for simple sound signalization in their applications.
Sound_Play() function only generates the square wave signal on the appropriate pin.
You can take a look some MP3 example:
http://www.libstock.com/projects/view/2 ... ck-example
Example will play MP3 file "sound.mp3" located on the microSD card.
The extension of Sound Library (or creation of new one) to work with WAV format is good idea
and we will certainly consider that idea.
Thank you very much for your suggestions.
Best regards,
Marina
Re: It would be possible to command Sound Enhancement
hello,
MP3 example is nice, but I was thinking of playing a WAV or other audio files (MOD, S3M, etc. - it is not necessary) using only the MCU (not with help VS chip) as possible with the choice of using or not disable interrupts.
On libstock is a program for playing WAV files for mikroC PRO for PIC, but better would be a simple command or library for this purpose.
Thank You
MP3 example is nice, but I was thinking of playing a WAV or other audio files (MOD, S3M, etc. - it is not necessary) using only the MCU (not with help VS chip) as possible with the choice of using or not disable interrupts.
On libstock is a program for playing WAV files for mikroC PRO for PIC, but better would be a simple command or library for this purpose.
Thank You
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: It would be possible to command Sound Enhancement
Hi,
Like I already said, extension of Sound Library (or creation of new one) to work with WAV format (or some other format)
is a very good idea, and we will certainly consider that idea.
Once again, thank you very much for your suggestions.
Best regards,
Marina
Like I already said, extension of Sound Library (or creation of new one) to work with WAV format (or some other format)
is a very good idea, and we will certainly consider that idea.
Once again, thank you very much for your suggestions.
Best regards,
Marina