It would be possible to command Sound Enhancement

Post your requests and ideas on the future development of mikroBasic PRO for ARM.
Post Reply
Author
Message
Jardik
Posts: 60
Joined: 06 Jan 2010 18:28

It would be possible to command Sound Enhancement

#1 Post by Jardik » 02 Sep 2013 23:43

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

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: It would be possible to command Sound Enhancement

#2 Post by marina.petrovic » 03 Sep 2013 13:45

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

Jardik
Posts: 60
Joined: 06 Jan 2010 18:28

Re: It would be possible to command Sound Enhancement

#3 Post by Jardik » 03 Sep 2013 23:39

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

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: It would be possible to command Sound Enhancement

#4 Post by marina.petrovic » 04 Sep 2013 12:14

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

Post Reply

Return to “mikroBasic PRO for ARM Wish List”