some work at the software end, stage 1

4 views
Skip to first unread message

ashlevski

unread,
Nov 24, 2010, 6:33:31 AM11/24/10
to USB-Octomod
hi, I've finally found a bit of time to start work on software to do
stuff with the octomod.

Greg: I only just properly read your post about sending MIDI
controllers 0-7 to the new P5_Octomod software - I'll have a look at
that tomorrow.

a) starting with a Max patcher - a bit like the PD patch - it really
just tests the octo & the app.

I'll try & improve this & compile it as a standalone app - something I
realised I haven't ever really done before. I'll post an URL where it
can be got from.

I had questions about how the '/dac' OSC messages work but I think it
comes down to me rediscovering MIDI & OSC as a far as encapsulating &
sending data. Bit out of touch.

the following isn't much use unless you own the full version of Max.

----------begin_max5_patcher----------
914.3oc2Y1saZCCEG+Z3ovJWsIQo9i7k2ca6AnUBMoIMMUERbKdJINJwYszp
tm84XmLBRDJD2NpnW.oA6iO92+iOmCgmlNwYo3AVkC3Sfe.lL4ooSlnuUyMl
z9+SbxhdHNMpROLmXQVFKW5Ly7Y2JxkU7GYMeFBOG1d6hRVkZTQRtH+lRVrz
rD3.nZH.jW+2vpWA+rch40Y77TlTuXnNqEIiWwyuqmkHDiIndCYo9tPeiwSz
6CwxecgaX+sQdTlda374RdTpyFGRTK67HXyMed5zlWlMNhIYOn2CNWs36fK.
7aAxULv2V7EvUwRQlHAbsGHpn.vq.oh3HIKAvyAqE0kfUhLFHg2fAQ4ZvG9y
kp4cS67t4Zu4p48Q.fKA2ySSAKY.QAKWYf64xUp0QYRMK67kTdNKVTmqcnfc
ocaMBxnDciRQb0JE1Or4M2vQn4TigB5K4HH4H0b+SoluJpL4dk9k.jBfxUS.
Ws3qMWivAyUan4nYfBQoDPU+MGrfkp18FgaknRdo9yTQCMgLh1vEklOemBp6
KJnXaDTn4LmefQdGgfhvFKg5qn93iTPcOkB5irRw3xEhB0mDLQyM3arYBMB.
B6aSlP7oDhULI32Qo0rwQx9fze7fD6QMfLvBPRBN0fTkLoLJOQjYPZkUUpC7
rsPMlfzlfXEUI+On5xZoT4BuvwVexFvfsfKAlHUJb.CcHXAt6Me2PM2RttfY
VSmkQ424.94HXiZAVxJegXI0NmmUmo4+gTBw.wcDRnV5NCgfX2iMiHTmJDGR
Gv7GBZOf1DTHuhUWz2BaqC3gzAdyYWajir5TIuJkmrQS1Ko6N2gLmBQ8qVqR
Zn3px7lIz1VEdqgnWoXQpnraPtPBEimotBAogP2lqBfHpupCFT+oVDEya1la
vgZAqjqSY8AW0F9.OR41EZJgtms3x61x2oXpKR66dgtDjq1i21sOjPDjydU8
tCHgCEEzDB37uUTkSWs43K4ob4Z8R9VcLcnHESpn1lxrHkuuofLwnDi67G9n
6p6s6vlUP0E8JAUB0dn5cd.ULE+5.Uu1uRoUP0+LAptjWInZB4sCpAuef5A0
VXK8rtsv1hYn.z3aKDSde0V39q2PoVWtwztG02h3MzYU4F6Yp4qqYGSgmUUa
rlodl1hrhoH5YUwF6YpoqH6XZ36GlNzC1o+OOfjUMxe9ktmyplRtzwmcP+j1
FxJGBxs544nH6yS+KjAVhsD
-----------end_max5_patcher-----------

Greg Surges

unread,
Nov 24, 2010, 8:06:09 AM11/24/10
to USB-Octomod
Looks cool, but when I open the Max patcher, there are only GUI
elements, no logic or connections. Is that how it's supposed to be?

I like the idea of opening the host app automatically, that's smart.

I would suggest that you not implement MIDI on CC 0 - 7 right now,
because that's going to change shortly.

Anyway, looking forward to seeing more.

- Greg

Greg Surges

unread,
Nov 24, 2010, 8:40:37 AM11/24/10
to USB-Octomod
Here's the Max code that I normally use.

- G
max_demo.maxpat

ashlevski

unread,
Nov 25, 2010, 4:20:43 AM11/25/10
to USB-Octomod
hah, I'm so old-skool (not necessarily in a good way) in max: I used
pack->bondo, yeah pak, pak

Yeah that patch should open in 'presentation mode' so it would only
show the UI items. I actually added the MIDI stuff (cc 0-7) late last
night - here's a tester that does both OSC & MIDI:

http://catfingers.net/files/octotest-02.app.zip - this should run ok
without needing Max of any sort &
http://catfingers.net/files/octotest_02.maxpat.zip - this is just the
patch - so you can open it & see what's going on.

Drag inside the multislider to directly change the channels & also to
prove that MIDI is working!

the patch needs the aka.shell external - available from:
http://www.iamas.ac.jp/~aka/max/download/aka.shell.zip

I -could- try & cut a Max Windows standalone if anyone is interested
(I think there's a shell external for XP). I own a copy of Live & M4L
so I can spin out versions for that, on OSX - I think things may get
weird x-platform in Ableton.

- I'll keep modifying & re-burn as an app as you change things in
USB_Octomod_P5. This whole thing was to open up how this could all
work when joined to sequencing/event-generating app.

The next step might be to work on something that maps MIDI to OSC in a
more configurable (& maybe presettable) way, though you (Greg) might
be working on something similar for the Octomod app.

One question - do you have any recipe on good values (level, duration)
to best generate a trigger or gate out of one of the CV outputs?

Ash
>  max_demo.maxpat
> 4KViewDownload

Greg Surges

unread,
Nov 25, 2010, 9:55:52 AM11/25/10
to usb-o...@googlegroups.com
Looks good. My preference re: MIDI is to leave it very generic - that way users can create whatever specific interface they like. I don't use MIDI often (much prefer OSC), and I wouldn't presume to have a single best way of doing it.
Reply all
Reply to author
Forward
0 new messages