# Problem with stretch()

**URL:** <https://forum.toplap.org/t/problem-with-stretch/745>\
**Category:** Foxdot\
**Created:** [15 August 2019 18:50 UTC](https://forum.toplap.org/t/problem-with-stretch/745 "2019-08-15T18:50:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean31270](https://forum.toplap.org/user_avatar/forum.toplap.org/jean31270/32/362_2.png) [@jean31270](https://forum.toplap.org/u/jean31270)\
**Post date:** [15 August 2019 18:50 UTC](https://forum.toplap.org/t/problem-with-stretch/745/1 "2019-08-15T18:50:16Z")

</div>

Hi,

The stretch() instrument does not produce any output on my system. With the same sample path I have a sound with loop ().

For info: linux lubuntu.

---

<div class="post-metadata">

**Author:** ![ryan](https://forum.toplap.org/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://forum.toplap.org/u/ryan)\
**Post date:** [19 August 2019 08:18 UTC](https://forum.toplap.org/t/problem-with-stretch/745/2 "2019-08-19T08:18:59Z")

</div>

Very strange. How big is the file you want to use, and what is the path? Can you post the code for `loop` that does work, and `stretch` that does not?

---

<div class="post-metadata">

**Author:** ![jean31270](https://forum.toplap.org/user_avatar/forum.toplap.org/jean31270/32/362_2.png) [@jean31270](https://forum.toplap.org/u/jean31270)\
**Post date:** [19 August 2019 19:25 UTC](https://forum.toplap.org/t/problem-with-stretch/745/3 "2019-08-19T19:25:56Z")

</div>

s1 \>\> loop("/home/jargenty/Desktop/Musique/FoxDot/snd/_loop_/foxdot.wav", dur=4)

d1 \>\> stretch("/home/jargenty/Desktop/Musique/FoxDot/snd/_loop_/foxdot.wav", dur=2)

---

<div class="post-metadata">

**Author:** ![ryan](https://forum.toplap.org/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://forum.toplap.org/u/ryan)\
**Post date:** [20 August 2019 08:44 UTC](https://forum.toplap.org/t/problem-with-stretch/745/4 "2019-08-20T08:44:25Z")

</div>

So I’ve worked it out, the SuperCollider code that `stretch` uses only works with stereo files. There’s no way to make it work with mono files at run time so I will have to add something like a `monostretch` SynthDef to work with mono files.
