Unity Tutorial Series: Audio and Interfaces

Image for post
Image for post
Photo by Steve Harvey on Unsplash

Introduction

In this final part of the series, we’ll build our new interface for musical expression. I’ve included two options, one is a basic potentiometer (like we saw in the first part of the series) and the other combines the potentiometer with an LDR. In the videos I cover both options.

Warning: the second option requires a bit more data transformation than we are used to. This is because we have to separate our two values (ldr and potentiometer) by a comma, and then ‘store’ those in separate lists to access in Unity.

In both cases, we’ll be doing the following:

  1. Wire out chosen…

Unity Tutorial Series: Audio and Interfaces

Image for post
Image for post
Photo by Alphacolor on Unsplash

Introduction

In this video, I go over the basics of adding audio into your scene, a bit about spatial audio and end up with a simple soundscape, it’s not much, but the possibilities are enormous :)

Before you start, be sure and download Audacity, a free and open-source audio editing tool:

https://www.audacityteam.org/download/

Here’s the video!


Unity Tutorial Series: Audio

Introduction

In this week’s tutorial series, I’ll introduce the basics of Unit’s audio systems, with a particular focus on 3D audio and what sets it apart from simple (boring) 2 channel stereo.

Specifically, we will cover:

  • An introduction to audio in Unity
  • Creating New Interfaces for Audio Expression

The Project

The inspiration for this week, comes from a surprisingly neat performance I found when searching for instruments that would lend themselves well to our physical (arduino) and digital (Unity) platform. I naturally, thought of the theremin.

The theremin is was invented in 1928 by Leon Theremin and consists of two antennas that sense the relative position of the hands and control frequency (pitch) with one hand, and amplitude volume with the other. …

About

Christian Grewell

Hi! My name is Christian Grewell, I grew up in Portland, Oregon playing music, programming video games, building computers and drinking coffee. I live in China.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store