yeaman
November 19, 2019
300

# ruby lofi

A talk about a project I worked on. Also an encouragement for the audience to take on a programming project.

## yeaman

November 19, 2019

## Transcript

ur projects

FUN

size go down

25. ### “do u have a problem I can solve?” “do u

have an idea I can bring 2 life?”

42. ### [0.0, 0.23, 0.37, 0.44, 0.31, 0.18, -0.05, -0.21, -0.36, -0.50,

-0.39, -0.18, 0.0]

46. ### [0.0, 0.23, 0.37, 0.44, 0.31, 0.18, -0.05, -0.21, -0.36, -0.50,

-0.39, -0.18, 0.0]

50. ### [0.0, 0.23, 0.37, 0.44, 0.31, 0.18, -0.05, -0.21, -0.36, -0.50,

-0.39, -0.18, 0.0]

57. ### [0.0, 0.23, 0.37, 0.44, 0.31, 0.18, -0.05, -0.21, -0.36, -0.50,

-0.39, -0.18, 0.0]
58. ### sample rate != frequency sample rate != amplitude 44100 samples

per second of a 440 Hz tone
59. ### computer audio is just manipulating arrays of numbers that represent

sound wave frequency and amplitude at a certain sample rate
60. ### i = 0 while i < samples.count do percent_fade =

i / samples.count.to_f samples[i] = samples[i] * percent_fade i += 1 end

and z for 3d

69. ### ex: make a button rectangle for clickable area rectangle for

border text for label click handler
70. ### x, y = event.x, event.y b = Button.new label: “click

me” if b.x < x && b.x + b.width > x && b.y < y && b.y + b.height > y puts “clicked button!” else puts “am lonely” end

- ->

80. ### so why did I spend WAY more time building overly

complicated UI elements?