Shawarma

Change one instrument and keep the rest

You like the track, but not the piano. Ask "play the melody on an oud, keep the rest". The same notes come back on an oud, and the drums, bass and chords stay as they were.

Every track is code, with one line for each part. A change of instrument changes one line, so you can see what changed.

On piano

96 BPM, D minor, a piano tune over keys

  • drums
  • bass
  • keys
  • melody

One tune, two swaps

  • On oud

    the same tune, now on an oud

    You asked“play the melody on an oud, keep the rest”

    Make it yours
  • Chords on strings

    the oud tune, over held strings

    You asked“now put the chords on strings”

    Make it yours

Then ask for changes

Once your track plays, type what it needs. It changes while it plays, and Undo takes a change back.

  • Youplay the melody on an oud, keep the rest
  • Younow put the chords on strings
  • Youswap the drums for a darbuka
  • Youmake the bass a synth bass
  • Youput the melody on a ney

Why only one part changes

  • One line per part

    Drums, bass, chords and melody are each a line of code. A swap changes one line.

  • You hear it at once

    The track keeps playing while it changes, so you hear the new instrument in place.

  • Undo brings it back

    Every change is kept by itself. Undo, and the piano is back.

See the code of “On piano”
setcpm(24) // 96 BPM, D minor

const drums = s("bd ~ ~ bd ~ ~ sd ~, [~ hh]*4").gain(.32)
const bass = note("<d2 g1 a1 d2>").s("gm_acoustic_bass").struct("x ~ ~ x ~ ~ x ~").gain(.4)
const keys = note("<[d3,f3,a3] [g2,bb2,d3] [a2,c#3,e3] [d3,f3,a3]>").s("gm_epiano1").struct("~ x ~ x ~ x ~ x").gain(.26)
const melody = note("<[d3 e3 f3 a3] [g3 f3 e3 d3] [c#3 e3 a3 g3] [f3 e3 d3 ~]>").s("piano").gain(.36)

arrange(
  [2, stack(keys, bass)],                    // the intro
  [8, stack(drums, bass, keys, melody)],     // the tune
)

Questions

Does the rest of the track change too?
No. Ask for one instrument and only that line of the track changes. The notes, the drums and the other parts stay the same.
Which instruments can I ask for?
Piano, strings, guitars, flutes, brass, synths and drum machines. Also recorded Arabic sounds: oud, ney, darbuka and riq.
Can I go back to the old instrument?
Yes. Every change is kept by itself. Undo brings the earlier version back.
Can I use the music in my videos?
You own what you make and can use it in your videos and games. Some built-in sounds ask for a credit; the list is on the Terms page.

The sounds that ask for a credit: Sound credits on the Terms page.

Make a track, then swap an instrument

Your request is already typed in. Change the words, or press the button.

Free. No sign-up for your first track.

Have an account?Continue with Google

By continuing you agree to the Terms and the Privacy policy.