wip
This commit is contained in:
parent
b2418e4aa6
commit
d77de7e47c
@ -199,8 +199,8 @@ int beep(double freq_hz, double duration_sec)
|
||||
i += 1;
|
||||
if (i<up_count)
|
||||
{
|
||||
buffer[j] = 10000.0 * sin(p1);
|
||||
buffer[j+1] = 10000.0 * sin(p2);
|
||||
buffer[j] = 1000.0 * sin(p1);
|
||||
buffer[j+1] = 1000.0 * sin(p2);
|
||||
p1 += f1;
|
||||
p2 += f2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user