Sunday, 13 December 2009

Recording & Final User Interaction

So now with the symbols setup to playback the preloaded sounds, I wanted to add a record function which will allow me to record and layer the existing samples. I ran into some difficulty with this. Originally I used sfplay~ object to playback the samples, and I planned on using groove~ to playback the recorded content from memory with the use of a buffer. I ran into issues concerning the scratch playback along with symbol rotations and x and y movements. The trouble was it played the samples back unclean, they all had clicking and skipping in their playback, but this wasn't apparent when using sfplay~. So I had to think about how I could go about recording without sacrificing some of the applets main features.

I came to decision that I would use sfrecord~ and and save the audio to file rather than to memory. This lead to the creation of three, four file soundbanks. Two of the banks would have preloaded audio samples assigned to them and one would feature rewritable files that would be triggered upon record. I setup 3 additional symbols to act as each of the banks and when in shot of reactivision they would load the 4 samples assigned and the four playback samples would play them. The recording function is connected to xbox controller. I used the coloured green,red,yellow and blue buttons to correspond with the same colours featured as playback symbols. Each button records to the corresponding coloured symbol which then saves the recorded file to a specified .aiff file. This can then be re added when that sound bank is loaded.

With these additional symbols being used I decided to set up more symbols that could be used in a 'mixer' based idea. I realised after testing the playback symbols upon the deck, that the rotation was affecting the symbol rotation so the audio would speed up and slow down as the deck itself rotated. With this i decided to add four new symbols that would be linked to the rotation and y-axis of the playback symbols. These symbols would sit off the rotating deck and would alter their playback properties. The rotation would increase the sample speed and by moving the symbol up and down the y axis increase and decrease volume. This eliminated the issues with rotation of deck against rotation of symbols and allowed for additional volume features.

No comments:

Post a Comment