CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

music programming

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
efox



Joined: 24 May 2006
Posts: 14

View user's profile Send private message

music programming
PostPosted: Mon Aug 28, 2006 10:54 am     Reply with quote

I'm basically looking for some google keywords.

I want to be able to play a happy birthday song on a tiny speaker. However, I have no idea how to do this and when i searched simple words on google i didnt get what i wanted. So, anyone know any keywords to search for. Its for a "birthday" card with some extra features im throwing in. I thought of just making something flashy for a little kid.

Any ideas ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 28, 2006 11:18 am     Reply with quote

Look in the CCS example files:
Quote:

EX_TONES.C
This example plays the song "Happy Birthday."


c:\program files\picc\examples\ex_tones.c
gs



Joined: 22 Aug 2005
Posts: 30
Location: Ioannina - Greece

View user's profile Send private message Visit poster's website

PostPosted: Mon Aug 28, 2006 11:19 am     Reply with quote

get a standard happy birthday singing card, and rip off the electronics. Possibly a 1.5*1.5mm pcb with a buzzer.

do what you want to do, and when it comes to the music, apply power to the pcb, through a tranzistor or fet.
_________________
www.hlektronika.gr
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Aug 28, 2006 11:23 am     Reply with quote

Take a look at this post:

http://www.ccsinfo.com/forum/viewtopic.php?t=22010
efox



Joined: 24 May 2006
Posts: 14

View user's profile Send private message

PostPosted: Tue Aug 29, 2006 6:45 am     Reply with quote

[quote="gs"]get a standard happy birthday singing card, and rip off the electronics. Possibly a 1.5*1.5mm pcb with a buzzer.

do what you want to do, and when it comes to the music, apply power to the pcb, through a tranzistor or fet.[/quote]

I was actually thinking of doing that if I couldn't do it myself.
efox



Joined: 24 May 2006
Posts: 14

View user's profile Send private message

PostPosted: Tue Aug 29, 2006 6:50 am     Reply with quote

PCM programmer: I didnt even bother to check to see if the examples even included anything to what i was looking for. Lesson learned.

Mark: Thanks, that code certainly looks like what I want to do. I'll have a closer look at it.

Thanks alot !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group