Discussion in "Project Addition or Changes" started by    vizy_vizy    Jun 19, 2007.
Tue Jun 19 2007, 10:21 pm
#1
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

Tue Jun 19 2007, 11:46 pm
#2
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?
Wed Jun 20 2007, 02:54 am
#3
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
Wed Jun 20 2007, 05:56 pm
#4
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
Wed Jun 20 2007, 06:34 pm
#5
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
Thu Jun 21 2007, 04:08 am
#6
rickey,
wat is Roman Black's BTc algorithm ???
have u done some work on it??plz give some info about it
Thu Jun 21 2007, 11:24 am
#7
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.
Fri Jun 22 2007, 06:03 pm
#8
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, 06:09 pm ]
Fri Jun 22 2007, 08:09 pm
#9
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..

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

best_yyPa
Tue Apr 16 2024, 09:42 am
ErnestoExpop
Tue Apr 16 2024, 02:57 am
Jamesclepe
Mon Apr 15 2024, 11:10 am
Aliciaelora
Mon Apr 15 2024, 07:59 am
btaletvpcu
Mon Apr 15 2024, 04:36 am
UbvpwcTib
Mon Apr 15 2024, 03:13 am
AmyJow
Sun Apr 14 2024, 11:54 pm
Jamesraw
Sat Apr 13 2024, 08:18 pm