Skip to content

Generates sine wave of given frequency as audio stream in Android Studio

Notifications You must be signed in to change notification settings

prashanshan6/Generate-sine-wave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Generates a sine wave of given frequency as audio stream.

Amplitude of for panning in stereo can be found using these
panValue can range from -1(left) to +1(right)

  • normBalance = ( panValue + 1.f ) * 0.5f;

  • leftAmp = (float)Math.cos( PI / 2 * normBalance );

  • rightAmp = (float)Math.sin( PI / 2 * normBalance );

About

Generates sine wave of given frequency as audio stream in Android Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages