# Anyone Have an Example Glissando in Sonic Pi?

**URL:** <https://in-thread.sonic-pi.net/t/anyone-have-an-example-glissando-in-sonic-pi/3216>\
**Category:** Support, Help & Resources\
**Created:** [January 30, 2020, 7:20pm UTC](https://in-thread.sonic-pi.net/t/anyone-have-an-example-glissando-in-sonic-pi/3216 "2020-01-30T19:20:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Eli](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/eli/32/116_2.png) [@Eli](https://in-thread.sonic-pi.net/u/Eli)\
**Post date:** [January 30, 2020, 11:47pm UTC](https://in-thread.sonic-pi.net/t/anyone-have-an-example-glissando-in-sonic-pi/3216/7 "2020-01-30T23:47:48Z")

</div>

Hi Skelly,

I had to go look up what a glissando was, before replying.

I think this might help… its a police siren from a track made  
here on the forums…

> [@Some interesting sounds thrown together](http://in-thread.sonic-pi.net/t/some-interesting-sounds-thrown-together/3013):
>
> Various snippets from my archive, which sort of work… I like the intro… could a live coder use it to keep the audience busy while setting up, maybe? Eli… use\_bpm 110 live\_loop :bar do sleep 1 end live\_loop :beat4 do sleep 4 end # mixer intro\_vol = (line 1,0, steps: 10, inclusive: true).ramp x=5 #show opener... with\_fx :echo, phase: 2, mix: 0.5 do with\_fx :panslicer, mix: 0.5 do with\_fx :hpf, cutoff: 70 do with\_fx :reverb, mix: 0.4 do with\_fx :echo, mix: 0.2 do …

```ruby
slider = 4
wails =(ring 2, 3)

live_loop :siren do
  use_synth_defaults amp: 0.25
  siren = synth :fm, note: :d6, note_slide: slider,
  sustain: slider * wails.look * 2
  wails.look.times do
    control siren, note: :d7
    sleep slider / 2
    control siren, note: :d6
    sleep slider
    control siren, amp: 0.5, note: :d7
    sleep slider
    control siren, amp: 0.5, note: :d6
    sleep slider
    control siren, amp: 0
    wails.tick
  end
end

```

Eli…

---

_[View the full topic](https://in-thread.sonic-pi.net/t/anyone-have-an-example-glissando-in-sonic-pi/3216)._
