# New Tool (2.8) Duplex: Grid Pie

**URL:** <https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303>\
**Category:** Renoise Tools\
**Created:** [November 27, 2011, 12:55pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303 "2011-11-27T12:55:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 27, 2011, 12:55pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/1 "2011-11-27T12:55:11Z")

</div>

Duplex Grid Pie

Grid Pie is a performance interface. It lets the user combine different partsof a linear song, non-linearly, in real time, using a special looping patternas a live drafting area. It does so by taking over the Pattern Matrix.

Duplex Grid Pie is part of [Duplex](http://www.renoise.com/tools/duplex), and based on Conner\_Bw’s initial tool.

Check out the full documentation, available on github:

[https://github.com/renoise/xrnx/blob/master/Tools/com.renoise.Duplex.xrnx/Docs/Applications/GridPie.md](https://github.com/renoise/xrnx/blob/master/Tools/com.renoise.Duplex.xrnx/Docs/Applications/GridPie.md)

---

<div class="post-metadata">

**Author:** ![lazerbeat](https://forum.renoise.com/letter_avatar/lazerbeat/32/6_449c533f586939b6e5f246632a46421f.png) [@lazerbeat](https://forum.renoise.com/u/lazerbeat)\
**Post date:** [November 27, 2011, 2:39pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/2 "2011-11-27T14:39:15Z")

</div>

awesome, downloading now.

---

<div class="post-metadata">

**Author:** ![dac514](https://forum.renoise.com/user_avatar/forum.renoise.com/dac514/32/100_2.png) [@dac514](https://forum.renoise.com/u/dac514)\
**Post date:** [November 27, 2011, 3:20pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/3 "2011-11-27T15:20:22Z")

</div>

Congratulations danoise,

Thanks for doing this.

I don’t have a lot of free time to look at Renoise stuff these days. My gut is that I will deprecate Grid Pie stand alone in the long run and contribute my patches to this new version.

Cheers.

---

<div class="post-metadata">

**Author:** ![phooka](https://forum.renoise.com/user_avatar/forum.renoise.com/phooka/32/1582_2.png) [@phooka](https://forum.renoise.com/u/phooka)\
**Post date:** [November 28, 2011, 5:23am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/4 "2011-11-28T05:23:58Z")

</div>

woohoo!

---

<div class="post-metadata">

**Author:** ![Jonas](https://forum.renoise.com/user_avatar/forum.renoise.com/jonas/32/6937_2.png) [@Jonas](https://forum.renoise.com/u/Jonas)\
**Post date:** [November 28, 2011, 5:57am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/5 "2011-11-28T05:57:38Z")

</div>

Booyakashot!

---

<div class="post-metadata">

**Author:** ![satobox](https://forum.renoise.com/letter_avatar/satobox/32/6_449c533f586939b6e5f246632a46421f.png) [@satobox](https://forum.renoise.com/u/satobox)\
**Post date:** [November 28, 2011, 6:07am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/6 "2011-11-28T06:07:15Z")

</div>

Great work, conner & danoise!!

Now I’ve understand what the Grid-Pie is at last. (“Live-ish” performance app)  
It must be suitable for APC. ![B)](https://files.renoise.com/forum/emoticons/default/cool.gif)

---

<div class="post-metadata">

**Author:** ![dby](https://forum.renoise.com/user_avatar/forum.renoise.com/dby/32/161_2.png) [@dby](https://forum.renoise.com/u/dby)\
**Post date:** [November 28, 2011, 5:47pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/7 "2011-11-28T17:47:36Z")

</div>

Great work! How is CPU usage of the duplex version compared to the old standalone?

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 28, 2011, 7:14pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/8 "2011-11-28T19:14:52Z")

</div>

> [@dby](#):
>
> Great work! How is CPU usage of the duplex version compared to the old standalone?

Duplex won’t reduce CPU usage in itself. Quite the opposite, in fact: in most cases, it probably has a slight increase in CPU usage! But this extra processing is not in vain, it’s to avoid the “MIDI bottleneck”; duplicate and/or unnecessary messages being sent back and forth between the controller and Renoise. The result should be a much more responsive controller.

---

<div class="post-metadata">

**Author:** ![dby](https://forum.renoise.com/user_avatar/forum.renoise.com/dby/32/161_2.png) [@dby](https://forum.renoise.com/u/dby)\
**Post date:** [November 28, 2011, 9:03pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/9 "2011-11-28T21:03:16Z")

</div>

I was thinking that maybe you had done the rewrite you mentioned earlier?

> [@New Tool (3.0): Grid Pie](https://forum.renoise.com/t/new-tool-3-0-grid-pie/30395/65):
>
> @dby: I previously suggested a rewrite that would only output the lines that were about to be played. For example, the NotesOnWheels sequencer does this, because it’s way too heave to output those complex sequences in complete “chunks”. Instead, the script would keep track of playback progress and output a few lines at a time.

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 28, 2011, 9:12pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/10 "2011-11-28T21:12:22Z")

</div>

> [@dby](#):
>
> I was thinking that maybe you had done the rewrite you mentioned earlier?

Nope, it’s basically a port of Conner’s script, with a few additional of my own. Did it in a single night. And while it’s possible to do the incremental write-thing, it’s not a small task.  
For example, Notes On Wheels takes up more than 4000 lines of code ![](https://forum.renoise.com/uploads/default/original/3X/f/f/ffb23377f7f29b287e961e7b2e2fbd620b0035b7.gif)

---

<div class="post-metadata">

**Author:** ![dby](https://forum.renoise.com/user_avatar/forum.renoise.com/dby/32/161_2.png) [@dby](https://forum.renoise.com/u/dby)\
**Post date:** [November 28, 2011, 11:42pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/11 "2011-11-28T23:42:40Z")

</div>

Ok, no use for me to even try it then (I really should save up for a new laptop and midi interface). Anyways… you are doing a great job, keep it up.

---

<div class="post-metadata">

**Author:** ![Mooko](https://forum.renoise.com/letter_avatar/mooko/32/6_449c533f586939b6e5f246632a46421f.png) [@Mooko](https://forum.renoise.com/u/Mooko)\
**Post date:** [November 29, 2011, 12:06pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/12 "2011-11-29T12:06:25Z")

</div>

Hi  
Great work thank you!!!  
But when I switch (for example) mixer to gridpie all the track selected in gridpie turn off…  
I there possible to keep the track on in gridpie when you switch to another configuration?  
I replace the transport per switch configuration it woulb be perfect if the gridpie stay on …

And excuse me for my english!!!  
Mooko

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 29, 2011, 1:03pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/13 "2011-11-29T13:03:37Z")

</div>

> [@Mooko](#):
>
> I there possible to keep the track on in gridpie when you switch to another configuration?

Hey Mooko. When you switch, you are actually restarting the application, so it’s true that Grid Pie is resetting each time it’s started.  
But what you are suggesting should be possible, it would require that Grid Pie is initially performing a “song scan” to locate which slots are enabled.

I’m currently investigating how to make Grid Pie integrate better in a Duplex setup, so thanks for the idea.

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 29, 2011, 1:51pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/14 "2011-11-29T13:51:13Z")

</div>

Right, another update for Grid Pie.

Now, you should be able to map the application to other devices than the Launchpad, since you can now control X/Y position with a fader/knob.  
See the [LPD8 configuration](http://code.google.com/p/xrnx/source/browse/trunk/Tools/com.renoise.Duplex.xrnx/Duplex/Controllers/AkaiLPD8/Configurations/GridPie.lua) for an example of how to do it (oh, and LPD8 owners, please take a look [here](https://forum.renoise.com/t/duplex-device-akai-lpd8/30542))

The bug, where the held button was deactivated when released, is gone, and holding a button now copies the pattern (much faster!!)

I’ve also done some tweaks in order to make the usage more smooth. For example:

- Hitting “play” will force the playback to begin in the **GRID PIE** pattern.
- When “follow\_pos” is enabled, follow playback will be disabled at all times
- The application will shut down in an orderly fashion when you load a new song, or delete the **GRID PIE** pattern
- You can MUTE/OFF tracks, and Grid Pie will leave them alone

Download the release [here](https://forum.renoise.com/t/duplex-beta-versions/30625)

---

<div class="post-metadata">

**Author:** ![dac514](https://forum.renoise.com/user_avatar/forum.renoise.com/dac514/32/100_2.png) [@dac514](https://forum.renoise.com/u/dac514)\
**Post date:** [November 30, 2011, 4:52am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/15 "2011-11-30T04:52:09Z")

</div>

> [@](#):
>
> - press and release to copy track, hold button to copy pattern

I can’t seem to get this to work on the LPD8. I press and hold a button, nothing different happens than a regular press. Am I doing it wrong?

> [@](#):
>
> - Hitting “play” will force the playback to begin in the **GRID PIE** pattern.

I was expecting the playback to start right away?

> [@](#):
>
> - The application will shut down in an orderly fashion when you load a new song, or delete the **GRID PIE** pattern

Can’t figure out how to revert song to the original “no Xs” state. Tried deleting the pattern. Didn’t do anything.

Everything else seems to work.

Good stuff.

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [November 30, 2011, 8:26am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/16 "2011-11-30T08:26:40Z")

</div>

The instant playback, to me, seemed very obtrusive. I’m like, take a deep breath, hit start - a willfull act. I never enabled autostart in Renoise for the same reason. But let’s make it optional!

As for the reverting of mutes, I completely missed that feature…time to revisit your script 🙂

---

<div class="post-metadata">

**Author:** ![dac514](https://forum.renoise.com/user_avatar/forum.renoise.com/dac514/32/100_2.png) [@dac514](https://forum.renoise.com/u/dac514)\
**Post date:** [December 4, 2011, 4:58pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/17 "2011-12-04T16:58:24Z")

</div>

Grid Pie Duplex version, bug:

Copy all patterns doesn’t do correct polyrhythm copy.

Open Demosong - BeatsSlaughter vs Tenda - Psydrums.  
Launch GridPie Duplex  
Select Pattern 2  
“Click and Hold” to copy entire pattern  
Select Pattern 4  
Single Click to Copy Track 3

Expected:  
Other tracks expanded to match.

Actual:  
Other tracks are truncated.

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [December 4, 2011, 5:11pm UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/18 "2011-12-04T17:11:30Z")

</div>

Thanks, I’ll look at it right away (was working on it already ![](https://files.renoise.com/forum/emoticons/default/cool.gif))

Edit: fixed. I’ll just finish what I’m working on and release a new version soon.

Edit2: new version available on SVN or from [here](https://forum.renoise.com/t/duplex-beta-versions/30625)

---

<div class="post-metadata">

**Author:** ![phooka](https://forum.renoise.com/user_avatar/forum.renoise.com/phooka/32/1582_2.png) [@phooka](https://forum.renoise.com/u/phooka)\
**Post date:** [December 5, 2011, 12:18am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/19 "2011-12-05T00:18:17Z")

</div>

I’m trying to make this Duplex version of Gridpie work with TouchOSC, but it’s my first attempt at lua and I don’t know what I’m doing.  
I have created GridPie.lua to go alongside MixerTransportMatrix.lua here: [http://pastebin.com/FV4FaMSi](http://pastebin.com/FV4FaMSi) and have modified TouchOSC.lua to include this file. Duplex accepts this file without throwing any errors and in the interface of Duplex, the TouchOSC GridPie buttons work as intended, however, my TouchOSC app on my iPod does not trigger the buttons. If I select Mixer Transport Matrix from Duplex the iPod works fine so I know it’s not a connection issue. Could you please tell me what I need to add/fix to make this work?

THANKS

---

<div class="post-metadata">

**Author:** ![danoise](https://forum.renoise.com/user_avatar/forum.renoise.com/danoise/32/64_2.png) [@danoise](https://forum.renoise.com/u/danoise)\
**Post date:** [December 5, 2011, 12:52am UTC](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303/20 "2011-12-05T00:52:07Z")

</div>

Hey phooka,  
Unfortunately, TouchOSC’s grid component doesn’t transmit any button-release event, that’s why nothing is happening…but you could make a custom TouchOSC layout with “pushbuttons” instead

As quick fix, you can also open GridPie.lua (the application) and search/replace “on\_release” with “on\_press” ![](https://files.renoise.com/forum/emoticons/default/wink.gif)

Note to self: we need an option in Grid Pie for devices with no release/hold events.

[Next page](https://forum.renoise.com/t/new-tool-2-8-duplex-grid-pie/34303.md?page=2)
