• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

The Keyboard Chronicles

Gigging, Gear and Great Music

  • Home
  • The Podcast
    • How To Listen / Watch
    • Episode Listing / Previous Guests
    • Guest Top 5 Album Suggestions
    • Podcast Guest Playlist
  • Email Newsletter
    • Newsletter Briefing Archive
  • Contact Us
  • About Us
    • Privacy Policy
    • Advertising
  • Merchandise

How can I use ChatGPT to make music?

April 20, 2023 by KC Editor Leave a Comment

The artificial intelligence app ChatGPT is everywhere you look at present, and it or platforms like it probably aren’t going away. In fact, they’re likely to improve at exponential rates. As a musician, whether you love or hate stuff like this, being aware of it is important. This is a brief primer on just some examples of what’s out there at present for you to play with.

To start this off, I asked ChatGPT itself what music-related coding languages it knows. Its response:

As an AI language model, I am familiar with several programming languages related to music. Here are some of them:

  1. Max/MSP: A visual programming language for music and multimedia.
  2. SuperCollider: A platform for audio synthesis and algorithmic composition.
  3. ChucK: A strongly-timed audio programming language for real-time synthesis, composition, and performance.
  4. Pure Data (Pd): A graphical dataflow programming language designed for audio and multimedia processing.
  5. Csound: A programming language designed for sound and music synthesis.
  6. Python with music libraries such as Music21 or Pydub for audio processing.
  7. JavaScript with Web Audio API for audio manipulation and visualization.
  8. Sonic Pi: A live coding environment for music.
  9. Faust: A functional programming language specifically designed for real-time audio signal processing and synthesis.

These are just a few examples of coding languages related to music. There are many more, and each has its own strengths and weaknesses depending on the specific application.

Ok – even a novice like me recognises that there’s a few heavyweights in that list. Let’s look at one of them: Sonic Pi

Our friend Ed at Elk Elektronik has done a brilliant video showing broadly how ChatPGT and Sonic Pi work:

Until watching this video I’d never used Sonic Pi before, but it’s pretty easy to use. You can download it here, with versions available for Windows, Mac and Raspberry Pi OS. All you need to do is launch ChatGPT in your browser and type a query in plain English. For example, I asked the following:

Can you generate sonic pi code in the style of Kraftwerk?

ChatGPT then responded with an answer, including the appropriate Sonic PI code (image only shows a small amount of the total code):

Now it’s just a matter of pasting that code into the main window of the Sonic Pi app and clicking on ‘run’ to hear the result:

To save you doing all those steps yourself, you can listen to the output right here:

https://keyboardchronicles.com/wp-content/uploads/2023/04/SonicPi-example.mp3

It’s pretty rudimentary, sure. But that’s the raw output only – Sonic Pi gives you lots of onboard tweaking options and that’s before you add your own gear to the equation. At the very least it’s a great scratchpad for ideas.

For those who worry we are about to be overrun by AI music – we may have a little breathing time as although Sonic Pi was simple to use as a non-coder, I tried all the others in the list above and couldn’t get a single one to work for me, for a variety of reasons. There’s still some work to do by our AI overlords!

Share this:

  • Twitter
  • Facebook

Filed Under: How-To

Want a weekly dose of news for keyboard players in your in-box?

Subscribe to the Keyboard Chronicles weekly briefing. It’s free, short and sharp.



Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Search

Podcast Highlights Reel

https://youtu.be/opVVGvvrlqU

Join us: Facebook / Instagram / Twitter / YouTube

  • Facebook
  • Instagram
  • Twitter
  • YouTube

The Weekly Briefing

A short and sharp weekly newsletter with the latest news from the industry:

Industry news




Podcast only: get new episodes by email

Subscribe by Email

More

David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 2)

David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 1)

Dan Mansfield, You Am I / The Gin Club / The Honey Sliders

Rig Tour: Paul Bindig (Echoes of Pink Floyd)

Rachel Eckroth, Solo Artist / St Vincent / Rufus Wainwright / KT Tunstall

Roland Update Juno 106 / Jupiter 8 / Jupiter 4 Soft Synths to v2.0

Recent Comments

  • David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 2) - The Keyboard Chronicles on David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 1)
  • Mike Garson, David Bowie / Smashing Pumpkins / Trent Reznor / Free Flight (Part 2) - The Keyboard Chronicles on Mike Garson, David Bowie / Smashing Pumpkins / Trent Reznor / Free Flight (Part 1)
  • Steve Nathan Interview Transcript Part 1 - The Keyboard Chronicles on Steve Nathan, Tim McGraw / Mark Knopfler / Lionel Richie (Part 1)
  • Rig Tour: Andy Alston (Del Amitri) - The Keyboard Chronicles on Andy Alston, Del Amitri
  • Rig Tour: Chris Norton (Läther) - The Keyboard Chronicles on Chris Norton, Cirque Du Soleil and Zappa Plays Zappa

Footer

Tags

ARP 2600 Arturia Ben Folds Bruce Springsteen Crumar Cyndi Lauper David Bowie Duran Duran DX-7 Eric Clapton Fantom Fender Rhodes Frank Zappa Gloria Gaynor Hammond B3 Jim Alfredson Korg Korg Kronos Lachy Doley Loren Gold MainStage MIDI Miles Davis MODX7 Native Instruments Nick Rhodes Nord Peter Gabriel Pete Townshend Pink Floyd podcast Rick Wakeman Roland Rufus Wainwright Santana Scary Pockets Sequential Steely Dan Steve Nathan The Who tower of power Trevor Horn Wurlitzer Yamaha Yes

Recent

  • David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 2)
  • David Sancious, Solo Artist / Peter Gabriel / Sting / Bruce Springsteen (Part 1)
  • Dan Mansfield, You Am I / The Gin Club / The Honey Sliders
  • Rig Tour: Paul Bindig (Echoes of Pink Floyd)
  • Rachel Eckroth, Solo Artist / St Vincent / Rufus Wainwright / KT Tunstall

Copyright © 2023 · News Pro on Genesis Framework · WordPress · Log in