Monday, 3 February 2014

Finally!




(figure 10.)


Figure 10 is the final version of the sub patches. The left hand side has been changed from having the greater and less than objects in sequence to having them implemented into a logic based format. 
What happens is that a 0 is being outputted from the "expr" box at all times unless both conditions in the greater and the less than boxes are met, in which case, the "expr" box outputs a 1. These numbers then control the volume and filter controls for the patch.

In addition to these alterations, the patch 'cables' were tidied up and put into the right place so that everything works how it is meant to.

There will be a short video shortly to use as an example.

Graphic Score

Figure 10 is the graphic score that is being used for the project.



(Figure 10.)

Basic Maths

Figure 9, below, shows the basic working out of the greater and less than ranges so that the samples could be controlled one at a time when played back. The range was worked out using the number of samples, the data that was outputted from the webcam - maximum of 100 and the two axes. 


(Figure 9.)

A Gentle Reminder


Figure 8 is a gentle reminder to myself to switch the coding when changing form my iMac to my Macbook Pro. This has also reminded me to copy the samples over to the laptop/ designated computer so that the patch can read and play them back.  



(Figure 8.)



Michael Jordan

Michael Jordan is argueable one of the most influential and talented basketball players of all time and having his speech (below) in this project shows what it takes to be the 'best.'



Muhammed Ali

Muhammed Ali was an incredible athlete and has several motivational speeches.

The video link below provides some of the speech that is used in one of the samples in the project:

Problems part 2!

As with any project that you undertake, there are bound to be some problems for several reasons such as human error/ lack of understanding or knowledge, mechanical error or time issues.

As stated in earlier posts, the original concept had to be scrapped because there was no visible way to obtain the results that were sought after - RGBA analytic data. However, with the new concept up and running, new problems arose. The slight lack of knowledge and confusion of certain objects led me to make mistake with patching objects together and making simple rectifiable mistakes within minutes once the realisation had kicked in - however, this often took several days to come to light! This is human error and is all part of the trial and error side of things.

There are two main problems that I encountered, both mechanical. 
The first big problem was the lack of data that was being outputted from the webcam. There was very little data being recorded where it was before, therefore, the samples could not be triggered and affected by the incoming data - the whole point of this project! This, however, could be fixed with a simple reset of the webcam, which could be found in the webcam streaming sub patch. 

Sunday, 2 February 2014

Previous Sub Patch and sub patch explanation

Below, is a screen shot of a previous sub patch which was altered to make it simpler as the extra coding ended up being complicated for no extra benefit - making it more straight forward makes less room for error but gives the same desired affect as the later, altered version.
Figure 7 shows the coding for one of the samples and the other than the data parameters (greater and less than values) is identical for every patch. 

 (Figure 7.)


The section on the left hand side, highlighted in green, is the data that is extracted from the webcam's X or Y axis. This data then controls the volume level of the playing sample based a greater than and less than parameters.

The red highlighted, central section in this part of the sub patch takes the data from the webcam, in exactly the same way to the volume section of the sub patch, and was meant to control a high pass and low pass filter based on the same greater than and less than parameters that were set in the volume part of the patch. The data would be received from the webcam and selected 1 or 0 based on wether the data fell within the set data range; this, in turn, would open or close the filter. However, this did not happen as planned and was simplified at a later date to simplify it for the same effect.

The yellow shaded section of this patch is simply the sample loading coding. The coding loads the sample into Pure Data, defines the sample rate, the number of samples and then outputs it to the outlet.

The outlets are shaded in blue in Figure 7. These link the sub patch to the main part of the patch. The way that the outlets are arranged on the screen dictates which side of the sub patch object the outlet appears - this is used for ease of patching in the main patch to prevent confusion of connections.