polyphonic ring tone generator

Status
Not open for further replies.

socrates

Newbie level 1
Joined
Nov 10, 2004
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
9
hi
can anyone suggest how to produce a Pulse Width Modulated single sine wave using direct digital synthesis technique which is to be used to produce the ring tone generator in a mobile phone in MATLAB???

the behaviour software is as follows:
Reset: NoteNumber=0;
NoteDurattion;

DrivingFrequencyhaseAccunulator=(PhaseAccumulator+Ton[NoteNumber].Pitch)
mod PhaseAccumulatorSize;
if((Tunelength=NoteNumber)&!Continous)
Stop
Elseif NoteDuration=Tune[NoteNumber].LengthofNote then
NoteDuration=0;
NoteNumber=NoteNumber+1;
Else
Output=Wavetable[PhaseAccumulator];
NoteDuration=NoteDuration+1;

thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…