Audio – Kevin Gulling http://www.kevingulling.com Game Development, VR, and more Mon, 20 Nov 2017 18:17:48 +0000 en-US hourly 1 https://wordpress.org/?v=5.9.13 81085834 360 Music Video for “710 Dabs” Set on the Moon of 1000 AE’s Sol II https://kevingulling.com/2017/11/360-music-video-710-dabs-set-moon-1000-aes-sol-ii/ Mon, 20 Nov 2017 11:17:48 +0000 https://kevingulling.com/?p=1754 360 Music Video In this 3 minute music video you can take a 360 degree look at the moon of Sol II: Lua from the title currently in development, 1000 AE for the Vive. How to watch This can be viewed from PC or mobile phone, or with the proper hardware/software it can also be […]

The post 360 Music Video for “710 Dabs” Set on the Moon of 1000 AE’s Sol II appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
360 Music Video

In this 3 minute music video you can take a 360 degree look at the moon of Sol II: Lua from the title currently in development, 1000 AE for the Vive.

How to watch

This can be viewed from PC or mobile phone, or with the proper hardware/software it can also be viewed from a VR device.

PC – simply play the video as you would a normal YouTube video. To look around, using your mouse you can click and drag anywhere on the video to rotate the current view.

Mobile Device – Make sure you have an updated YouTube app. Using a mobile device, you can look around just by aligning your phone/tablet in the direction you want to look.

I’ll be making more of these in the future, make sure to like and subscribe to help support development!

Click here to watch more 360 videos on YouTube

The post 360 Music Video for “710 Dabs” Set on the Moon of 1000 AE’s Sol II appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
1754
Arduino Nano Voice Activated (sound sensor) LED Halloween / DJ Mask https://kevingulling.com/2017/09/arduino-nano-voice-activated-sound-sensor-led-halloween-dj-mask/ Fri, 29 Sep 2017 10:38:11 +0000 https://kevingulling.com/?p=1710 Voice Activated LED Mask Be the life of the party this Halloween with a voice (and music if it’s loud!) activated LED biohazard mask. Everybody knows that a genius conceptual Halloween costume will make you the star of the party. Sure you could be one of the millions of people to wear a caricature Trump […]

The post Arduino Nano Voice Activated (sound sensor) LED Halloween / DJ Mask appeared first on Kevin Gulling - Game Development, VR, and more.

]]>

Voice Activated LED Mask

DIY LED Mask Youtube

Be the life of the party this Halloween with a voice (and music if it’s loud!) activated LED biohazard mask. Everybody knows that a genius conceptual Halloween costume will make you the star of the party. Sure you could be one of the millions of people to wear a caricature Trump mask this year, or you can be original with this DIY project!

Materials required:

Steps:

  1. Take apart the biohazard mask filters and empty out the contents
  2. Wire LED 1 and 9v battery into one of the filters, pulling wires through the respirator air passage ways. If you make the wires the correct length, you can easily tuck them beneath the rubbery plastic liner
  3. Solder your nano and other components to the perf board (see circuit diagram below). I left the KY-038 sound module free from the board so that I could easily position it and make adjustments to the sensitivity via the on-board potentiometer.
  4. Connect the wiring from the 9v power supply and the LED.
  5. (Optional) Slap a biohazard sticker on the front, and voila!

Check out the video above to get a look at how I did it!

Here is the circuit:

(simply put your desired amount of LED’s in parallel, I used one in each filter. Using 2 or more in each filter will drain your battery a bit faster, but might make it a bit brighter)
LED Mask Circuit

Here is the Sketch code:

int LED = 3;
int mic = A0;
int brightness = 0;
int fade = 5;
int level = 30;

void setup() {
Serial.begin(9600);
pinMode(LED, OUTPUT);
pinMode(mic,INPUT);
}

void loop() {

int sound = analogRead(mic);
analogWrite(LED, brightness);
if(sound>=level && brightness < 255){
brightness = brightness + fade;
delay(5);
}
else if(sound < level && brightness > 0){
brightness = brightness - 1;
delay(10);
}

Serial.println(brightness); //Use this line to test your levels in the serial monitor

}

Did you make one? Feel free to link to your costume pics in the comments.

