I’m currently building a multi-user Wordpress based website. The users are divided in groups, which all have certain privileges. The control mostly concerns the backend, or the dashboard of Wordpress. It’s relatively straightforward to disable the users’ ability to edit pages by using a role and capability plugin like Members. But what if the user should be able to edit certain pages only? All of the pages have been created beforehand by an administrator group. In that case it’s useful to show just the page or pages which a user group can edit.

I tried a couple of plugins, but most of them are about hiding pages and posts on the public site. The few for the dashboard like Manage your posts only show the posts an author has written for the author only. In my case the author is another person, so that’s not applicable.

By using the code from the Manage your posts plugin (It’s really just a function you can include in your functions.php) as a base I was able to make it show only certain page or pages to certain user groups. The capabilities have been set with Members.

function edit_page_per_capability($query) {
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit-pages.php' ) !== false ) {
   if (current_user_can('organizer')) {
      $query->set('post__in', array(184,186) );
   }
   elseif ( current_user_can( 'instructor' ) ) {
      $query->set('page_id', '186');
   }
   elseif ( current_user_can( 'office' ) ) {
      $query->set('page_id', '8');
   }
}
}
add_filter('pre_get_posts','edit_page_per_capability');

The numbers point to specific pages which the user groups are supposed to edit. On the page list the groups see only what they are allowed to. For more options check out query_posts from the Wordpress Codex. With a minimal effort you can have it to point to pages by their real names, so the code becomes more descriptive. For Wordpress 3.0 and onwards you need to change the URL in the code (it should point to Pages in the dashboard menu).

You can use the code on your page by adding it to your functions.php file and modifying it to suit your purposes.

Light controlled ambient music piece


Aug 14th, 2010


Art creation

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

The ambient piece acted as the musical introduction to a discussion between photographer Victoria Schultz,  psychoanalyst Heikki Majava and sound explorer (Me). The topic of the discussion was My Body and I – Synchronic Image, Vision and Sound.

The pitches of the piece were controlled with light dependent resistors. I had built two simple enclosures for the resistors, which I held in my hands. In a slow dance I moved about and explored the light and dark areas of the gallery, Laterna Magica, where the event was held.

Victoria’s photos were on display in the gallery, and I thought that light controlled music would bridge the media and weave the topic together. I had built a light controlled audio device a few years ago, which was perfect for the idea.

It has two oscillators, which can be independently controlled. I connected the stereo out of the device to a laptop, in which a modular sound processing software turned the pitches of the oscillators into synthesizer control messages. The other channel was used for texture and the other had more soloish character.

Poster for a humanitarian campaign


Jun 30th, 2010


Visual creation

Poverty is in your handsPoverty is in your hands

We can all contribute to the flow of giving and sharing. If the channel is broken the ones below are the first to suffer.

All of the power is in our hands. You should be free to to do with them what ever you wish for. Why is it that we cannot give from what we have? Is it because we feel that we are too poor, or is it because we are selfish, or do we already barely live from what we can get.

How come so much is wasted then? The ones in the bottom live from the waste that is thrown away… Equalizing the flow means less wasting and more giving, a better life for everyone.

Poverty touches all levels of life, not just the poor. That poverty exists means that we are all poor. The ones who give are the richest of the world.

This poster is the call for action, and a sad display of today’s reality – but there’s hope too.

The campaign website. If you have a Facebook account you can vote for (like) the image here in the campaigns competition album. The voting is on until August 31st.

I don’t know how long the operations at the BP oil spill site are going to take, but they can be followed via live feeds from underwater remotely operated vehicles (ROV) working at the site. I’ve collected the feeds to a single page.

It’s convenient to save the page and open the resulting HTML file locally on your computer. The page acts as a mediator, so you can take it anywhere. If you change the size of the browser window the media player sizes can be set to accommodate the new window size by refreshing/reloading the page.

Clicking the title of a feed opens the view to a pop-up window.

Update 20th July: New feeds have been added.
Update 18th August: Inactive feeds removed.

Sound design for an exhibition


Mar 30th, 2010


Sound creation

Mythical Flight

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

The Finnish Aviation Museum organized an exhibition about flight related myths and legends. The exhibition is called Myyttinen Lento or Mythical Flight in English. The exhibition was designed to spur imagination of kids (and adults). One of the objects of the exhibition was a magic carpet you could ride yourself.

For the design I co-operated with Marko Ahokangas from Dept. of Lighting and Sound Design of Theatre Academy of Finland. Marko created the sounds and I programmed the player. Plogue Bidule was used to create an ever changing and never repeating soundscape, which was fed to an eight channel PA-system, which encompassed the exhibition space.

The location of the sounds in space was controlled by four  separate eight channel linear output selectors, which were modulated by independent sine wave oscillators. The sounds were divided in two categories – fast and slow sounds were panned and controlled by separate sub-programmes.

One layer of the soundscape was a synthesized wind like instrument, which picked its pitch (Via FFT) from the other sounds and acted as the musical element. For example when a sound of an airplane was playing and the synth was trigged the synth picked a frequency from the sound of the airplane and generated a musical tone that was in tune with the sound of the airplane.

Provided here is a two channel sample of the completed soundscape.

Website for a youth camp


Nov 1st, 2009


Web creation

TaigaMetsä

The theme of the camp is derived from the Finnish folklore. The camp is for 10 to 16 year old children and youth. The site was built with WordPress. Besides designing the website I created the visuals and graphics, and I’m also responsible of the media production for the whole event.

www.taigametsa.net

Sarana


Aug 29th, 2009


Musical creation

sarana

A solo musical project since the beginning of the universe and beyond. Several live performances, which usually take hours to fold out, and hundreds of single tracks produced over the years. Approaches the laminarity and supraconduction through intuition, improvisation and unpredictability. A psychophysical expedition on the wavecrest of the caleidoscopic reality.

Sarana.biz / MySpace / Facebook

Releases:
2009 – Andra
2004 – Ajan Geometria

Both releases are released by and available from Atmoworks. Live performances available from the Archive

Music for a short feature


May 7th, 2009


Film sound creation

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

The video depicts a scene from a short feature ‘Astronautti’, which was directed by Topias Parkkonen. The sound player has the complete sound track, which consists of five pieces. The first four pieces are tied together by one low frequency sound. When the protagonist is releaved from his childhood traumas in the ending scene by the help from a girl he has fallen in love with, the low frequency sound ceases to haunt him.

The melodies and other material from various analogue synthesizers were recorded straight to the sound editor without much rehearsal or careful composing. The film was played on the screen at the same time and the feeling of the scenes and the story intuitively transformed into music.

The method didn’t allow any midi sequencing, because there wasn’t any specific tempo set and the sounds of various synthesizers was directly recorded. During the editing phase the sounds were further processed and cut to fit better to the events of the film. The method was fast, sensitive and intuitive, and the result organic and fitting.

Muutos at Gospel Savo

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

The sample is from the second song of the three song set Muutos performed at Gospel Savo event in 2009. The drums were electronic and their sound was available only in two channels, so they couldn’t be mixed in as properly as would have been best. All of the other instruments were recorded individually.

Volume automation was used to level the dynamics of the dialogue. The dialogue was to be clear and distinct. It’s not a realistic approach, but it serves the purpose of a focused message.

The music was mixed to specially support the dialogue. The soundfield has space in the middle, and the reverbs used are extra dark so that they don’t overlap too much with the voice frequencies.

I also was the recordist at some of the shootings, and cleaned the dialogue of the ready film from noises and disturbances.

www.kutsumuselokuva.net