A quick melody I made using sonic pi

The source code for this:

use_synth :dsaw

my_scale = scale(:c3, :minor)

define :melody_starting_from do |base_index|
play_pattern_timed my_scale[base_index, 4], 0.25, sustain: 0.25, release: 0.1
play_pattern_timed my_scale[base_index + 2, 2] * 2, 0.2, sustain: 0.2, release: 0.1
end

melody_starting_from 4
melody_starting_from 3
melody_starting_from 2
play_pattern_timed [my_scale[3], my_scale[4], my_scale[2], my_scale[3]], 1, sustain: 0.9, release: 0.2

play my_scale[1], sustain: 1.5
sleep 2
play :c3, sustain: 1, release: 0.5


Comments

17 responses to “A quick melody I made using sonic pi”

  1. Landon205 Avatar
    Landon205

    Oh, okay.

  2. Ferrumite666 Avatar
    Ferrumite666

    I added the source in the post itself

  3. Landon205 Avatar
    Landon205

    Well we can try it.

  4. Ferrumite666 Avatar
    Ferrumite666

    I haven’t checked into git, no. It’s probably able to fit into this comment box though

  5. Landon205 Avatar
    Landon205

    I assoom it’s on github?

  6. Ferrumite666 Avatar
    Ferrumite666

    I’m 90% sure it’s a sawwave. I can post the sonic pi source code if anybody’s interested.

  7. Landon205 Avatar
    Landon205

    I guess it’s more like that yes.

  8. GeorgeWu Avatar
    GeorgeWu

    nice song it sounds like a Yamaha saw wave.

  9. Landon205 Avatar
    Landon205

    @Mayow, a glitch that someone, and I meen someone, won’t fix! And yes, that is you, Pajper! I ment @mayowa. Sorry about that.

  10. MayowaArogundade Avatar
    MayowaArogundade

    yeah that’s a glitch

  11. Landon205 Avatar
    Landon205

    Oh, I know what you ment, you ment elten.

  12. radio729 Avatar
    radio729

    I think that is a bug with Ekten.

  13. Landon205 Avatar
    Landon205

    I agree, and I just hope that elten doesn’t cut away the file! Maybe @Jim pickens knows.

  14. radio729 Avatar
    radio729

    Nice one.

  15. Ferrumite666 Avatar
    Ferrumite666

    I called the file epic_evil.wav. Here’s a dropbox link to a version that isn’t clipped: https://www.dropbox.com/scl/fi/0oxcruxblobe093qdlx0a/epic_evil.wav?rlkey=l30oqp41xb8xqbahs9radb7vw&dl=1

  16. Landon205 Avatar
    Landon205

    That’s a nice song! Good job on it @ferumite. What song is it called?

  17. Ferrumite666 Avatar
    Ferrumite666

    Unfortunately elten insists on clipping the beginning of the melody, anyone know how to fix it?

Leave a Reply

Your email address will not be published. Required fields are marked *

EltenLink