# Exploring granular synthesis

**URL:** https://forum.toplap.org/t/exploring-granular-synthesis/2097
**Category:** Making Liveness
**Created:** [22 October 2022 08:20 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097 "2022-10-22T08:20:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sdclibbery](https://forum.toplap.org/user_avatar/forum.toplap.org/sdclibbery/32/852_2.png) [@sdclibbery](https://forum.toplap.org/u/sdclibbery)
#### Post date: [22 October 2022 08:20 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097/1 "2022-10-22T08:20:13Z")

</div>

Hiya, this was fun to do and I thought it might be interesting. Using only a standard sample player with very short duration playback events and carefully set start times, it’s possible to do a form of granular synthesis:

[![](https://img.youtube.com/vi/v4dzyl-i93c/maxresdefault.jpg "Granulated") ](https://www.youtube.com/watch?v=v4dzyl-i93c)

The video includes a brief musical demo at the start, followed by a demonstration of turning normal sample playback into granular synthesis 🙂

Source code from the video is here: [limut/examples.txt at 04225eff3cea0218699bd91a333fdbe3ff5eed23 · sdclibbery/limut · GitHub](https://github.com/sdclibbery/limut/blob/04225eff3cea0218699bd91a333fdbe3ff5eed23/examples.txt#L2326)

---

<div class="post-metadata">

### Author: ![HighHarmonics](https://forum.toplap.org/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@HighHarmonics](https://forum.toplap.org/u/HighHarmonics)
#### Post date: [5 December 2022 20:14 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097/2 "2022-12-05T20:14:31Z")

</div>

Nice! I like how you decomposed a short spoken phrase. Also appreciate that you provided links to the source code. But it wasn’t clear what live coding environment you are using. Is it limut?

---

<div class="post-metadata">

### Author: ![sdclibbery](https://forum.toplap.org/user_avatar/forum.toplap.org/sdclibbery/32/852_2.png) [@sdclibbery](https://forum.toplap.org/u/sdclibbery)
#### Post date: [6 December 2022 08:33 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097/3 "2022-12-06T08:33:17Z")

</div>

Thanks; yes it’s Limut, sorry, I should have said!  
BTW, the source code needed a minor update as there was a breaking change to some of the Limut syntax used in the visuals; the latest source code is here: [limut/examples.txt at master · sdclibbery/limut · GitHub](https://github.com/sdclibbery/limut/blob/master/examples.txt#L2334-L2340)  
Incidentally, I also made a dark ambient track using the same granular synthesis technique (and a wikimedia choral sample) that came out quite well: [Breathe Soft - YouTube](https://www.youtube.com/watch?v=IiTEPXwkrh4&t=116s) . The source for that is here: [limut/examples.txt at master · sdclibbery/limut · GitHub](https://github.com/sdclibbery/limut/blob/master/examples.txt#L2452-L2463) 🙂

---

<div class="post-metadata">

### Author: ![HighHarmonics](https://forum.toplap.org/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@HighHarmonics](https://forum.toplap.org/u/HighHarmonics)
#### Post date: [6 December 2022 17:51 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097/4 "2022-12-06T17:51:03Z")

</div>

Thanks. I haven’t heard of Limut. Have you thought about getting it added to the Toplap list of livecoding languages?

> **[GitHub - toplap/awesome-livecoding: All things livecoding](https://github.com/toplap/awesome-livecoding)**
>
> All things livecoding. Contribute to toplap/awesome-livecoding development by creating an account on GitHub.

Breathe Soft is cool - atonal ambient. Nice.

---

<div class="post-metadata">

### Author: ![sdclibbery](https://forum.toplap.org/user_avatar/forum.toplap.org/sdclibbery/32/852_2.png) [@sdclibbery](https://forum.toplap.org/u/sdclibbery)
#### Post date: [7 December 2022 08:50 UTC](https://forum.toplap.org/t/exploring-granular-synthesis/2097/5 "2022-12-07T08:50:40Z")

</div>

Thanks, I’ve raised a PR to add it to the list 🙂