Did you like it? Please take a moment to subscribe to my blog and be notified every time I create something new!

The post Arduino Nano Voice Activated (sound sensor) LED Halloween / DJ Mask appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
1710
12 Days of Arduino Day 7 – Binary Beat Counter https://kevingulling.com/2016/12/1335/ https://kevingulling.com/2016/12/1335/#comments Mon, 19 Dec 2016 22:29:19 +0000 https://kevingulling.com/?p=1335 It’s day 7 of 12 Days of Arduino! On the seventh day of Arduino… We clean up the circuit for better access to controls and fill up those empty outputs on the shift register with LED’s for a true party in your pocket! Errr… Maybe that isn’t the best slogan for the Keyduino… Let’s get […]

The post 12 Days of Arduino Day 7 – Binary Beat Counter appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
Keyduino day 7

It’s day 7 of 12 Days of Arduino! On the seventh day of Arduino… We clean up the circuit for better access to controls and fill up those empty outputs on the shift register with LED’s for a true party in your pocket! Errr… Maybe that isn’t the best slogan for the Keyduino… Let’s get to it!

Keyduino 0.9a

Keyduino 0.9a

Project requires
–Arduino Uno
–Active buzzer
–3x button touch switch
-220 ohm resistor
-4x 10k ohm resistor
-8x 220 ohm resistor
-Jumper wires
-Tip120
-SN74HC595
-Photoresistor
-Potentiometer
-7x LED



Beat Counter Sketch

Beat Counter Sketch


//Pin connected to ST_CP of 74HC595
int latchPin = 8;
//Pin connected to SH_CP of 74HC595
int clockPin = 12;
////Pin connected to DS of 74HC595
int dataPin = 11;
int number = 1;
int speakerPin = 6;
//Buttons
int button1Pin = 2;
int button2Pin = 3;
int button3Pin = 4;
int photoresistorPin = A0;
int sensorValue = 0;
int photoresistorSensitivity = 2;
void setup() {
Serial.begin(9600);
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(speakerPin, OUTPUT);
pinMode(button1Pin, INPUT);
pinMode(button2Pin, INPUT);
pinMode(button3Pin, INPUT);
}

