# Aleph's grid apps

**URL:** <https://forum.critterandguitari.com/t/alephs-grid-apps/2377>\
**Category:** Patching\
**Created:** [February 2, 2018, 5:43pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377 "2018-02-02T17:43:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 2, 2018, 5:43pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/1 "2018-02-02T17:43:50Z")

</div>

hello!

@rick_monster ported these grid apps from the monome Aleph to pure data.

- kria ([https://monome.org/docs/modular/whitewhale/](https://monome.org/docs/modular/whitewhale/))
- meadowphysics ([https://monome.org/docs/modular/meadowphysics/](https://monome.org/docs/modular/meadowphysics/))
- kria ([https://llllllll.co/t/kria-0-3-initial-release/2409](https://llllllll.co/t/kria-0-3-initial-release/2409))
- step
- grid

i’ve been exchanging messages with him to build these for os x and for the organelle. but had trouble building it for the organelle 😕 there are some problems, these objects cannot access organelle serialosc. also i have no knowledge about linux and @rick_monster does not have an organelle ☹

so, could someone gives a hand? i think it would be great to add these grid apps to the organelle family 🙂 thanks in advance!

> **[boqs/pd-grid](https://github.com/boqs/pd-grid/tree/dev)**
>
> monome grid apps for puredata. Contribute to boqs/pd-grid development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![thetechnobear](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/thetechnobear/32/42_2.png) [@thetechnobear](https://forum.critterandguitari.com/u/thetechnobear)\
**Post date:** [February 2, 2018, 6:07pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/2 "2018-02-02T18:07:46Z")

</div>

I thought @quilime had resolved this issues on this thread?

> [@Serialosc/monome with Organelle?](http://forum.critterandguitari.com/t/serialosc-monome-with-organelle/233/17):
>
> Alright! It’s working! I’ve moved everything to a repo. View the [README](https://github.com/quilime/organelle-monome/blob/master/README.md) for setup and install.

and posted installations stuff on his GitHub here

> **[GitHub - quilime/organelle-monome: Monome Grid, and Aleph apps, and Serialosc...](https://github.com/quilime/organelle-monome)**
>
> Monome Grid, and Aleph apps, and Serialosc installer and example patches for Critter + Guitari Organelle - GitHub - quilime/organelle-monome: Monome Grid, and Aleph apps, and Serialosc installer an...

sorry, don’t have a monome… and given the number of controllers i have cant justify one 😉

good luck

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 2, 2018, 9:07pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/3 "2018-02-02T21:07:50Z")

</div>

Hey @sno ! Yeah, there are some weird issues getting this to work with SerialOSC on the Organelle because these programs have the port numbers hard coded, while SerialOSC picks a random port number every time (which is preferred). I’ll take another look at this again.

---

<div class="post-metadata">

**Author:** ![rick\_monster](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/rick_monster/32/1118_2.png) [@rick\_monster](https://forum.critterandguitari.com/u/rick_monster)\
**Post date:** [February 2, 2018, 10:32pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/4 "2018-02-02T22:32:43Z")

</div>

@quilime, the port-numbers-hard-coded thing should be fixed on boqs/master now.

Think it was just sitting there hidden away on the dev branch for a while, since I was the only known user!

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 2, 2018, 11:50pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/5 "2018-02-02T23:50:47Z")

</div>

Oh cool!! I’ll check out the new source. 👍

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 3, 2018, 8:36pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/6 "2018-02-03T20:36:06Z")

</div>

thanks @quilime!

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 26, 2018, 9:45am UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/7 "2018-02-26T09:45:27Z")

</div>

Looking good! I’ve got these apps working and compiled for Organelle, which you’ll find in this zip:

[Monome-Organelle-Grid-Apps.zip](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/6/6da5bcbbb8c97b29477803eb2fbbb98750eef39d.zip) (681.5 KB)

In this zip is a new Monome-Installer, which you need to place at the root of the Patches folder before running. It will update serialosc to utilizes the daemon as a system service. I’ve found that sometimes you need to unplug/plug the Monome in when switching patches so there’s there’s still a few things to iron out before committing it to the main repo. It’s still a WIP, but shouldn’t mess up any of your existing Monome patches.

@sno could you give a try? Maybe you can take a look at the Meadowphysics and WhiteWhale patches in the pd-grid/ folder and get some examples going with the Organelle.

Let me know if serialosc installs correctly, and the Monome light up. After running the Installation patch, try running the pd-grid/grid-help.pd patch from the Organelle Desktop: The Monome should get “focus” when clicking on “focus”, and individual LED’s should light up when clicking the message boxes. Thanks @rick_monster for these apps, they are pretty sweet!

When we iron out all the kinks and make a few examples that work on the Organelle (without being in Desktop mode obviously), I’ll update my github and patches on the patchrepo.

---

<div class="post-metadata">

**Author:** ![sakul](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sakul](https://forum.critterandguitari.com/u/sakul)\
**Post date:** [February 26, 2018, 12:01pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/8 "2018-02-26T12:01:13Z")

</div>

this is awesome! thanks for sharing!  
going to test sometime this week…

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 26, 2018, 2:47pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/9 "2018-02-26T14:47:33Z")

</div>

nice @quilime! i’ll try it out this week and report back!  
thank you!

---

<div class="post-metadata">

**Author:** ![rick\_monster](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/rick_monster/32/1118_2.png) [@rick\_monster](https://forum.critterandguitari.com/u/rick_monster)\
**Post date:** [February 26, 2018, 10:16pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/10 "2018-02-26T22:16:42Z")

</div>

So two points here:

1. I don’t want to take any credit for the designs of these grid apps - all the creativity & research is tehn & catfact’s work, originally developed for monome aleph & eurorack modules. I loved them so much on the aleph I finally got round to porting them.
2. Please don’t pester tehn/monome if these externals have bugs. But feel free to bip me about any probs you encounter.

with the disclaimers out the way, I’m nonetheless pretty stoked that these externals have made it to organelle!

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 27, 2018, 2:09am UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/11 "2018-02-27T02:09:35Z")

</div>

hi @quilime!  
my organelle is on OS 3.1 running on a sd card.  
i ran the Monome-Installer with no luck for the first time 😕  
second time, open the Monome-Installer patch and change the path message, my Patches root folder is different because of the sd card.

 ![IMG_1682](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/2/21ec2324558729c40b975d943a77aa76ae730f1b.JPG)  
at the end the “… Done! unplug/plug monome press AUX for Lightshow” message came on. press aux button, but no lightshow 😕  
monome works with your basic poly patch but no luck with grid-help.pd patch… maybe the new installer did not overwrite the previous one. i had the previous serialosc running on my organelle.  
all my other monome patches are still working.

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 27, 2018, 2:39am UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/12 "2018-02-27T02:39:47Z")

</div>

Oh interesting — yes, my location assumes “usbdrive”. I wish I didn’t have to hard-code that path, but it appears the Organelle loads the patch into a temp folder when it runs it, so I don’t know of a way to find the relative path yet.

BTW by installing this, all the old monome apps should still work. This installer just updates serialosc.

If you open up “install.sh” you can see paths defined in the variables at the top and what the script does. It essentially creates links and copies binaries to the right places, and starts serialosc as a daemon – which means it will always be running when the Organelle starts up. Notice I’ve hardcoded the path here as well…

```
#!/bin/sh

LOC=/usbdrive/Patches/Monome-Installer
BIN=/usr/local/bin
LIB=/usr/local/lib

sleep 0.5

echo "Enabling r/w"
mount / -o remount,rw

sleep 1

echo "Copying Libs"
cp -r ${LOC}/lib/monome /usr/local/lib/

sleep 1

echo "Copying Shared Objs"
cp ${LOC}/lib/libmonome.so /usr/local/lib/

sleep 1

echo "Linking Shared Objs"
ln -s ${LIB}/libmonome.so ${LIB}/libmonome.so.1
ln -s ${LIB}/libmonome.so ${LIB}/libmonome.so.1.4.0

sleep 1

echo "Setting Paths"
# libmonome looks for libs in in /usr/local/lib/, so add it to our libpath
echo "${LIB}" > /etc/ld.so.conf.d/usrlocal.conf
ldconfig

sleep 1

echo "Copying Binaries"
cp ${LOC}/monomeserial ${BIN}/
cp ${LOC}/serialoscd ${BIN}/
cp ${LOC}/serialosc-detector ${BIN}/
cp ${LOC}/serialosc-device ${BIN}/

sleep 1

echo "Starting Services"
cp ${LOC}/serialosc.service /etc/systemd/system/
systemctl enable --now serialosc.service

sleep 1

echo "Disabling r/w"
mount / -o remount,ro
```

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 27, 2018, 2:58am UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/13 "2018-02-27T02:58:01Z")

</div>

so i should also change path inside the "install.sh” and try to reinstall?

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 27, 2018, 3:13am UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/14 "2018-02-27T03:13:01Z")

</div>

Yes – I just assumed the patch would be on the usbdrive, you’ll need to change it to be the SDcard if that’s where it is on your system. I’m attempting to figure out a way to not hardcode this path…

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 27, 2018, 12:23pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/15 "2018-02-27T12:23:27Z")

</div>

ok.  
change path to sdcard on patch and on "install.sh”. installation was successful got the monome blink and lightshow at the end.  
now all monome patches won’t work 😕  
they seem to focus on serialosc and loose it right away, if i restart serialosc nothing happens… on grid pd-grid object it also happens but it takes a little more time to loose focus, after that i cannot reconnect to serialosc.  
the lightshow at the end of the install also stopped automatic. don’t know if it’s supposed to do that…  
on pd window no errors, udp says it it connects to port x.

update:  
replaced the serialosc.pd in new Monome-Installer with previous serialosc.pd in my monome patches.  
It is working! with both older patches and grid from grid-help.pd.  
but after a while (around 1 minute) all loose focus 😕 if i restart serialosc focus is enable again on all normal patches.  
with grid from grid-help.pd have to restart the patch to enable serialosc again.  
none the less all loose focus again.

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 27, 2018, 4:49pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/16 "2018-02-27T16:49:03Z")

</div>

Ah – I’ll continue working with it. The new serialosc is running as a daemon in the background so maybe it’s interfering. From the commandline, you can disable the serialosc daemon it and should be able to use the old patches again. Run these commands in the terminal:

```
mount / -o remount,rw #enable read/write
systemctl disable serialosc.service #disable serialosc service
rm /etc/systemd/system/serialosc.service #remove serialosc service

```

Then restart the organelle, and try the old patches. Hopefully this will get you back to where you were.

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 27, 2018, 5:24pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/17 "2018-02-27T17:24:05Z")

</div>

ran the commands, restarted the organelle and replaced the serialosc.pd from new Monomer-Installer with previous version, all back to normal 🙂 thanks @quilime  
grid from grid-help.pd not working, as expected right?

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 27, 2018, 5:47pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/18 "2018-02-27T17:47:03Z")

</div>

Ok whew 🙂

It’s working if you have the new serialosc running as a daemon. However, you can hack it when running in the Desktop mode by running `serialoscd` on the commandline. Verify it’s working by unplugging/plugging in the Monome you should see the device show up.

If the device shows up, then run grid\_help.pd and it should work after clicking the “focus” message box.

I’ll keep hammering on getting the installation to be bulletproof. Knowing you run the patches on the sdcard, and the fact that now with OSv3 people can have patches in subfolders means I have a bit more work to do to make sure it can install from anywhere.

---

<div class="post-metadata">

**Author:** ![quilime](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/quilime/32/338_2.png) [@quilime](https://forum.critterandguitari.com/u/quilime)\
**Post date:** [February 27, 2018, 5:55pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/19 "2018-02-27T17:55:58Z")

</div>

> [@rick\_monster](#):
>
> So two points here:
> 
> I don’t want to take any credit for the designs of these grid apps - all the creativity & research is tehn & catfact’s work, originally developed for monome aleph & eurorack modules. I loved them so much on the aleph I finally got round to porting them.  
> Please don’t pester tehn/monome if these externals have bugs. But feel free to bip me about any probs you encounter.
> 
> with the disclaimers out the way, I’m nonetheless pretty stoked that these externals have made it to organelle!

Thanks for clarifying, @rick_monster A lot of my work is leveraging existing code as well. Duct-tape, twine and Velcro 🙂 I will absolutely make sure to credit Brian and Ezra and all the original authors when this is all wrapped up in a nice Organelle installer.

---

<div class="post-metadata">

**Author:** ![sno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/sno/32/2034_2.png) [@sno](https://forum.critterandguitari.com/u/sno)\
**Post date:** [February 27, 2018, 6:20pm UTC](https://forum.critterandguitari.com/t/alephs-grid-apps/2377/20 "2018-02-27T18:20:32Z")

</div>

> [@quilime](#):
>
> However, you can hack it when running in the Desktop mode by running serialoscd on the commandline. Verify it’s working by unplugging/plugging in the Monome you should see the device show up.
> 
> If the device shows up, then run grid\_help.pd and it should work after clicking the “focus” message box.

this way, grid and grid\_help.pd works! 😃 and all the older patches work as well 🙂

> Knowing you run the patches on the sdcard, and the fact that now with OSv3 people can have patches in subfolders means I have a bit more work to do to make sure it can install from anywhere.

that is very true. i’m using and sdcard and all my monome patches are inside a folder called monome, sorry ☹

> Maybe you can take a look at the Meadowphysics and WhiteWhale patches in the pd-grid/ folder and get some examples going with the Organelle

i’ll try and do that!

thanks for the good work @quilime! hope you can get all these processes to become automatic 🙂

[Next page](https://forum.critterandguitari.com/t/alephs-grid-apps/2377.md?page=2)
