How-To: Create a Simple Beat Pattern and MIDI File with Gemini Canvas

This guide shows you how to use Canvas in Davidson's Gemini to build a small beat sequencer: a grid where you can see, play, and edit a rhythm pattern, then save it as a MIDI file. It works well when you want a precise, simple pattern, such as a samba rhythm played by a handclap, and you don't need any music or coding background to try it.

Canvas or Create music?

Gemini has two tools that can help with music, and they do different things.

  • Create music generates a finished audio track from a description. It is a good fit for a soundtrack or a mood, but you can't control individual beats.
  • Canvas builds a small interactive web app next to your chat. Use it when you want an exact pattern you can see, change one beat at a time, and export.

Before you start

Go to gemini.google.com and sign in with your Davidson email address. If you are new to Gemini, see Getting Started with Google Gemini.

Build the sequencer

  1. Start a new chat in Gemini.
  2. Click the + button at the left edge of the prompt box and choose Canvas. If you don't see it right away, look under More tools.
  3. Describe the pattern you want. Name the rhythm, the number of steps, the tempo, and the sound. For example:
    Create a small web page with a 16-step drum sequencer that plays a samba clap pattern at 100 BPM. Include a play button and a button to download the pattern as a MIDI file.
  4. Press Enter. In well under a minute, Gemini opens a Canvas panel with a working sequencer.
  5. Click Play to hear the pattern, and click any step in the grid to turn that beat on or off.
  6. Click Download MIDI to save the pattern to your Downloads folder as a .mid file you can open in music software.

Button names and layout may look a little different each time, since Gemini builds a new app for every request.

Tips

  • Start simple. A short request works best. If you see an error message, shorten your prompt and try again.
  • Add one feature at a time. Once the sequencer works, ask for changes in the same chat, such as "add a tempo slider" or "add a second row for a bass drum."
  • Try other patterns. Swap in a different rhythm, tempo, or sound, or ask for a chord progression instead of a beat.
  • Check the result. Gemini can make mistakes, so compare the pattern against a source you trust before relying on it.
  • Share with care. The share button at the top of the Canvas panel creates a public link as soon as you choose Share Canvas. Anyone with the link can open your sequencer, so only share work you are comfortable making public.

Need help?

Contact the T&I Support Center at ti@davidson.edu or 704-894-2900.

Request Help