Jump to content




wave-amp - A fully featured music player

peripheral media utility

21 replies to this topic

#21 Kazza

  • Members
  • 10 posts

Posted 11 October 2018 - 12:25 AM

Is there any chance of this getting updated to use Speakers?

#22 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,043 posts
  • LocationTasmania (AU)

Posted 11 October 2018 - 07:37 AM

CrazedProgrammer hasn't logged in to these boards for a while, but I would guess a search'n'replace of "iron_noteblock" to "speaker", followed by a tweak to line 201, would do the trick:

nb.playNote(wave._newSoundMap[note], volume, math.pow(2, (pitch - 12) / 12))

Spoiler

Edited by Bomb Bloke, 11 October 2018 - 08:59 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users