void loop() {
int potentiometerValue;
potentiometerValue = analogRead(1);
if(potentiometerValue < 10){ potentiometerValue = 10; } if(digitalRead(button1Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 790 +(sensorValue*photoresistorSensitivity));//A5 digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else if(digitalRead(button2Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 1750 +(sensorValue*photoresistorSensitivity));//A6 digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else if(digitalRead(button3Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 3510+(sensorValue*photoresistorSensitivity));//A7 digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else{ number = 0; digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(10); } }

There isn't much difference in the code today, in fact yesterdays sketch works just fine with this circuit, but I made some minor improvements to the code, opening up the ability to easily control the sensitivity of the photoresistor's pitch bending FX.

I hope you all enjoyed the "Keyduino". I'm probably going to tear it down for parts tomorrow and get to the next project but it shall be immortalized here and on Youtube, if there is any demand, I'll model a case for it for 3d printing, so if you are a DJ or just a hobbyist and you want the Keyduino contained in a plastic shell, let me know!

ICStation.com for an infinite supply of fun:


The post 12 Days of Arduino Day 7 – Binary Beat Counter appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
https://kevingulling.com/2016/12/1335/feed/ 1 1335
12 Days of Arduino – Day 6 – Potentiometer Control Knob https://kevingulling.com/2016/12/12-days-of-arduino-day-6-potentiometer-knob-on-the-keyduino/ Sun, 18 Dec 2016 20:44:15 +0000 https://kevingulling.com/?p=1323 Welcome back to day 6 of 12 Days of Arduino! 12 pointless Arduino projects from me to you! The word of the day today is Potentiometer. I use a potentiometer from keyestudios to control the length of delay between bits shifting through the register! Magnificent! Project requires –Arduino Uno –Active buzzer –3x button touch switch […]

The post 12 Days of Arduino – Day 6 – Potentiometer Control Knob appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
day 6 potentiometer knob

Welcome back to day 6 of 12 Days of Arduino! 12 pointless Arduino projects from me to you! The word of the day today is Potentiometer. I use a potentiometer from keyestudios to control the length of delay between bits shifting through the register! Magnificent!



Project requires
–Arduino Uno
–Active buzzer
–3x button touch switch
-220 ohm resistor
-4x 10k ohm resistor
-2x 220 ohm resistor
-Jumper wires
-Tip120
-SN74HC595
-Photoresistor
-Potentiometer
-RGB LED

Keyduino with Potentiometer Control Knob


//Pin connected to ST_CP of 74HC595
int latchPin = 8;
//Pin connected to SH_CP of 74HC595
int clockPin = 12;
////Pin connected to DS of 74HC595
int dataPin = 11;
int number = 1;
int speakerPin = 6;
//Buttons
int button1Pin = 2;
int button2Pin = 3;
int button3Pin = 4;
int photoresistorPin = A0;
int sensorValue = 0;

void setup() {
Serial.begin(9600);
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(speakerPin, OUTPUT);
pinMode(button1Pin, INPUT);
pinMode(button2Pin, INPUT);
pinMode(button3Pin, INPUT);
}

void loop() {
int potentiometerValue;
potentiometerValue = analogRead(1);
if(potentiometerValue < 10){ potentiometerValue = 10; } if(digitalRead(button1Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 790 +(sensorValue*2));//A5 digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else if(digitalRead(button2Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 1750 +(sensorValue*2));//A6 digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else if(digitalRead(button3Pin) == HIGH){ sensorValue = analogRead(photoresistorPin); tone(speakerPin, 3510+(sensorValue*2));//A7 digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(potentiometerValue); number++; } else{ number = 0; digitalWrite(latchPin, LOW); // shift out the bits: shiftOut(dataPin, clockPin, MSBFIRST, number); digitalWrite(latchPin, HIGH); delay(10); } }

I have to admit I was having a little bit of fun playing this... I might just have to add a 1/4" jack so we can amplify this guy 👍👍

ICStation.com the best source for electric components on the cheap:


The post 12 Days of Arduino – Day 6 – Potentiometer Control Knob appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
1323
12 Days of Arduino – Day 5 – Photoresistor Pitch Slide/Bend Keyduino https://kevingulling.com/2016/12/12-days-arduino-day-5-photoresistor-pitch-slidebend-keyduino/ Sat, 17 Dec 2016 17:55:32 +0000 https://kevingulling.com/?p=1304 Hello again and a warm welcome to my series “12 Days of Arduino” Day 5. Today we use a photoresistor to alter the pitch of our tone, effectively enabling us to reach every single note, making this a truly practical instrument of 8 bit glory! Project requires –Arduino Uno –Active buzzer –3x button touch switch […]

The post 12 Days of Arduino – Day 5 – Photoresistor Pitch Slide/Bend Keyduino appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
arduino day5
Hello again and a warm welcome to my series “12 Days of Arduino” Day 5. Today we use a photoresistor to alter the pitch of our tone, effectively enabling us to reach every single note, making this a truly practical instrument of 8 bit glory!



Project requires
–Arduino Uno
–Active buzzer
–3x button touch switch
-220 ohm resistor
-4x 10k ohm resistor
-2x 220 ohm resistor
-Jumper wires
-Tip120
-SN74HC595
-Photoresistor

I know it’s hard to see the circuitry in the video, things are starting to get crowded. Maybe I’ll upload a diagram if I get some time after the series is complete.

Photoresistor sketch

Photoresistor Sound FX Sketch

//Pin connected to ST_CP of 74HC595
int latchPin = 8;
//Pin connected to SH_CP of 74HC595
int clockPin = 12;
////Pin connected to DS of 74HC595
int dataPin = 11;
int number = 1;
int speakerPin = 6;
//Buttons
int button1Pin = 2;
int button2Pin = 3;
int button3Pin = 4;
int photoresistorPin = A0;
int sensorValue = 0;

void setup() {
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(speakerPin, OUTPUT);
pinMode(button1Pin, INPUT);
pinMode(button2Pin, INPUT);
pinMode(button3Pin, INPUT);
}

void loop() {

if(digitalRead(button1Pin) == HIGH){
sensorValue = analogRead(photoresistorPin);
tone(speakerPin, 790 +(sensorValue*2));//A5
digitalWrite(latchPin, LOW);
// shift out the bits:
shiftOut(dataPin, clockPin, MSBFIRST, number);
digitalWrite(latchPin, HIGH);
delay(10);
number++;
}

else if(digitalRead(button2Pin) == HIGH){
sensorValue = analogRead(photoresistorPin);
tone(speakerPin, 1750 +(sensorValue*2));//A6
digitalWrite(latchPin, LOW);
// shift out the bits:
shiftOut(dataPin, clockPin, MSBFIRST, number);
digitalWrite(latchPin, HIGH);
delay(10);
number++;
}

else if(digitalRead(button3Pin) == HIGH){
sensorValue = analogRead(photoresistorPin);
tone(speakerPin, 3510+(sensorValue*2));//A7
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, number);
digitalWrite(latchPin, HIGH);
delay(10);
number++;

}

else{
number = 0;
digitalWrite(latchPin, LOW);
// shift out the bits:
shiftOut(dataPin, clockPin, MSBFIRST, number);
digitalWrite(latchPin, HIGH);
delay(10);
}

}

If you aren’t a registered member of KevinGulling.com, and don’t want to register, feel free to comment on the YouTube video, I read those as well.

Visit ICStation.com for the best prices on sensors:


The post 12 Days of Arduino – Day 5 – Photoresistor Pitch Slide/Bend Keyduino appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
1304
12 Days of Arduino – Day 3 – Pitch Shift and LED FX https://kevingulling.com/2016/12/12-days-arduino-day-3-pitch-shift-led-fx/ https://kevingulling.com/2016/12/12-days-arduino-day-3-pitch-shift-led-fx/#comments Thu, 15 Dec 2016 21:34:46 +0000 https://kevingulling.com/?p=1273 Hi and welcome back to “12 Days of Arduino”, Day 3! On the third day of Arduino Kevin gave to thee: Arduino Piano/Keyboard Pitch Shifter Sort of like a whammy bar! Makes a fantastic 8 bit horror effect! If you read from day 1 – (Arduino Morse Code Keyer) you can see the simple progression […]

The post 12 Days of Arduino – Day 3 – Pitch Shift and LED FX appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
12 days of arduino day 3

Hi and welcome back to “12 Days of Arduino”, Day 3! On the third day of Arduino Kevin gave to thee:

Arduino Piano/Keyboard Pitch Shifter



Sort of like a whammy bar! Makes a fantastic 8 bit horror effect!

If you read from day 1 – (Arduino Morse Code Keyer) you can see the simple progression that lead to this point.


Project requires

–Arduino Uno
–Active buzzer
–4x button touch switch
-RGB LED
-220 ohm resistor
-4x 10k ohm resistor
-220 ohm resistor
-Jumper wires
-Ball switch

The sketch:

Pitch Shift Sketch


int switchPin1 = 2;
int switchPin2 = 4;
int switchPin3 = 7;
int switchPin4 = 8;
int tiltSwitch = 9;
int ledPin = 13;
int ledPinG = 12;
int ledPinB = 10;
int speakerPin = 11;
int lowA = 880;
int lowBb = 932;
int lowB = 988;
int C = 1046;
int D = 1175;
int E = 1319;
int F = 1396;
int G = 1567;
int A = 1760;
int B = 1976;
int wa = 25;

void setup() {
// put your setup code here, to run once:
pinMode(switchPin1, INPUT);
pinMode(switchPin2, INPUT);
pinMode(switchPin3, INPUT);
pinMode(switchPin4, INPUT);
pinMode(tiltSwitch, INPUT);
pinMode(ledPin, OUTPUT);
pinMode(ledPinG, OUTPUT);
pinMode(ledPinB, OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
if(digitalRead(switchPin1) == HIGH){
digitalWrite(ledPin, HIGH);
if(digitalRead(tiltSwitch) == HIGH){
tone(speakerPin, lowA-wa);
}
else{
tone(speakerPin, lowA);
}

}
else if(digitalRead(switchPin2) == HIGH){
digitalWrite(ledPin, HIGH);
digitalWrite(ledPinG, HIGH);
if(digitalRead(tiltSwitch) == HIGH){
tone(speakerPin, lowBb-wa);
}
else{
tone(speakerPin, lowBb);
}
}
else if(digitalRead(switchPin3) == HIGH){
digitalWrite(ledPinB, HIGH);
if(digitalRead(tiltSwitch) == HIGH){
tone(speakerPin, C-wa);
}
else{
tone(speakerPin, C);
}
}
else if(digitalRead(switchPin4) == HIGH){
digitalWrite(ledPinG, HIGH);
if(digitalRead(tiltSwitch) == HIGH){
tone(speakerPin, E-wa);
}
else{
tone(speakerPin, E);
}
}
else{
digitalWrite(ledPin, LOW);
digitalWrite(ledPinG, LOW);
digitalWrite(ledPinB, LOW);
noTone(speakerPin);
}

}

I made some minor alterations along with the new additions.

A tilt switch is a simple component. A ball switch is a more specific type of tilt switch, similar to amercury switch only using a metal ball that rolls up and down the cylinder and connects to two contacts to open and close the circuit. Let’s see if I can ascii art an example 😉

╬ ╬
║0║
╚-╝
When upright, ball sits on bottom, contacts are open
╔-╗
║ ║
╬0╬
When tilted the metallic ball hits both of the contacts, closing the circuit

If that didn’t do it for you, you can find a datasheet here.

Please check out the sponsor of this series:


Day 4 →

The post 12 Days of Arduino – Day 3 – Pitch Shift and LED FX appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
https://kevingulling.com/2016/12/12-days-arduino-day-3-pitch-shift-led-fx/feed/ 1 1273
Top 10 Resources for Sound FX to use in Indie Games https://kevingulling.com/2015/11/top-10-resources-indie-game-development/ Sat, 28 Nov 2015 21:59:13 +0000 https://kevingulling.com/?p=645 For the independent game developer, due to time constraints it is sometimes necessary to reuse existing assets rather than create every single element of the game from scratch. Sound and audio effects are no exception. Unfortunately if you don’t know where to look, finding quality SFX for your game can take just as long as […]

The post Top 10 Resources for Sound FX to use in Indie Games appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
For the independent game developer, due to time constraints it is sometimes necessary to reuse existing assets rather than create every single element of the game from scratch. Sound and audio effects are no exception. Unfortunately if you don’t know where to look, finding quality SFX for your game can take just as long as creating them yourself in some cases, so below I have compiled a list of the resources that I use most often for SFX when creating a game. They are simply ordered by the resources I use most often. There are many sites out there similar to these, but using the list below I have never needed to search further.

#1 – Audio Jungle
Audio Jungle is by far my favorite and most used resource for both SFX and game music when I’m not making my own. The quality control is impeccable, and there is no need to cull out the low quality sounds because for the most part, they don’t make it past Audio Jungles screening process. There are sounds starting from $1 each and when you need a sound in a jiffy, Audio Jungle is the way to go.
Professional Quality SFX Visit site

#2 – FreeSound.org
FreeSound.org has a ton of audio clips, effects, recordings, and a lot of unmastered stuff – all free Creative Commons Licensing.

#3 – CCMixter
CCMixter is a great resource for free music. Most of the genres you’ll find here ‘dance’ style music, but there is an occasional pop or rock song available too.

#4 – Sound Bible
Search preview & download free sounds for instant use in your game.
Visit site

#5 – Flashkit
I’ve been using Flashkit since the 90’s, and even though most of the stuff on here is pretty old, it still remains to be one of the best resources for free sfx that I have found.

#6 – OpenGameArt.org
OpenGameArt is another site that is human edited for quality assurance. This site has a lot of free licensing option.

#7 – SoundDogs
Another site that I have been using for years to find simple sound effects.

#8 – Newgrounds
Newgrounds has been online since the early 90’s but it was only a decade or so ago that they began the ‘Audio Portal’. A massive collection of user-submitted audio free to use in your NG projects.

#9 – Unity Asset Store
If you use Unity, don’t rule out the asset store for SFX. You can find a lot of free and low-cost sound packs available, which could cover every sound you need for your project in one package.


#10 KevinGulling.com/assets

I’ve put together a compendium of my sounds and other assets and made them available for download here for use in your personal or commercial projects.

The post Top 10 Resources for Sound FX to use in Indie Games appeared first on Kevin Gulling - Game Development, VR, and more.

]]>
645