# Orac 2: converting patches into modules

**URL:** <https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740>\
**Category:** General\
**Created:** [December 27, 2020, 11:35am UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740 "2020-12-27T11:35:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mellifrugo](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@mellifrugo](https://forum.critterandguitari.com/u/mellifrugo)\
**Post date:** [December 27, 2020, 11:35am UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/1 "2020-12-27T11:35:23Z")

</div>

Hi all,  
I went through this detailed tutorial

[![](https://img.youtube.com/vi/w_a11cry1f8/maxresdefault.jpg "Orac : Converting patches to modules") ](https://www.youtube.com/watch?v=w_a11cry1f8)

for converting patches into modules for Orac 2. I tried to replicate the same path to create the module “nori smapler+” from the homonimous patch (here “+” just because there is already “nori sampler” in the current Orac2 patch).

I supposed I followed all the steps correctly, also the warnings across the tutorial (and I do not see any error message on the pd screen).  
However:

1. nothing is displayed on the screen
2. the knobs values are not recieved (for example if I open “sampler voice” on VNC viewer I clearly see that no number changes if I move knob 1)

Now, I am wondering what’s went wrong during the process. I want also to mention that I did the whole process in two steps (so a half step in one day, saved all and turn off the organelle, and then all the rest in another day). Not sure if this matters (maybe not…).

Anyhow, here below the details of module.json file:  
{  
“name” : “norisampler+”,  
“display” : “Nori sampler+”,  
“parameters” : [  
[“pct”,“n\_speed”,“Speed”,-100,100,0],  
[“pct”,“n\_mod”,“Modulation”,0,100,0],  
[“pct”,“n\_start”,“Start Point”,0,100,0],  
[“pct”,“n\_dur”,“Duration”,0,100,100],  
],  
“pages” : [  
[“pg\_main”,“Main”,[“n\_speed”,“n\_mod”,“n\_start”,“n\_dur”]]  
]  
}

and here below a screenshot of module.pd (I suppose the problem is here).  
Anyone can see where the problem could be or how can I spot it?

 ![IMG_20201227_122929](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/9/9392cacc5c567404b17295e95e0a29dd802bd8e3.jpeg)

---

<div class="post-metadata">

**Author:** ![clemi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/clemi/32/4512_2.png) [@clemi](https://forum.critterandguitari.com/u/clemi)\
**Post date:** [December 27, 2020, 6:34pm UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/2 "2020-12-27T18:34:54Z")

</div>

Hello!

Just curious, are you uploading you custom module to /sdcard/media/orac/usermodules ?  
Could you maybe share your module, so I can try it out on my machine?

---

<div class="post-metadata">

**Author:** ![mellifrugo](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@mellifrugo](https://forum.critterandguitari.com/u/mellifrugo)\
**Post date:** [December 29, 2020, 1:32pm UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/3 "2020-12-29T13:32:35Z")

</div>

Hi,  
regarding the first question, no, I have just duplicated the patch “orac” as “orac+” into another patch folder and there I added in “modules” subfolder the new module “nori sampler+”.  
Regarding the second question, I am sorry, but I have unfortunately deleted the duplicated patch (so silly…) and now I need to redo all from scratch ☹  
I will share the patch as soon as I recreate the module.

thx,  
–marsch

---

<div class="post-metadata">

**Author:** ![mellifrugo](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@mellifrugo](https://forum.critterandguitari.com/u/mellifrugo)\
**Post date:** [January 3, 2021, 3:12pm UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/4 "2021-01-03T15:12:47Z")

</div>

Just a quick notification, even though I am trying to replicate again the steps of the tutorial (and I will attach the module as soon as possible), in my opinion the problem is that the [current tutorial](https://www.youtube.com/watch?v=w_a11cry1f8) refers to [Orac 1.0](https://forum.critterandguitari.com/t/orac-release-1-0/2743).  
So this makes me think that the process will never work the same on [Orac 2.0](https://patchstorage.com/orac-2-0-for-organelle/).  
As a matter of fact, you can see already that the file module.pd and module.json, that Technober uses, come from a module “U-default” which in Orac 2.0 does not exist anymore (actually all the patches you see in the tutorial are named differently). Furthermore, the module.pd files in Orac 2.0 are different from Orac 1.0 (in Orac 2.0 there are less details).

For this reason, I think that a new turial is need. If it already exists, does anyone know where it is?

thx,  
–marsch

---

<div class="post-metadata">

**Author:** ![clemi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/clemi/32/4512_2.png) [@clemi](https://forum.critterandguitari.com/u/clemi)\
**Post date:** [January 4, 2021, 6:04am UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/5 "2021-01-04T06:04:07Z")

</div>

Hello,

Indeed, the tutorial was made at the time for Orac 1. But I don’t think there is another one for Orac 2, but there isn’t a lot of changes, and it should be easier to do this on Orac 2. (see [here](https://forum.critterandguitari.com/t/orac-2-0/4154/270) and [here](https://forum.critterandguitari.com/t/orac-2-0/4154/315) )  
To follow this tutorial, I used the _Empty_ module and deleted all the bits on the right that does the “Press encoder…” message.  
I believe there are less elements in Orac 2’s modules as much is now covered by Orac itself and doesn’t need to live in each modules.  
Also, feel free to join the [module developer](https://forum.critterandguitari.com/t/orac-module-developers-guide/2744) thread 👍.

---

<div class="post-metadata">

**Author:** ![mellifrugo](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@mellifrugo](https://forum.critterandguitari.com/u/mellifrugo)\
**Post date:** [February 21, 2021, 4:00pm UTC](https://forum.critterandguitari.com/t/orac-2-converting-patches-into-modules/6740/6 "2021-02-21T16:00:18Z")

</div>

Hi clemi,  
sorry for the long delay… I have finally replicated the module as in the tutorial. Please see the attached (I renamed the module just “nori” since in orac 2.0 there is already “norismapler”). I tried to follow all the steps as in the video (including the warnings). But as we already mentioned this module should just work on orac 1.0 (although I did not try yet) and most likely there is less to do in orac 2.0.

Just curious to know the major differences.

thx

[nori.zip](https://forum.critterandguitari.com/uploads/short-url/AcqRnaRLTeGu9PIbqgZiZt4CagC.zip) (371.7 KB)
