How would that work?

Cool, I’ll check that out.

Orac I’ve packaged as a service, as is mec as well.
Then I use a run and stop script to start/stop them.

Hi TB
is MEC installed as part of the script?
i liked MEC alot it’s a really nice way to patch btw :slight_smile:

Hi Technobear
i installed sidekick without issue
is the 3 button thing at Boot?

To switch to orca and back? That doesn’t have to be in boot. But sometimes it’s tricky. I wish there was an easier way as sometimes I just end up going to different pages randomly.

Hi
i am also not getting any sound from PolyPd. i tried building NuiPd on Windows so i could make some test patches and send them into Norns. I know u just got stuff working but i assume if i vnc in i can at least make some quick fixes

no sound in polypd with Factory Norns,
tb_peakcomp~ -3 8 10 100 0
error: … couldn’t create
verbose(4): … you might be able to track this down from the Find menu.
using framebuffer /dev/fb0
routeOSC /encoder/turn /encoder/button
error: … couldn’t create
routeOSC /saveState
error: … couldn’t create
error: /tmp/patch/knobs.txt: can’t open
error: /tmp/patch/knobs.txt: read failed

tb_peakcomp~ is not making

If you have suggestions for a better hot key selection I’d be happy to consider

1 Like

Do the 3 buttons need to be pressed exactly at the same time or is the hot key triggered by them all just being pressed for 5 seconds? I’m wondering if I just have a wonky button.

they just at some point need to be held together at the same time for 5 seconds.
no gymnastics or special timing required :wink:

5 seconds is also longer than many ‘expect’ , you can actually change this in the sidekick.json file.
but i wanted it ‘long enough’ that its not done accidentally…
I played it pretty conservatively, you probably could reduce it to 3 seconds and it would feel more responsive - and highly unlikely you’d trigger it by accident.

as i said, Im happy to implement other key combos, that could be switched in the config file.
again, I was pretty conservative, as I’m not that familiar with norns patches, so was not sure what combos are in use - possibly 2 buttons for 3 seconds.

the ‘requirement’ is…
a) it cannot be a combination of something that is used in norns patches (or orac/pd patches)
b) it has to be simple and memorable.
c) you don’t want something that can be trigged accidentally.
d) has to work on both fates and factory norns
e) we do not know the ‘state’ of norns (this would required a change to norns) which I dont want to do (*)
f) I don’t want to present a UI (e.g. bring up an ‘are you sure message’) as i cannot guarantee norns patches will redisplay the screen over it… or not overwrite it.

apart from that i can do whatever…even something complex. press enc 1, turn enc 1, enc 2 , enc 3, press but 3 , within 5 seconds (though this probably falls foul of both a, b and c :wink: )


(*) there is a another potential solution, and that is I fork Norns, and put an ‘exit’ option on the menu,
but I quite like the fact that the norns software is ‘untouched’ currently.
forking for such a small change does not seem work ith.

the intention of PolyPd was to see how easy it was to convert a ‘standard’ organelle patch,
which meant making the minimum number of changes possible.

this has some ‘limitations’… what would be resolved if I was ‘doing it properly’
these are:
a) mother.pd
I did not ship routeOSC as its not needed, but left parts of mother.pd unchanged where it used it BUT would make no difference to functionality.
b) defaults and /tmp/patch/knobs.txt
this i probably should have shipped as i forgot this is how organelle gives reasonable ‘default’ values to the patch. this means currently you have to twist each encoder to start off at a reasonable default.
c) encoder 4
so to make the implementation simple, I matched the 4 fates encoders to the 4 pots on the organelle,
to support 3 encoders, would mean changing the patch much more, and so defeat the purpose.
AND given we only have 4 encoders i use but 3+ enc 4 as a volume control.

so your issue is a combination of b) and c)
it defaulting to a very low pitch, so you need to twist enc 1 but worst, is i think its default to zero volume, which you cannot change as you dont have encoder 4 :wink:

SO…
what I need to do for this ‘demo’, is simply default the values to something reasonable, and move the volume to but 3+ enc1 - its still won’t be perfect for the norns, since you wont be able to change the 4th parameter but thats not really the point of this patch

Im still think about if this ‘mother.pd’ will just be an example of how it might be patched, or something I’ll actually make a bit more ‘thorough’, and so remove the bits not needed.
this is part of thinking about how compatible to i want to make fates/norns with organelle patches… which I’m still not 100% decided on.


in terms of ‘fixing properly’ , or converting real patches
this is patch is only a starting point
if you want to use 3 encoders, dealing with multiple parameters would have to be done in a different way.
given the UI of the organelle is different to the factory norns - that comes as ‘no surprise’, and I think revisiting the UI is no bad thing.
(obviously a fates with 4 encoders, could quite easily use an organelle patch largely unmodified as demo’d in polypd - this is why I asked @okyeron to add the 4th encoder option :wink: )

anyway, i think you’ll find if you open up in VNC theres no fundamental issue, just this demo patch is not really currently ‘designed’ for a 3 encoder norns.

1 Like

hi TB
got it working with vncserver
i had to run vncserver once from command line to authorize the connection because it wasnt
auto starting with the .sh [but perhaps i did not make it executable
Also when i moved the tb_peakcomp~.pd_linux with the other files for some reason it excluded it so i placed it and voila it works now too

Really interesting and fun work, thanks for the effort and awesomeness

Any ideas about Nuipd for Windows 64?

1 Like

i understand
i will adapt it to granny and start there.
a nice historic granulator-- three knobs
the challenge will be getting the integration with Grids and Arcs but its going to tech me a ton. i have a kinda grids-ready patch for pd and i adapted a patch that this Finnish programmer made that extends axiome to Livid INstruments Block, so i have some starting clues

Also since i just got a Norns again, i revived my raspberry pi that has Norns, maiden and supercollider working and it plays on the screen all weird at the top, do you still have the code for the PUSH2 trick? i have Awake working on it with a graphic [about 20%] but it’s a great thing to let my student start fooling with

i built MEC and i see the libmec-push2.so in there

1 Like

my fork of norns should be working for push2

note: this is not the latest version of norns, I have also merged, but not tested (and may have a couple of things i need to resolve :wink: )

1 Like

Thanks so much for the info. I think my button 1 was sticking against the case giving me more issues with this than normal. Yes, five seconds is longer than one usually thinks. Getting better results now that I filed the button hole to sit better.

1 Like

I also had a question about running orac on the raspberry pi
is it possible to run it not on organelle just on my piSound?
I have to admit i had an extra one and for a laugh i wanted to see what would install by running your install script ON the extra PI and the demo “polybeat”? starts at boot and i have to
systemctl stop orac must be issued to stop the beats

i was trying to use it as a test space to learn orac [Not on the organelle]

i found Oscclients but i cant seem to connect to the orac that is running at boot

You need to have MEC started as a service, which happens on the Pisound by pressing the button (you can check with sudo systemctl status mec).

This is the official orac / Pisound thread, if I’m not mistaken:

1 Like

many thanks @TheTechnobear, great work!

1 Like

mec api initialise
mecapi_proc start
MecApi::MecApi
mecapi_proc enabling for console output, throttle : 0
MecApi_Impl::init
osct3d initialise
mec_app running
OscT3DHandler enabling for mecapi
T3D socket on port : 7000
T3D socket listening on : 7000

think i have all the parts now @TheTechnobear !
Mec interface patch for pd?

https://patchstorage.com/orac-remote-control-patches/

Is this what you mean?

2 Likes