View previous topic :: View next topic |
Author |
Message |
freedom
Joined: 10 Jul 2011 Posts: 54
|
voice / sound in pic |
Posted: Sat Dec 24, 2011 3:59 am |
|
|
Hi there
Recently I've known that sound file is created by Roman Black's BTc 1 bit Sound Encoder for PIC in this link:
http://www.romanblack.com/picsound.htm
In the software there is a option to Export PIC MikroC file .C
The BTc sound data is exported as a .C source file.
This is compatible with the MikroC compiler and should be compatible with other compilers and even other microprocessors.
How can i use this soft or exported .C source file for CCS ?
I'm searching CCS forum and Google, but found nothing special.
Have somebody any idea or example to share ?
Thanks |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Sat Dec 24, 2011 12:56 pm |
|
|
You'll have to download his 'TalkBot' software and convert into CCS C code.This is the program that runs in the PIC.
After that, any 'sound' file you create can be run on your PIC.
Translating into CCS C should take maybe 3-4 nights.... |
|
|
freedom
Joined: 10 Jul 2011 Posts: 54
|
|
Posted: Sat Dec 24, 2011 1:54 pm |
|
|
Quote: | You'll have to download his 'TalkBot' software and convert into CCS C code.This is the program that runs in the PIC.
After that, any 'sound' file you create can be run on your PIC.
Translating into CCS C should take maybe 3-4 nights.... |
software is 'BTc Sound Encoder' not 'TalkBot'. As far I know there are some trick to do so. May be there are any converter and I'm waiting for this. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Sat Dec 24, 2011 2:05 pm |
|
|
The encoder software only creates the datafile on a PC that is then sent to the PIC. Say a .WAV file to his one bit file format.
The 'TalkBotBrain' software is the actual PIC program that plays the datafile. Converts the one bit file format into actual sound out a PIC pin.
Since he supplies the source code, all you have to do is convert or translate into CCS C code. |
|
|
|