Griffin Powermate as Midi controller

Solves focus problem.

thumb_griffin-powermate_sq

By Johannes Hoffman

http://www.net-artworks.de/articles/en/Powermate.php

I used this method as an alternative frequency controller for the remote radio project. It uses Applescript and Midi-pipe http://www.subtlesoft.square7.net/MidiPipe.html

The left and right encoder values are assigned to MIDI control messages.

update 2022/10/18

Implemented on Mac OS Monterrey (M1)

Downloaded most recent drivers from https://app.box.com/s/m9rrdlqdnoh8uf3utxdaswvep4cgogek

Implemented Applescript/Midipipe as described above. Had to make a few mods to get both CCW and CW motion working and change name of IAC driver in Midipipe script.

Local scripts in tkzic/griffin powermate scripts/

Applescripts entered using applescript editor app. Links to the applescripts should be entered in the powermate.app which sometimes only appears visible in the top bar after a reboot.

To start:

  • run powermate.app (if not automatically started on login)
  • run powermate2midi.mipi (this is midipipe)
  • you should be able to read cc messages now from iac driver 1
  • example max program: max teaching examples/griffin powermate test.maxpat

 

 

ep-4xx13 DSP – week 3

exploring the unknown

The very small, the distant, the imagination.

Stories

Max patches

  • timestretch3.maxpat – granular synthesis – with Mira
  • granularized – In Max: Extras | ExamplesOverview | Sampling | granularized

links

Assignment:

Experiment with granular synthesis using various types of sound: music, voice, outdoor sounds, machines. What happens when you granular-ize a grain of sound?

 

How to add a random post button in WordPress

by teachyourselfwebsites.com

I used this method to add a “random post” to this site. I didn’t create a child theme. So it will break when the theme gets updated.

http://teachyourselfwebsites.com/create-random-post-button-wordpress-blog/

4/24/2016 note:

Here are some details. You need to create a new file inside the theme called page-random.php based on the original page.php.

the added code looks like this and goes right before get_header():

 

<?php
/* Template Name: Random Post */

$randomPost = get_posts(array(
 'numberposts' => 1,
 'orderby' => 'rand'
));
 
foreach ($randomPost as $post) {
 wp_redirect(get_permalink($post->ID));
 exit();
}

Soundcloud short-codes

This code comes from clicking the Share button on the SoundCloud clip, then using the “WordPress Code”

If you find old-style SoundCloud post on a 3rd party site, you may need to get the ’embed’ code and then add it to your post, using the html editor

 

 

test of WordPress text-expander plugin

Following this line, is some text to expand…

It uses shortcodes for the formatting…

[ expand title ]
text
[ /expand ]

 

this
is
some
text

Here is a Max patch in compressed text format. Enclose it in <pre> </pre> tags

----------begin_max5_patcher----------
528.3ocyU0ziaBCD8L7qvBodZCD7GXC6sH0iUUUppm5tph.N65JvNBbTy1U6
+8ZafDRhVET2UzdH1iey3g27xLvy9dAqU64sAfaAeG348rummCxB30e1KnNe
eQUdqKr.I+Wp0+LXQmKMeu1AuoQU29T8ZU0fqs45hGExG9QCuP28DHwQwK.P
paKEaWQlUv88WYiRpk40bWFW0HxOjLqmVwucdfDyE6fk6pExJt1QM3QP0N84
nhRWVMbOLaHqcgoeZKuieAAf6sddw22tr3sIIMlzyABoFroRkquptfhcaYvY
QWvWpKrWWWVz+68TeDZdy0aVPtMb7+plE57zrrswznb8VjtQGb5rnFwWpFjf
+hRtl21l+.+hZd0pu7IvcAIDTDhbWf4+5kzknXHB.iuESyqMNgLHDhvHi6u8
0OZ.97xUfPfY0fDNb6DygSLMyR86DJi0ev5GBO2D16EhRhRoVravQDBiYvFr
BA2DGQIevEXHlFkAy5roYQrzNSHEEkhs2GRIQIz96bfyGRwwr1URiKAXZDEO
xzDzH2iKdyS7TdMx4fTWIj7B0NoSuIWq6paMAxralB68p6BM0YMzDm0b7xUb
m8oKWoYwOsarUsqoXHU8eA.br5J4sZgLWKTxQwvNIlGEkkb43ohZQ4VkYnsm
BuxKClJinSfQYyJiXSfQjYmQv+qXDZBZD8MvHygW7+yzP0RM
-----------end_max5_patcher-----------