Quantcast
Channel: Luke Hall: Portfolio » Code
Browsing latest articles
Browse All 9 View Live

Image may be NSFW.
Clik here to view.

Attribute Parsing

I’ve been working with javascript in MaxMSP quite a lot recently. I find it easier to work with when dealing with lists, logic and patch scripting. Personally, I think it makes a lot more sense to use...

View Article


Image may be NSFW.
Clik here to view.

Ordered [loadbang]

I have looked into setting the firing order of the [loadbang] object before for use in some of my own patches. I found one [mxj] class that does the job: mat.OrderedLoadBangMobj and one subpatch that...

View Article


Image may be NSFW.
Clik here to view.

Ordered [loadbang] Update

Here is the updated version which allows you to set the order with any number including negatives and decimals, which should be useful for collecting groups of events together. If you instantiate the...

View Article

Image may be NSFW.
Clik here to view.

JSON File Parser

When using javascript in MaxMSP you can query most of the attributes of the available objects. Things like the screen co-ordinates, the scripting name and whether the object is included in presentation...

View Article

Image may be NSFW.
Clik here to view.

Max MSP Tools

I’ve just updated the collection of abstractions and javascripts I use on one of my project pages. One of my favourite things about Max MSP is the ability to extend and re-use pieces of code. There’s a...

View Article


Image may be NSFW.
Clik here to view.

Regular Expressions in Max/MSP

Here’s a tutorial patch explaining how to use regular expressions with the [regexp] object in Max to parse text. It shows a few different techniques and includes examples of each. The code is below in...

View Article

Image may be NSFW.
Clik here to view.

Including Extra Javascript Files

Sometimes when writing javascript for use with Max/MSP I find I need to reuse bits of code that I’ve already created for a different project. Most of the time a simple search, copy and paste suffices...

View Article

Image may be NSFW.
Clik here to view.

Automatically Resize [bpatcher]

I’ve recently been piecing together a performance patch and using the [bpatcher] object to hold multiple instances of the same subpatch. As I think of new things to add into the subpatch I find it a...

View Article


Image may be NSFW.
Clik here to view.

Binary Conversion

There are quite a few ways to convert from decimal to binary or, as I should say, from base ten to base two and the reverse when using Max/MSP. I’ve written abstractions using native objects that...

View Article

Browsing latest articles
Browse All 9 View Live