title: How to set volume for text-to-speech "speak" method?
body: <p>I'm at a lost. I want to be able to adjust the speak volume. Whatever I do, I can't increase its volume. How do I make it as loud as that found in the Android settings (as below)?</p>
  
  <p>System Settings -> Voice input and output -> Text-to-Speech settings -> Listen to an example</p>
  
  <p>My code at this moment is:</p>
  
  <pre><code>AudioManager mAudioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE);
  mAudioManager.setSpeakerphoneOn(true);
  int loudmax = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_NOTIFICATION);
  mAudioManager.setStreamVolume(AudioManager.STREAM_NOTIFICATION,loudmax, AudioManager.FLAG_PLAY_SOUND);
  mTts.speak(name,TextToSpeech.QUEUE_FLUSH, null);
  </code></pre>