PixelSound | An Audio Toy

互动音频 / 互动音乐

Whenever I start a new creative project, I always get a new toy - some cool plugin, or musical instrument, or spiffy microphone - something to just play around with for no other reason than to have fun. Making time for play encourages “childlike discovery” which is when good ideas happen.


"PixelSound"

"PixelSound" is an audio toy that makes a sound based on the color of the pixel your mouse is pointing at. It's a Unity/Wwise project (partly inspired by the excellent program PhotoSounder) that loads up a jpeg, then sets RTPCs to red, green, blue, and grayscale values including x/y screen position.

It's also a way to use Wwise as a sound design tool. Need to create some related variations for a random container? Set up a mix of assorted stems; let it run while recording the output; cut up the results and pick the ones you like. It's a common enough technique ...

Using the color values of pixels to set Wwise event parameters is just a way to generate pseudo-random variations. You can set up patterns to trigger specific effects, or load up a photo of your dog just to see what happens. This kind of "seemingly but not really completely by chance" algorithm can be considered "stochastic", a composition method famously utilized by Xenakis to produce interesting tonalities.

To play, fire up the Unity project, and click on the screen. Move the mouse around to hear how the event reacts to the colors and screen position. Click again to stop.

Download the project here.

You can drop your own .jpg files into the Assets/Pictures folder, then drag them into the "Picture" field of the GetPixelParameters script attached to the "pictureSprite" game object. This formats and resizes the picture to the screen, starts/stops the selected Wwise event, and sets the RTPCs.

The Wwise project contains some demonstration and test events that modify volume, pitch, trigger rates, EQ, and other parameters. They produce a variety of noises you can play with -- but of course, the whole point is to have fun messing around with your OWN sounds and pictures. There's also a Wwise Recorder instance on the Master Audio Bus, in case you want to record the output for later editing.

PixelSound

**Project update - "VPixelSound"**

VPixelSound is basically the same idea as PixelSound, except it uses video instead of jpegs. You drop in a .mov and select a position (center screen by default). RTPCs are set to red/green/blue/greyscale values as before, but I added some State processing as well, whereby color values set Wwise states on a ten step scale (i.e. blue_00, blue_01 ... blue_10).

Using this version, Wwise events are controlled by moving picture, rather than by moving mouse. The series of colors that generate the audio is also repeatable, in case you wanted to craft an event for a specific sequence of images. Multiple cursor positions and color averaging options are available as well.

Most videos will provide interesting input for sonic experimentation. I used QuickTime Screen Recording to create the included samples, but any capture method will do. Note: no soundtrack needed, and any video format Unity supports should work.

Remember, this project is an audio toy; the point is to try out your own videos and Wwise events to see what noises you can produce. Is it useful as a Serious Sound Design Tool? <shrug> All I know is it sure is fun to play with! (and isn't that an important aspect of any creative work?)

Video demo:


The "VPixelSound" project can be downloaded here.

I can possibly see this technique being useful in a game:

  • Modify the ambience based on the color of a procedurally generated sky
  • Change filter settings based on the greyscale value of a scene
  • Randomize UI/selection sounds based on screen position

Granted, it's a whimsical technique that could maybe support creative audio solutions. But mostly, it's just supposed to be fun to play around with, and experiment with the powerful features available to sound designers when using Wwise as a synthesizer.

What does blue sound like to you today?

Peter "pdx" Drescher

Sound Designer and Composer

Peter "pdx" Drescher

Sound Designer and Composer

Peter "pdx" Drescher produces audio content, implementation, and code for games and mobile devices. He is a talented sound designer, accomplished musician/composer, published author, experienced programmer, and skilled audio engineer. His ProTools project studio "Twittering Machine" is located in the SF Bay area.

www.twittering.com/

评论

留下回复

您的电子邮件地址将不会被公布。

更多文章

简化 Wwise 音频插件构建管线

就音频插件开发来说,Wwise 与数字音频工作站 (DAW) 有很大的不同。Wwise...

23.3.2020 - 作者:乔尔·罗比哈德(Joel Robichard)

游戏音乐不应仅仅局限于音乐本身 – 第 1 部分

什么是游戏音乐?什么是互动音乐?这些问题的答案并不像看起来那么简单。对此,奥利维尔·德里维耶 (Olivier Derivière)...

8.4.2021 - 作者:奥利维尔·德里维耶 (OLIVIER DERIVIÈRE)

音频对象如何提高空间精度

这一系列博客文章源自2020年10月在GameSoundCon上发表的演讲。演讲目的是为创作者提供通过使用基于对象的音频渲染技术来完善他们新项目的视角和工具。而该技术能够实现尽可能自然的空间音频体验。...

25.5.2021 - 作者:西蒙.阿什比(Simon Ashby)

观后感 | Audiokinetic互动音乐沙龙

接到侯老师约稿来聊一下参加互动音乐沙龙后有什么感想时,这件事已经大概过去三周半了。 ...

18.8.2021 - 作者:虞鹏

在 Wwise 中设定 Audio Object

未来遥不可及,往日似水流年。亦如费里斯•布勒 (Ferris Bueller) 所说:“生活快速向前,时光转瞬即逝。如不偶尔驻足停留,就可能会错失良辰。”距离 Wwise 2021...

24.8.2021 - 作者:戴米安·卡斯特鲍尔(Damian Kastbauer)

Wwack-A-Mole | 在 Wwise 中构建游戏

简介 学习新工具的一个妙招是尝试打破其既有的使用规则。你永远不知道在打破成规时会得到什么,尤其是对像 Wwise...

18.5.2023 - 作者:丹尼尔•尼尔森 (Daniel Nielsen)

更多文章

简化 Wwise 音频插件构建管线

就音频插件开发来说,Wwise 与数字音频工作站 (DAW) 有很大的不同。Wwise...

游戏音乐不应仅仅局限于音乐本身 – 第 1 部分

什么是游戏音乐?什么是互动音乐?这些问题的答案并不像看起来那么简单。对此,奥利维尔·德里维耶 (Olivier Derivière)...

音频对象如何提高空间精度

这一系列博客文章源自2020年10月在GameSoundCon上发表的演讲。演讲目的是为创作者提供通过使用基于对象的音频渲染技术来完善他们新项目的视角和工具。而该技术能够实现尽可能自然的空间音频体验。...