+0  
 
0
355
0
avatar

IT question: How to calculate time for second delay to merge two tones in one channel?

I think like that:

a = 300 (Hz)
b = 600 (Hz)

length = 3000 (milliseconds)

I should mix them in one sound but using only 1 channel, for example of device with one channel - PC-Speaker!

Then, we need to use this:

Pseudo-C code

tone.generate(a);

delay(length div (2 div 2 * (a div 2)));

tone.stop();

tone.generate(b);

delay(length div (2 div 2 * (a div 2)));

Is it true or not? Whatever should I do to synth it IN ONE CHANNEL?

Best regards,

Gabriel Mattraws.

 
 Oct 4, 2020

1 Online Users