Is there a way to play a sound by specifying the frequency in Hz instead of musical note in SION?

StackOverflow https://stackoverflow.com/questions/13537948

문제

I have been searching for ways to produce sound in as3 and found SION: https://sites.google.com/site/sioncenter/

Seems great, but I have one issue: I need to play tones at specific frequencies. The only options I find to play sounds is by specifying the frequency as musical notes (a, b, c, etc), but I need to play sounds specifying the frequency in Hz (30Hz, 100Hz, etc).

Is there a way to do this in SION?

If not, is there an alternative to SION? I need a sine wave generator.

도움이 되었습니까?

해결책

You don't need SION for that. You can do it with the Sound class.

Here's a tutorial that shows exactly how to do it: http://www.bit-101.com/blog/?p=2669

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top