title: Use system channel instead of ringer channel when using EPSSampler in iOS
body: <p>I'm using <a href="https://github.com/ElectricPeelSoftware/EPSSampler" rel="noreferrer">EPSSampler</a> to play some notes in my tiny iOS app. It works nicely, except that the sound is controlled through the ringer settings instead of the system volume settings. The problem is that, if the ringer is turned off, my app makes no sound.</p>
  
  <p>The closest I could find was <a href="https://stackoverflow.com/questions/36603970/how-to-play-audio-without-it-referring-to-the-ringers-volume">this SO question</a> but I can't quite translate that solution into mine, as I can't match it to EPSSampler's code. Any insight?</p>
  
  <p><strong>EDIT</strong> To clarify, the only code that deals specifically with audio is contained in the EPSSampler class, my app merely instances it, loads an AUSampler preset, and calls the note-playing methods in EPSSampler, so a solution would need to change something in EPSSampler rather than in my app -- that's why I'm not posting any source code.</p>