I am trying to build an app which can generate tones of arbitrary frequency..I got this link: Playing an arbitrary tone with Android which is really helpful..in that the tone is played for a particular duration which is set in code..I want to modify it such that the tone continues to play till the stop button is pressed..and not for a preset duration..I am unable to implement it..can someone please help with this?
Also I would like to know the reason for the click sound while starting and stopping a tone..and if there is any way to avoid this..I really need help with this..please help..