Original Post
I really can''t think of a way to solve this problem:
I need to create a sine wave that has a specific length(n), an applitude on the positive(a1)
an amplitude on the minus(a2)
The applitudes on the positive and minus differ.
E.g
This is the positive of the sine( a1 )
\
\ /
\+ /
+ +/
--+---+---+--- Between the +''s is the length(n)
/+ +
/ +
/ +¬
/ The negative of the sine( a2 )
/
/Midpoint( the cross between a1 & a2 )
The problem is, how do I create half the sine, at the specfific aplitude, maintaning the exactly half the lenght(n). If anyone could help me with this, I would appreciate. I wouldn''t mind some C/C++ source for something like this, cheers.