Instrument Notes with Roblox's Audio API?

  1. What do you want to achieve? Keep it simple and clear!
    I’ve recently released a music-genre game and wish to add audio for the instruments which can be heard by players. More specfically, clicking/tapping whilst having the instrument equipped would play random notes of a scale. To clarify, these would be guitar notes.
  2. What is the issue? Include screenshots / videos if possible!
    Since roblox has a limit to how many audio files you can upload within a timeframe, I want to minimise how many audio files I need. I also want different soundfonts so ideally the solution would be scalable
  3. What solutions have you tried so far? Did you look for solutions on the Creator Hub?
    Which lead me to this idea: Upload 1 audio file for each soundfont/instrument and use pitch increase. Now I’m not familiar with this or Roblox’s Audio API in general but this doesnt seem like a half-bad idea.

However, I have seen previous topics on the forum addressing this including that pitch increase can get weird with numbers. There are plenty of games with playable instruments (such as those virtual piano games) with a variety of soundfonts so I’m wondering how they do it and how could I recreate that?

1 Like