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:


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:

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. …


A One-Button Interface

Introduction

In this week’s project, we began to create you the world for our interface. Below are a few projects. Check them out!


Unity Tutorial Series: Particles and Processing

Image for post
Image for post
Photo by Mike Enerio on Unsplash

Introduction

In this example, we connect our Arduino to Unity and make our particle system turn on and off in response to a button press!

Here is the script that we use in this tutorial in order to make our particle system turn on and off:

You can find more methods here!


Unity Tutorial Series: Particles and Processing

Image for post
Image for post
Photo by Nicolas Tissot on Unsplash

Introduction

In the second video in the series, I show you how to manipulate a few useful and cool particle system parameters (size and color over lifetime).


Unity Tutorial Series: Particles and Processing

Image for post
Image for post
Photo by Erwan Hesry on Unsplash

Introduction

In this video, I introduce the agenda and show you how to create and change a simple particle system in Unity.

If you’d like more information, check out the Manual on the Particle System. There is a lot there, including some examples of systems that use millions of particles (we are starting small, < 1,000).


Unity Tutorial Series: Interaction

Image for post
Image for post
Photo by Linus Mimietz on Unsplash

Introduction

In this optional video, I breifly introduce how to make an object ‘phsyics-enabled’, then we take a stab at replacing our boring movement with something a bit more natural (and hilarious).

We make extensive use of the Rigidbody component to enable all of this magic. Read more here:


Project 5

Image for post
Image for post
Photo by Marius Masalar on Unsplash

Introduction

For your final project, we would like you to return to one of your previous projects and professionally produce one or more pieces of media to showcase your work. You should show your digital and physical interaction in a single piece of media. One way to do this is use an external video editor (Adobe Premier, After Effects, iMovie, etc…)

Recall that you’ll need to enable Unity’s recorder package:


Project 4

Image for post
Image for post
Photo by Ergita Sela on Unsplash

Introduction

In this week’s project, you’ll be challenged to think about interfaces in a new way. Rather than an interface to control the world of sight, we want you to develop an interface to control the world of sound.

Option 1: Beginner

You may make use of Creative Commons sound effects and music. …

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