can you tell me how can I do this?
I understand that
But you appear to understand a lot more about the maths behind generating sine waves than I do
As it stands, you have to drag out 7 instances of the extension
Once you uploaded the extension drag and drop it to mockup phone 7 times. Then you will have KIO4_Tone1,KIO4_Tone2,....KIO4_Tone7
TIMAI2, You are perfect
Oh my GOD, sorry for this question
Thank you dora_paz
Is it possible to change the sounds amplitude separately?
Do you have any suggestion for this reason?
I would have to do some rewriting of code, and testing
thanks a lot sir
Don't seem to be able to apply an amplitude to the formula
Trying another method...
Try this extension (replace the KIO4_Tone extension)
uk.co.metricrat.tones.aix (4.9 KB)
Set the volume between 0 and 1, e.g 0.5
will give half the volume, 0
= silence, 1
= maxVolume.
Values over 1
will be set to the maxVolume of 1
I have also found a way to combine several frequencies together in one output, but it is not possible to set the volume for each frequency, therefore you are probably better off using multiple instances of above.
(Math.sin(2 * Math.PI * i / (44100.0 / freqHz)) * 0x7FFF)
I think in the formula , if you add a variable such as AMP, it works
AMP*(Math.sin(2 * Math.PI * i / (44100.0 / freqHz)) * 0x7FFF)`
can you check it?
very good. I check it now for multi extension with variable volume
I think in the formula , if you add a variable such as AMP, it works
AMP*(Math.sin(2 * Math.PI * i / (44100.0 / freqHz)) * 0x7FFF)`can you check it?
I did, it didn't work.
I did, it didn't work.
Thank you for your attention.