# Can Sonic Pi play short enough sleeps to make a note?

**URL:** <https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459>\
**Category:** Creations & Ideas\
**Created:** [December 20, 2023, 9:18pm UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459 "2023-12-20T21:18:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emiliosv](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Emiliosv](https://in-thread.sonic-pi.net/u/Emiliosv)\
**Post date:** [December 20, 2023, 9:18pm UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/1 "2023-12-20T21:18:20Z")

</div>

Hi. Is Sonic Pi able to make a note from reapiting a sound 400 times in a second?  
I’m trying to do this reducing the sleep time but it breaks at some point. Is it posible to use seconds\_based time notation instead of beat\_based?

---

<div class="post-metadata">

**Author:** ![Davids-Music-Lab](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/davids-music-lab/32/512_2.png) [@Davids-Music-Lab](https://in-thread.sonic-pi.net/u/Davids-Music-Lab)\
**Post date:** [December 20, 2023, 10:54pm UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/2 "2023-12-20T22:54:15Z")

</div>

With the default BPM of 60, one beat is a second.

---

<div class="post-metadata">

**Author:** ![Emiliosv](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Emiliosv](https://in-thread.sonic-pi.net/u/Emiliosv)\
**Post date:** [December 20, 2023, 11:54pm UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/3 "2023-12-20T23:54:42Z")

</div>

Yeah, that’s not a problem anymore. I still have a response problem, and i think SonicPi is just not the tool to do this : (

---

<div class="post-metadata">

**Author:** ![just\_Ayush](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@just\_Ayush](https://in-thread.sonic-pi.net/u/just_Ayush)\
**Post date:** [January 6, 2024, 6:53am UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/4 "2024-01-06T06:53:03Z")

</div>

Is this actually possible? I don’t know much about Sonic Pi but could you share any alternate examples?

---

<div class="post-metadata">

**Author:** ![Emiliosv](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Emiliosv](https://in-thread.sonic-pi.net/u/Emiliosv)\
**Post date:** [January 6, 2024, 8:35am UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/5 "2024-01-06T08:35:39Z")

</div>

I wanted to do something like this: [https://www.youtube.com/watch?v=-tRAkWaeepg](https://www.youtube.com/watch?v=-tRAkWaeepg)  
I’m doing it on Python, i think that Sonic Pi is too oriented to play music, and this is more like a physic experiment where i need to play with pure frequencies and do some math with those.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [January 6, 2024, 12:37pm UTC](https://in-thread.sonic-pi.net/t/can-sonic-pi-play-short-enough-sleeps-to-make-a-note/8459/6 "2024-01-06T12:37:10Z")

</div>

> [@Emiliosv](#):
>
> i think that Sonic Pi is too oriented to play music, and this is more like a physic experiment where i need to play with pure frequencies and do some math with those.

Yep, that assumption is correct. I think you might be much better off playing with SuperCollider or CSound if you’re actually interested in direct audio synthesis. Sonic Pi is higher level and is more focussed on composition and arrangement rather than the physics of sounds.
