# The Conjuring on Sonic Pi

**URL:** <https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656>\
**Category:** Creations & Ideas\
**Created:** [May 31, 2021, 6:46am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656 "2021-05-31T06:46:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsrocker92](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nsrocker92/32/1355_2.png) [@nsrocker92](https://in-thread.sonic-pi.net/u/nsrocker92)\
**Post date:** [May 31, 2021, 6:46am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/1 "2021-05-31T06:46:32Z")

</div>

Hi y’all, It’s been a minute! Hope everyone’s doing well. This one is for horror movie fans. It’s a simple take on the music during The Conjuring opening title. Just in time as we await the 3rd movie in the series coming out soon.

A lot of horror movies use music that seems to rely on pitch shifting synths/instruments and building it up with dissonant notes. So, that’s the idea here. The recipe is fairly simple and I was very happy to emulate the sounds with `pitch_dis` argument of the `:pitch_shift` fx on the stacked saws.

YT link: [https://youtu.be/qAob7e4cnuU](https://youtu.be/qAob7e4cnuU)

code:

```ruby
##| THE CONJURING sound...
live_loop :conjuring do
  amp = 1
  with_fx :reverb, room: 0.8, mix: 0.8 do
    with_fx :lpf, cutoff: 0 do
      with_fx :pitch_shift, pitch_dis: 0.002 do
        with_synth :saw do
          play :e1, amp: amp, attack: 0, sustain: 0.5, release: 1
          play :e1, amp: amp, attack: 0.25, sustain: 0.5, release: 1
          play :ds1, amp: amp, attack: 0.25, sustain: 0.5, release: 1
          play :e2, amp: amp, attack: 0.25, sustain: 0.5, release: 1
          play :e3, amp: amp, attack: 0.25, sustain: 0.5, release: 1
          ##| I save this until I get to LPF cutoff of 100 for buildup
          ##| play :ds5, amp: amp, attack: 0.25, sustain: 0.5, release: 1
        end
      end
    end
    sleep 0.5
  end
end

```

Please let me know what you think and if you have any other ideas for emulating horror music.

Cheers!

---

<div class="post-metadata">

**Author:** ![hitsware](https://avatars.discourse-cdn.com/v4/letter/h/a9adbd/32.png) [@hitsware](https://in-thread.sonic-pi.net/u/hitsware)\
**Post date:** [May 31, 2021, 11:00pm UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/2 "2021-05-31T23:00:43Z")

</div>

I see something on the scope … Don’t hear anything …  
Too low of frequency ? / amplitude ?  
Then timed out … But I have a puny system …

 ![2021-05-31-155715_1366x768_scrot](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/5/59c1f08a47e07751d882a7eebf8013f179b3dae5.png)

---

<div class="post-metadata">

**Author:** ![blipson](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/blipson/32/1772_2.png) [@blipson](https://in-thread.sonic-pi.net/u/blipson)\
**Post date:** [June 1, 2021, 2:44am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/3 "2021-06-01T02:44:38Z")

</div>

I hear stuff being conjured, but it’s rather low volume.

---

<div class="post-metadata">

**Author:** ![nsrocker92](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nsrocker92/32/1355_2.png) [@nsrocker92](https://in-thread.sonic-pi.net/u/nsrocker92)\
**Post date:** [June 1, 2021, 4:44am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/4 "2021-06-01T04:44:45Z")

</div>

Huh, interesting… Well, you won’t initially hear anything until you increase the `cutoff` argument for `:lpf`, but you appear to run into runtime error which might be more because of the lower specs. I ran this on my macOS Big Sur.

---

<div class="post-metadata">

**Author:** ![nsrocker92](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nsrocker92/32/1355_2.png) [@nsrocker92](https://in-thread.sonic-pi.net/u/nsrocker92)\
**Post date:** [June 1, 2021, 4:45am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/5 "2021-06-01T04:45:29Z")

</div>

Hmm, did you increase the `cutoff` for `:lpf` fx? Else, you won’t hear anything with code as is.

---

<div class="post-metadata">

**Author:** ![blipson](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/blipson/32/1772_2.png) [@blipson](https://in-thread.sonic-pi.net/u/blipson)\
**Post date:** [June 1, 2021, 5:59am UTC](https://in-thread.sonic-pi.net/t/the-conjuring-on-sonic-pi/5656/6 "2021-06-01T05:59:07Z")

</div>

yeah, it only had a small effect.
