# Problem with serial commands from arduino mega to tsunami

**URL:** <https://community.sparkfun.com/t/problem-with-serial-commands-from-arduino-mega-to-tsunami/39248>\
**Category:** Sound & Audio\
**Created:** [March 31, 2020, 10:19am UTC](https://community.sparkfun.com/t/problem-with-serial-commands-from-arduino-mega-to-tsunami/39248 "2020-03-31T10:19:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedev](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@fedev](https://community.sparkfun.com/u/fedev)\
**Post date:** [March 31, 2020, 10:19am UTC](https://community.sparkfun.com/t/problem-with-serial-commands-from-arduino-mega-to-tsunami/39248/1 "2020-03-31T10:19:04Z")

</div>

Dear Sparkfun,

For my project I need to play 6 tracks in sync (starting muted), then fade-in the volume of each track once I activate a switch.

We’re working with library and Arduino mega.

We managed to play 6 tracks together, using stereo tracks and firmware (mono wav and firmware doesn’t seem to work), but when we assigned a switch to each track to fade-in when activated, we couldn’t make it work.

Can you suggest serial commands or an example sketch to be used?

Federico

---

<div class="post-metadata">

**Author:** ![TS-Chris](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-chris/32/6057_2.png) [@TS-Chris](https://community.sparkfun.com/u/TS-Chris)\
**Post date:** [April 1, 2020, 8:50pm UTC](https://community.sparkfun.com/t/problem-with-serial-commands-from-arduino-mega-to-tsunami/39248/2 "2020-04-01T20:50:17Z")

</div>

Hi Federico.

We don’t have any example code, but you might try [[this library](https://github.com/robertsonics/Tsunami-Arduino-Serial-Library) as a starting point. (There is an example sketch in that.)

Keep in mind that you will need a logic level coverter between your 5 volt Mega and the 3.3 volt Tsunami to prevent damage to the Tsunami.]([GitHub - robertsonics/Tsunami-Arduino-Serial-Library: Arduino Serial Control Library for Arduino](https://github.com/robertsonics/Tsunami-Arduino-Serial-Library))
