free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
vizy_vizy
Tue Jun 19 2007, 09:51AM
 User Offline
Registered Member #1654
Joined: Tue Jun 19 2007, 09:41AM

Posts: 1
Thanked 0 times in 0 post
hi
i have project for producing sound in assembly . i wantmake sound by speakers(not system speaker) what i must do?

can any one give me any idea? my project must work in windows os



Back to top


Ajay
Tue Jun 19 2007, 11:16AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4035
Thanked 751 times in 710 posts
well ok.. making sound is easy.. but.. i dont understand what the sound thing has to do with the windows os?
i mean... u can program a sound pattern inside the memory. and u can write the program in assembly also.. but what this has to do with windows os?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Ajay
Tue Jun 19 2007, 02:24PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4035
Thanked 751 times in 710 posts
for playing sound from micro.. please read on the BTc algorithm from Roman Black. its really good.
http://www.romanblack.com/
hope this will help you. I am also thinking to make something on this algorithm

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Ritesh
Wed Jun 20 2007, 05:26AM
 User Offline
Registered Member #65
Joined: Tue Aug 29 2006, 03:10AM

Posts: 54
Thanked 10 times in 10 posts
it's quite easy
the sound is directly dependent on frequency generated on output pin.
if u want sharp tone and u need to be make higher frequency and
slower frequency for reverse
buy making different subroutines of different frequency u can make a music sound
Back to top


Ajay
Wed Jun 20 2007, 06:04AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4035
Thanked 751 times in 710 posts
well.. that is if you want a tone generation.. i think.. please correct me if i am wrong.
Ritesh what you are saying is for generation of tones of different frequencies. that is easy to generate. I think you also must see the Roman Black's BTc algorithm for sound generation. Its really amazing.
you can make your embedded projects talk

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


abbas1707
Wed Jun 20 2007, 03:38PM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
rickey,
wat is Roman Black's BTc algorithm ???
have u done some work on it??plz give some info about it

A Thousand Miles Journey Starts With a Single Step.
Back to top


Ajay
Wed Jun 20 2007, 10:54PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4035
Thanked 751 times in 710 posts
well.. his website tell you everything try visiting it. and see how the things are done..
according to him, the simple wave files are converted in stream of bits and then the bits are outputted.. on a pin with the frequency of the original sound. so you get a less clear but good sound from the speaker.
the conversion is done with the help of his software that you can download from his site. and try working on it. its really good. just read the description he gave in the site. its sufficient to understand everything.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


abbas1707
Fri Jun 22 2007, 05:33AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
i downloaded dat software
check the procedure...
open the wave file ,set algor type to 1 bit,fineness to BTc16, then export pic assembler file
from this i got output filter model and bit stream...
now my question!!
shud i have to output these bits from msb to lsb to any pin of microcontroller say P2^0 continuosly using loop
or at some frequency????
also i want to know
is it possible to make array of bits in c language>??
w8ting 4 reply!

[ Edited Fri Jun 22 2007, 05:39AM ]

A Thousand Miles Journey Starts With a Single Step.
Back to top


Ajay
Fri Jun 22 2007, 07:39AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4035
Thanked 751 times in 710 posts
yes.. you need to output them at the same frequency as that of your wav file. and.. its better to do in assembly coz.. you are sure of the delay you are giving.
and Roman Black's trick is best.. try it..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems