Handmade Hero»Episode Guide
Pitch Shifting in the Mixer
?
?

Keyboard Navigation

Global Keys

[, < / ], > Jump to previous / next episode
W, K, P / S, J, N Jump to previous / next marker
t / T Toggle theatre / SUPERtheatre mode
V Revert filter to original state Y Select link (requires manual Ctrl-c)

Menu toggling

q Quotes r References f Filter y Link c Credits

In-Menu Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Filter and Link Menus

z Toggle filter / linking mode

Credits Menu

Enter Open URL (in new tab)
00:00:26Recap and plan for today
00:00:26Recap and plan for today
00:00:26Recap and plan for today
00:01:14Discussion on using volume changes and pitch-shifting to generate a rich soundscape with few sound assets
00:01:14Discussion on using volume changes and pitch-shifting to generate a rich soundscape with few sound assets
00:01:14Discussion on using volume changes and pitch-shifting to generate a rich soundscape with few sound assets
00:06:59How to pitch-shift a sound
00:06:59How to pitch-shift a sound
00:06:59How to pitch-shift a sound
00:09:14Compromises for minor pitch changes
00:09:14Compromises for minor pitch changes
00:09:14Compromises for minor pitch changes
00:11:23Deciding on linear interpolation for real-time mixing
00:11:23Deciding on linear interpolation for real-time mixing
00:11:23Deciding on linear interpolation for real-time mixing
00:13:25On the importance of linear blending
00:13:25On the importance of linear blending
00:13:25On the importance of linear blending
00:17:02The simple version: choosing the nearest sample
00:17:02The simple version: choosing the nearest sample
00:17:02The simple version: choosing the nearest sample
00:18:09Implementing the simple version
00:18:09Implementing the simple version
00:18:09Implementing the simple version
00:21:47(intermission) Outputting sound even when the game window loses focus
00:21:47(intermission) Outputting sound even when the game window loses focus
00:21:47(intermission) Outputting sound even when the game window loses focus
00:27:55Back to implementing the simple version
00:27:55Back to implementing the simple version
00:27:55Back to implementing the simple version
00:34:01Debugging the simple version
00:34:01Debugging the simple version
00:34:01Debugging the simple version
00:38:18Adding linear blending of samples
00:38:18Adding linear blending of samples
00:38:18Adding linear blending of samples
00:41:40Comparing sound output with and without linear interpolation between samples
00:41:40Comparing sound output with and without linear interpolation between samples
00:41:40Comparing sound output with and without linear interpolation between samples
00:42:54Making dSample part of playing_sound
00:42:54Making dSample part of playing_sound
00:42:54Making dSample part of playing_sound
00:44:55Flushing queues before reloading game code
00:44:55Flushing queues before reloading game code
00:44:55Flushing queues before reloading game code
00:46:47Copying strings out of the game code block to avoid crashing after hot code reloading
00:46:47Copying strings out of the game code block to avoid crashing after hot code reloading
00:46:47Copying strings out of the game code block to avoid crashing after hot code reloading
00:48:37Implementing PushString
00:48:37Implementing PushString
00:48:37Implementing PushString
00:54:43Q&A
🗩
00:54:43Q&A
🗩
00:54:43Q&A
🗩
00:55:28djonahstag How would you pan a sample slightly left or right in volume?
🗪
00:55:28djonahstag How would you pan a sample slightly left or right in volume?
🗪
00:55:28djonahstag How would you pan a sample slightly left or right in volume?
🗪
01:03:07kelimion Would this pitch shift be animated as well, like you enter a time-dilated area and pitch-shifts in a second or two as you cross a barrier
🗪
01:03:07kelimion Would this pitch shift be animated as well, like you enter a time-dilated area and pitch-shifts in a second or two as you cross a barrier
🗪
01:03:07kelimion Would this pitch shift be animated as well, like you enter a time-dilated area and pitch-shifts in a second or two as you cross a barrier
🗪
01:04:02cubercaleb If you wanted to pitch-shift the music without changing the speed couldn't you just do a quick and dirty linear interpolation between the current sample and the next sample?
🗪
01:04:02cubercaleb If you wanted to pitch-shift the music without changing the speed couldn't you just do a quick and dirty linear interpolation between the current sample and the next sample?
🗪
01:04:02cubercaleb If you wanted to pitch-shift the music without changing the speed couldn't you just do a quick and dirty linear interpolation between the current sample and the next sample?
🗪
01:06:10melwute Did you ever cover what would make a good test sound file for this type of mixing work?
🗪
01:06:10melwute Did you ever cover what would make a good test sound file for this type of mixing work?
🗪
01:06:10melwute Did you ever cover what would make a good test sound file for this type of mixing work?
🗪
01:06:30guit4rfreak Do you ever use memcpy from the C standard library?
🗪
01:06:30guit4rfreak Do you ever use memcpy from the C standard library?
🗪
01:06:30guit4rfreak Do you ever use memcpy from the C standard library?
🗪
01:06:53foxy126 What's the yellow Rectangle?
🗪
01:06:53foxy126 What's the yellow Rectangle?
🗪
01:06:53foxy126 What's the yellow Rectangle?
🗪
01:07:40symbolic_butt What kind of sound options do you plan to include in the game? Like will the player be able to pause the game and mute the music but keep the sound effects? Or is it going to be a fixed thing like controller settings?
🗪
01:07:40symbolic_butt What kind of sound options do you plan to include in the game? Like will the player be able to pause the game and mute the music but keep the sound effects? Or is it going to be a fixed thing like controller settings?
🗪
01:07:40symbolic_butt What kind of sound options do you plan to include in the game? Like will the player be able to pause the game and mute the music but keep the sound effects? Or is it going to be a fixed thing like controller settings?
🗪
01:09:31stephenlast Wouldn't you want to use the alternate way of animating the volume for this feature? By setting a rate, not a length of time?
🗪
01:09:31stephenlast Wouldn't you want to use the alternate way of animating the volume for this feature? By setting a rate, not a length of time?
🗪
01:09:31stephenlast Wouldn't you want to use the alternate way of animating the volume for this feature? By setting a rate, not a length of time?
🗪
01:10:17btngames With a player running, would you connect speed of the player to pitch or look to add more sounds i.e. more steps in grass?
🗪
01:10:17btngames With a player running, would you connect speed of the player to pitch or look to add more sounds i.e. more steps in grass?
🗪
01:10:17btngames With a player running, would you connect speed of the player to pitch or look to add more sounds i.e. more steps in grass?
🗪
01:10:54matttherunner Once you release this source code, this will allow people to build upon/edit to make their own games. Correct?
🗪
01:10:54matttherunner Once you release this source code, this will allow people to build upon/edit to make their own games. Correct?
🗪
01:10:54matttherunner Once you release this source code, this will allow people to build upon/edit to make their own games. Correct?
🗪
01:11:42hugemang You may have already covered this, but does the OS alone allocate threads to run on each core, so is it impossible to force a single thread to run on its own unique core?
🗪
01:11:42hugemang You may have already covered this, but does the OS alone allocate threads to run on each core, so is it impossible to force a single thread to run on its own unique core?
🗪
01:11:42hugemang You may have already covered this, but does the OS alone allocate threads to run on each core, so is it impossible to force a single thread to run on its own unique core?
🗪
01:14:44soggypubes Is programming just remembering a whole bunch of commands and putting them into sequence?
🗪
01:14:44soggypubes Is programming just remembering a whole bunch of commands and putting them into sequence?
🗪
01:14:44soggypubes Is programming just remembering a whole bunch of commands and putting them into sequence?
🗪
01:16:30djonahstag Is it too complex to add low/high pass filters via code?
🗪
01:16:30djonahstag Is it too complex to add low/high pass filters via code?
🗪
01:16:30djonahstag Is it too complex to add low/high pass filters via code?
🗪
01:18:03insofaras If a tree falls and the hero is not there to hear it, will it make a sound?
🗪
01:18:03insofaras If a tree falls and the hero is not there to hear it, will it make a sound?
🗪
01:18:03insofaras If a tree falls and the hero is not there to hear it, will it make a sound?
🗪
01:19:12soysaucethekid Is the next thing you are going to do put the sound code in SIMD?
🗪
01:19:12soysaucethekid Is the next thing you are going to do put the sound code in SIMD?
🗪
01:19:12soysaucethekid Is the next thing you are going to do put the sound code in SIMD?
🗪
01:19:58symbolic_butt Are you going to use complex numbers? I heard they're useful for sound processing
🗪
01:19:58symbolic_butt Are you going to use complex numbers? I heard they're useful for sound processing
🗪
01:19:58symbolic_butt Are you going to use complex numbers? I heard they're useful for sound processing
🗪