# Record mode with reverse fonction

**URL:** <https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036>\
**Category:** Organelle\
**Created:** [March 1, 2021, 9:50am UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036 "2021-03-01T09:50:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 1, 2021, 9:50am UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/1 "2021-03-01T09:50:33Z")

</div>

Hello guys!  
Is it possible to make a patch only with record and reverse/speed fonction?  
There will be a problem with the length of recording?

---

<div class="post-metadata">

**Author:** ![Jaffasplaffa](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jaffasplaffa/32/2053_2.png) [@Jaffasplaffa](https://forum.critterandguitari.com/u/Jaffasplaffa)\
**Post date:** [March 2, 2021, 3:12pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/2 "2021-03-02T15:12:01Z")

</div>

To make reverse is really simple. It can be done in several ways.:

1. 

Set a negative value to the phasor reading the table data:  
 ![Screen Shot 2021-03-02 at 16.09.30](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/a/afbab55e25afa3d008af708939f1c04a02bcac97.png)

1. 

Invert the output of the phasor, by multiplying with -1 and adding a +1:  
 ![Screen Shot 2021-03-02 at 16.10.31](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/6/69453b61aca8e8a369a6f2ea21b9ff5e3026805a.png)

---

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 2, 2021, 4:51pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/3 "2021-03-02T16:51:48Z")

</div>

I m very bad in pure data… But I will try!  
Thanks!!

---

<div class="post-metadata">

**Author:** ![Jaffasplaffa](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jaffasplaffa/32/2053_2.png) [@Jaffasplaffa](https://forum.critterandguitari.com/u/Jaffasplaffa)\
**Post date:** [March 3, 2021, 5:10pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/4 "2021-03-03T17:10:47Z")

</div>

Could you say something about what you expect for the sampler?

To me it sounds more like you are looking for making a looper, that records for example a bar?

And then you can play it back in forward/reverse? Faster and slower?

---

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 3, 2021, 5:34pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/5 "2021-03-03T17:34:45Z")

</div>

It s not for 1 bar sampler, it s for recording in live a piece played in reverse and after play it in the normal way (so in reverse)  
The piece duration is about 2 min… So the sampler patch does not work because the limitation of duration…

---

<div class="post-metadata">

**Author:** ![Jaffasplaffa](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jaffasplaffa/32/2053_2.png) [@Jaffasplaffa](https://forum.critterandguitari.com/u/Jaffasplaffa)\
**Post date:** [March 3, 2021, 6:15pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/6 "2021-03-03T18:15:50Z")

</div>

For a 2 minute file you are going to get bad audio quality after around 1.5 minute the quality will start to degrade. That’s probably why there is a limitation in the sampler you use. This is a 32bit/single precision limitation. Once Pure data is update and all objects are 64bit(double precision) this will be no problem.

Here is an technical explanation about why that happens:

[![](https://img.youtube.com/vi/93632nc8LVs/hqdefault.jpg "precision matters") ](https://www.youtube.com/watch?v=93632nc8LVs)

So playing a 2 minute files is not going to sound well, unless you do some work arounds. There are examples on how to make it work, but it’s a bit more complicated. See example B15.tabread4~-onset in Pd 0.51.4. Must be that version of pd, cause the old documentation is not the same.

Here is another example of onset for long files with variable speed/playback:  
[varispeed-example.pd](https://forum.critterandguitari.com/uploads/short-url/iihbTa0VXqxpUC9qgduUNbyK0RP.pd) (3.9 KB)

So it is possible to do, but just a bit more complicated.

---

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 3, 2021, 7:57pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/7 "2021-03-03T19:57:02Z")

</div>

Whoua thanks!! Honestly it s too hard for me!! I have to find another solution…

---

<div class="post-metadata">

**Author:** ![oweno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/oweno/32/10_2.png) [@oweno](https://forum.critterandguitari.com/u/oweno)\
**Post date:** [March 3, 2021, 9:28pm UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/8 "2021-03-03T21:28:11Z")

</div>

We’ve been working on a better variable speed playback patch for a while, and actually got something working recently.

You want to try this one?

[Varispeed Recorder.zip](https://forum.critterandguitari.com/uploads/short-url/wIUSFMKhyR9EvjchbfOW8rjIiHM.zip) (360.4 KB)

It works the same as the _Recorder_ patch, but you can control speed and direction with knob 2. Use aux button to start / stop recording. The 24 keys access the most recent 24 recordings.

The sounds are recorded and played directly from disk, so the only limit on length is disk space. Let me know how it works!

---

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 4, 2021, 7:38am UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/9 "2021-03-04T07:38:29Z")

</div>

Thank you so much!!  
I will try soon!!

---

<div class="post-metadata">

**Author:** ![jstrb](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jstrb](https://forum.critterandguitari.com/u/jstrb)\
**Post date:** [March 5, 2021, 11:33am UTC](https://forum.critterandguitari.com/t/record-mode-with-reverse-fonction/7036/10 "2021-03-05T11:33:15Z")

</div>

It works perfectly!!  
Can t wait to test that in live with audience!!!  
Thanks you very much!!
