Latest / CyberSecurity Summary / JavaScript for Sound Artists
Transcript
- 0:00Speaker 1: You know, it kind of blows my mind that JavaScript,
- 0:02Speaker 1: a language initially like hammered out in just eleven days
- 0:05Speaker 1: to make websites a bit more lively, now packs enough
- 0:09Speaker 1: punch to construct full blown audio applications, synthesizers, drum machines,
- 0:15Speaker 1: write in your web browser.
- 0:16Speaker 2: It really is something else.
- 0:17Speaker 1: Let's really dig into that, because today on the deep dive,
- 0:19Speaker 1: we're plunging into JavaScript for sound artists Learn to Code
- 0:24Speaker 1: with the Web Audio API. It's a super useful book
- 0:28Speaker 1: by William Turner, edited by Steve Leonard. Our goal to
- 0:32Speaker 1: basically connect what you already know about audio with the
- 0:36Speaker 1: fascinating possibilities of JavaScript programming.
- 0:39Speaker 2: Yeah, because instead of being stuck with desktop software, you
- 0:42Speaker 2: could potentially build and share a unique synth with anyone
- 0:47Speaker 2: just a weblink exactly.
- 0:48Speaker 1: That's a fundamentally different landscape for audio creation, isn't it.
- 0:51Speaker 2: It absolutely is, And it's remarkable how this book speaks
- 0:54Speaker 2: directly to that creative audio community. You don't see many
- 0:57Speaker 2: resources teaching programming to sound artartists using examples they get.
- 1:02Speaker 2: The beauty isn't just that these Web audio API tools exist,
- 1:06Speaker 2: but that they're accessible through JavaScript, which is just everywhere.
- 1:10Speaker 2: It really lowers the barrier for sound artists to experiment
- 1:14Speaker 2: with coding sound way less complex than it used to be.
- 1:17Speaker 1: Absolutely, and if you've ever gotten lost tweaking knobs on
- 1:21Speaker 1: a synth or programmed to MIDI sequence, or maybe just
- 1:23Speaker 1: wanted about the code behind interactive websites, then listen closely.
- 1:28Speaker 1: This deep dive is crafted just for you. We're going
- 1:30Speaker 1: to pull out the key ideas of those aha moments
- 1:34Speaker 1: to show you how JavaScript and the Web Audio API
- 1:37Speaker 1: can unlock totally new sonic territories and hopefully without drowning
- 1:42Speaker 1: you and tech speak.
- 1:43Speaker 2: Right, it's about making audio creation even more accessible, isn't
- 1:46Speaker 2: it like how democratized production? This brings coding for audio
- 1:50Speaker 2: right into the browser, which almost everyone has. What kind
- 1:53Speaker 2: of creative doors does that open up? Think about it?
- 1:55Speaker 1: Exactly? So, just to give you a roadmap, we'll explore
- 1:58Speaker 1: how the book cleverly uses these audio examples to teach
- 2:01Speaker 1: core JavaScript fundamentals. Yeah, we're talking variables, functions, and crucially
- 2:06Speaker 1: how they talk to the Web Audio API to make
- 2:09Speaker 1: and shape sound in real time. All your browser ready
- 2:13Speaker 1: to tune in?
- 2:13Speaker 2: Absolutely, let's lay the groundwork.
- 2:15Speaker 1: Okay. Chapter one laying the foundation. It starts with a
- 2:20Speaker 1: really interesting question what is a program?
- 2:23Speaker 2: And the answer they give is pretty broad.
- 2:25Speaker 1: Yeah, any set of instructions created or followed. They even
- 2:29Speaker 1: use early analog since you know, with the patch base
- 2:31Speaker 1: as an.
- 2:32Speaker 2: Example, which is such a great starting point. It connects
- 2:34Speaker 2: programming to something tangible for sound artists, they've basically been
- 2:38Speaker 2: programming with patch cables.
- 2:39Speaker 1: Already, right, just learning a different language for it now exactly?
- 2:42Speaker 1: Then what is JavaScript? And this origin story is wild
- 2:46Speaker 1: nineteen ninety five Netscape, Brenda Night, brendan Ike. Yeah, just
- 2:50Speaker 1: eleven days to cook up this language for web interactivity.
- 2:54Speaker 1: And it was called live script first.
- 2:56Speaker 2: Live script before it became JavaScript. And the book makes
- 2:59Speaker 2: it really good. Crucial point here. Oh yeah, it's got
- 3:01Speaker 2: nothing to do with Java, despite the name that trips
- 3:04Speaker 2: up so many people.
- 3:05Speaker 1: Right, super important distinction.
- 3:07Speaker 2: And today JavaScript is just well, it's everywhere, robotics, smart homes,
- 3:12Speaker 2: you name it.
- 3:13Speaker 1: Incredible versatility. And now the star of our show, what
- 3:17Speaker 1: is the Web Audio API? The toolkit exactly. Think of
- 3:21Speaker 1: it like a pre built code toolkit nestled right inside
- 3:24Speaker 1: your browser, specifically for making musical and audio tasks. Way
- 3:27Speaker 1: way simpler saves you building everything for the ground up.
- 3:30Speaker 2: And what's cool is you're writing in JavaScript, but the
- 3:33Speaker 2: api itself that's built using stuff like c plus plus
- 3:36Speaker 2: b a Java machine code, powerful stuff happening under the
- 3:40Speaker 2: hood in the browser.
- 3:41Speaker 1: So you're getting a friendly interface to some serious audio power.
- 3:44Speaker 2: Precisely.
- 3:45Speaker 1: Okay. So the chapter wraps up with practical first steps.
- 3:48Speaker 1: It recommends Brave as the browser and tells you how
- 3:50Speaker 1: to open the developer tools. That's cray L plus Shift
- 3:54Speaker 1: plus J or command plus option plus J on.
- 3:57Speaker 2: Mas the essential tool.
- 3:58Speaker 1: And they also point you to stackoverflow dot com specifically
- 4:01Speaker 1: the web audio api community. There like having a global.
- 4:04Speaker 2: Help desk, which is so vital for newcomers right. Knowing
- 4:07Speaker 2: where to get help when you inevitably hit a snag
- 4:10Speaker 2: makes a huge difference.
- 4:11Speaker 1: No kidding. Okay, let's move to chapter two, Getting started
- 4:14Speaker 1: with sound and code. Time to make some noise.
- 4:17Speaker 2: Literally. They contrast the classic Hello World.
- 4:21Speaker 1: Program yes, which just prints text.
- 4:23Speaker 2: With their Hello Sound program. Much more fun for.
- 4:25Speaker 1: This crowd, for sure. So instead of text you get sound.
- 4:29Speaker 1: The book gives you this simple snippet audio context New
- 4:33Speaker 1: Audio context letosciaudio context dot create oscillator audise dot type
- 4:38Speaker 1: sign ovc dot connect audio context dot destination, audio context
- 4:43Speaker 1: dot current time.
- 4:44Speaker 2: Let's break that down, maybe.
- 4:45Speaker 1: Yeah, good IDEA. First line gets the audio engine ready
- 4:49Speaker 1: new audio context right. Second line creates an oscillator that's
- 4:52Speaker 1: your sound source. Create oscillator, got it. Third sets the
- 4:55Speaker 1: sound type here it's a pure sign wave offc dot
- 4:58Speaker 1: type sign. Fourth connects it to your speaker. Connect audio
- 5:01Speaker 1: context dot destination, yeah output. And the last one says,
- 5:03Speaker 1: go right now start audiocontext dot current time.
- 5:07Speaker 2: And the cool thing is that immediate feedback you type that,
- 5:10Speaker 2: run it and bam sound. That direct code to audio
- 5:13Speaker 2: link is super motivating.
- 5:15Speaker 1: Definitely. And they mentioned you need their web audio template
- 5:18Speaker 1: and a local web server like the one in Sublime
- 5:20Speaker 1: text to actually hear it.
- 5:22Speaker 2: Right, crucial practical step.
- 5:23Speaker 1: Next up variables. Think of them like labeled boxes for
- 5:27Speaker 1: storing info.
- 5:29Speaker 2: Containers.
- 5:29Speaker 1: Yeah, containers. The book uses let waveform type equal saw
- 5:33Speaker 1: too as an example. Let is the keyword saying new
- 5:36Speaker 1: variable coming up declaration right. Then waveform type is the name.
- 5:41Speaker 1: Notice the capital T that's CamelCase. You need it because
- 5:45Speaker 1: variable names can't have spaces.
- 5:47Speaker 2: Try it with the space let waveform type and you'll
- 5:49Speaker 2: see an error right away in the console. Good lesson
- 5:52Speaker 2: in precision definitely and at equals.
- 5:54Speaker 1: It's not equals like in math.
- 5:56Speaker 2: It's the assignment operator exactly.
- 5:58Speaker 1: It takes the value on the right. Yeah, the string
- 6:01Speaker 1: saw tooth in quotes and stores it in the variable
- 6:03Speaker 1: waveform type on.
- 6:04Speaker 2: The left, and those quotes tell JavaScript it's a string,
- 6:08Speaker 2: you know, text data.
- 6:09Speaker 1: They also bring in const. It's like let, but for
- 6:11Speaker 1: variables you don't want to change later.
- 6:13Speaker 2: Immutable sort of.
- 6:14Speaker 1: Yeah, try reassigning a const variable of the book shows
- 6:18Speaker 1: constant oscu one thousand off key eel some thousand and boom.
- 6:22Speaker 2: Error.
- 6:22Speaker 1: Keeps your code predictable.
- 6:23Speaker 2: Good practice.
- 6:24Speaker 1: Then there's declaring without a value like let waveform type.
- 6:27Speaker 1: JavaScript automatically assigns it the special value.
- 6:30Speaker 2: Undefined, which is its own data type, not a string.
- 6:33Speaker 2: No quotes.
- 6:34Speaker 1: Right, These little differences let const undefined. They seem small,
- 6:39Speaker 1: but they're fundamental to how JavaScript works.
- 6:41Speaker 2: Absolutely foundational, okay.
- 6:43Speaker 1: Making code human readable. Comments, potential use for single lines
- 6:48Speaker 1: or for multiple lines. The computer ignores them, but they
- 6:50Speaker 1: tell you what's going on. Let waveform type saw tooth oscillator.
- 6:54Speaker 2: Value it's like leaving notes for your future self or
- 6:57Speaker 2: your collaborators, so important. As things get complex totally.
- 7:00Speaker 1: Then they revisit hello sound to show variables in action.
- 7:03Speaker 1: They make variables for different waveforms saw tooth, sign, triangle square.
- 7:07Speaker 1: Then they assign one of these to another variable like
- 7:10Speaker 1: current waveform. And the cool part is you can change
- 7:12Speaker 1: current waveform later without using lead again. Just assign a
- 7:16Speaker 1: new value.
- 7:17Speaker 2: That's mutability, the ability to change the variables value.
- 7:21Speaker 1: And if you actually do this in the browser, change
- 7:23Speaker 1: current waveform from signed to saw tooth, you hear the
- 7:26Speaker 1: difference instantly, it gets buzzier.
- 7:28Speaker 2: That's the magic. Connecting code changes to audible results makes
- 7:33Speaker 2: abstract concepts totally concrete for sound folks.
- 7:36Speaker 1: Okay, so we covered string and undefined. They briefly mention
- 7:39Speaker 1: null two, another data type often used to intentionally show
- 7:43Speaker 1: a variable.
- 7:44Speaker 2: Has no value, right, deliberately empty.
- 7:47Speaker 1: Then back to strings. You can stick them together with
- 7:49Speaker 1: the plus sign that's concatenation.
- 7:51Speaker 2: Or use template literals.
- 7:52Speaker 1: Yeah, template literals with the backticks. They let you embed
- 7:55Speaker 1: variables right inside the string, like yeah to phrase sound
- 7:58Speaker 1: type cleaner, somethe times, and yes, strings can have spaces.
- 8:02Speaker 2: Crucial for interfaces handling text data.
- 8:05Speaker 1: And if you need the length of a string, just
- 8:07Speaker 1: use length like mystring dot length counts spaces too handy property.
- 8:11Speaker 1: Then they introduce built in string methods tools for manipulating
- 8:15Speaker 1: strings like to uppercase or to lower case.
- 8:18Speaker 2: You don't need to memorize them all no way, but
- 8:20Speaker 2: know they exist. Check what slice slice tools in the
- 8:24Speaker 2: toolbox for when.
- 8:25Speaker 1: You need them exactly. Next, numbers, key thing no quotes.
- 8:30Speaker 1: Put quotes around one hundred and twenty three and it's
- 8:33Speaker 1: a string, not a number. You can do math with right.
- 8:36Speaker 2: And the basic math operators plus from multiply for divide
- 8:41Speaker 2: and percent.
- 8:41Speaker 1: The modulo gives you the remainder after division.
- 8:43Speaker 2: And if you're ever unsure what data type of variable holds,
- 8:47Speaker 2: use type of type of my variable.
- 8:49Speaker 1: Super useful for debugging. Okay, then boolean data type just
- 8:51Speaker 1: true or false perfect for on off states.
- 8:54Speaker 2: Let synth this on true fundamental for logic.
- 8:57Speaker 1: They quickly mentioned assignment operators like plus or not as
- 9:00Speaker 1: shorthand compound assignment, and then comparison operators. These compare values
- 9:04Speaker 1: and give back a booleion true or false like for.
- 9:07Speaker 2: Strict equality checks value and type.
- 9:09Speaker 1: Right, and for strict inequality CEO too. Yeah, the book
- 9:13Speaker 1: stress is using the strict ones because the non strict
- 9:15Speaker 1: ones can do weird automatic type conversions.
- 9:18Speaker 2: Yeah, strict equality avoids surprises. It's essential for making decisions
- 9:22Speaker 2: in your code. If this condition is true, do that.
- 9:24Speaker 1: Okay, let's jump to chapter five. Functions encapsulating actions. This
- 9:28Speaker 1: is where code gets organized.
- 9:30Speaker 2: Right, we've got our data building blocks, Now how do
- 9:33Speaker 2: we organize actions on that data? Functions they're the workhorses.
- 9:37Speaker 1: The book calls them reusable blocks of code. Yeah, stop
- 9:40Speaker 1: repeating yourself. They do specific tasks based on inputs.
- 9:43Speaker 2: Yeah, like a synth module takes inputs, does something gives
- 9:47Speaker 2: an output.
- 9:48Speaker 1: Good analogy. They start simple function effectsbox. Input takes an input,
- 9:53Speaker 1: returns it doubled.
- 9:54Speaker 2: And you call it or invoke it with affectsbox one twenty.
- 9:57Speaker 1: Right, it gives you two forty. The book breaks down
- 9:59Speaker 1: the parts function keyword the name effects box, barenthes for parameters.
- 10:04Speaker 2: Like input placeholders for input.
- 10:06Speaker 1: Curly braces for the code block, and the optional return
- 10:08Speaker 1: statement for the output. They even mention js dot comments
- 10:11Speaker 1: for documenting parameters.
- 10:12Speaker 2: That input output idea parameters in return value out is
- 10:15Speaker 2: core programming stuff makes code modular.
- 10:18Speaker 1: You run it with the name and parentheses. Values you
- 10:20Speaker 1: pass in when you call it are arguments, and if
- 10:23Speaker 1: you give too many.
- 10:24Speaker 2: Arguments, jobscript just ignores the extras.
- 10:26Speaker 1: Interesting. They also show function expressions assigning a function to
- 10:31Speaker 1: a variable like let add function ab return a plus
- 10:34Speaker 1: b shows functions are like data.
- 10:37Speaker 2: Which is super powerful, especially for callbacks.
- 10:39Speaker 1: Later on, Yeah, and they mentioned functions help abstract way
- 10:42Speaker 1: complex stuff like playing that oscillator makes code cleaner definitely.
- 10:47Speaker 1: They show a working effects box with a multiplier parameter
- 10:50Speaker 1: to make it flexible, and default arguments, setting a fallback
- 10:53Speaker 1: value if an argument.
- 10:54Speaker 2: Isn't provided useful and they touch on the arguments object,
- 10:57Speaker 2: but quickly move to the modern.
- 10:59Speaker 1: Rest para right. The syntax lets you gather multiple arguments
- 11:03Speaker 1: into an array function some dot numbers.
- 11:05Speaker 2: Cleaner, more flexible way to handle varying numbers of inputs.
- 11:09Speaker 1: Now a big one function scope Variables you declare inside
- 11:13Speaker 1: a function with let or const. They're local they don't
- 11:16Speaker 1: clash with variables outside.
- 11:17Speaker 2: But the function can see its on variables and variables
- 11:21Speaker 2: in outer scopes, including the global scope.
- 11:23Speaker 1: Which is why the book Cammer's home. Always declare variables
- 11:26Speaker 1: with let or constant inside functions. Avoids accidental globals and
- 11:30Speaker 1: weird bugs.
- 11:32Speaker 2: Absolutely vital advice for organization and preventing side effects. They
- 11:36Speaker 2: also mention hoisting for function declarations.
- 11:38Speaker 1: Briefly, Yeah, they get moved to the top conceptually. Then
- 11:42Speaker 1: anonymous functions functions without names often used on.
- 11:46Speaker 2: The fly, like in callbacks or expressions, which.
- 11:48Speaker 1: Leads to closures. This one's a bit more advanced.
- 11:51Speaker 2: Yeah, it can be tricky.
- 11:52Speaker 1: Think of it as an inner function that remembers the
- 11:54Speaker 1: variables from its outer function even after the outer one
- 11:57Speaker 1: is done running.
- 11:58Speaker 2: It keeps its environment.
- 12:00Speaker 1: They use the effects box example again showing the inner
- 12:02Speaker 1: functions still accessing the component variable from the outer scope.
- 12:06Speaker 1: Whoa kind of mind bending it.
- 12:07Speaker 2: Is, but it's super powerful. Allows functions to maintain state.
- 12:11Speaker 2: Essentially crucial for lots of patterns.
- 12:14Speaker 1: Okay. Next, callback functions functions you pass as arguments to
- 12:20Speaker 1: other functions.
- 12:21Speaker 2: Enables flexibility asynchronous stuff.
- 12:23Speaker 1: They show a calculate frequencies example that can use a
- 12:26Speaker 1: default calculation or a custom callback you provide, and then
- 12:29Speaker 1: built in JavaScript callbacks.
- 12:31Speaker 2: Like array methods, dot filter, and map.
- 12:34Speaker 1: Yeah, these let you operate on array elements really elegantly
- 12:37Speaker 1: using callback functions. Imagine filtering audio samples with that.
- 12:41Speaker 2: Oh yeah, filter and dot map are incredibly expressive for
- 12:44Speaker 2: working with data collections. Fundamental for event handling too.
- 12:48Speaker 1: Chapter five wraps with function aerosyntax the expressive just a
- 12:53Speaker 1: shorter way to write function.
- 12:55Speaker 2: Expressions, especially concise for single parameters or simple returns.
- 12:58Speaker 1: And finally, recursion. A function calling.
- 13:01Speaker 2: Itself need that base case absolutely.
- 13:03Speaker 1: To stop it from looping forever and crashing your browser.
- 13:06Speaker 1: As they hilariously warn, they show a loop from two.
- 13:09Speaker 2: Example all again for some problems, but maybe not your
- 13:11Speaker 2: everyday tool.
- 13:12Speaker 1: Starting out right, okay, big jump out to chapter ten
- 13:16Speaker 1: Simplifying DOM programming with jQuery.
- 13:19Speaker 2: Okay, so we got JavaScript basics down. Now interacting with
- 13:22Speaker 2: the web page itself exactly.
- 13:23Speaker 1: The book introduces jquerys library to make interacting with the
- 13:27Speaker 1: DOM the document object model way easier.
- 13:30Speaker 2: The DOM is like the page of structure, right, all
- 13:32Speaker 2: the HTML elements, yeah, the.
- 13:34Speaker 1: Blueprint and manipulating it directly with just JavaScript can be verbose.
- 13:39Speaker 1: jQuery is like a set of shortcuts. Pre written code.
- 13:42Speaker 2: Handles browser differences too. Simplify subtax write less, Do more
- 13:46Speaker 2: is the motto.
- 13:47Speaker 1: So how do you use it? Two ways to include it?
- 13:49Speaker 1: Download the file or use a CDN, a content delivery network.
- 13:53Speaker 2: CDN needs internet though, good point.
- 13:55Speaker 1: Then the basic pattern select an HTML element, then do
- 13:59Speaker 1: something to it and select.
- 14:00Speaker 2: Acting is where jQuery shines. Uses syntax like CSS selectors.
- 14:04Speaker 1: Right, if you know CSS, this feels familiar. The sign
- 14:07Speaker 1: is the key. You can select elements like dive child elements,
- 14:10Speaker 1: t span descendants, p span, multiple types, dive span p.
- 14:14Speaker 2: Or by id, hashtag item or class night item.
- 14:18Speaker 1: They're very powerful.
- 14:20Speaker 2: Once selected, you use jQuery methods like dot CSS to
- 14:23Speaker 2: change styles. You can set one property or multiple using
- 14:26Speaker 2: an object.
- 14:27Speaker 1: And CSS is just one of many methods for changing content, attributes, styles, everything.
- 14:31Speaker 2: So the book does this great practical thing refactors. The
- 14:34Speaker 2: early Oscillator player code using.
- 14:36Speaker 1: jQuery shows the different side by side. Yeah, the longer
- 14:39Speaker 1: JavaScript for finding the on off button or the frequency
- 14:42Speaker 1: slider gets much shorter with jQuery selectors like hashtag on
- 14:47Speaker 1: off or input dot eq one.
- 14:49Speaker 2: To vowel explaining eq for selecting by position and dot
- 14:53Speaker 2: vowel for getting form element values.
- 14:55Speaker 1: It really shows how much cleaner and more readable jQuery
- 14:58Speaker 1: can make that dom interaction.
- 15:00Speaker 2: Drives home the benefit immediately. See the code shrink All.
- 15:03Speaker 1: Right, well more leap Chapter twenty three Building a step sequencer.
- 15:07Speaker 1: This is where it all comes together, a real interactive
- 15:09Speaker 1: audio app in the browser.
- 15:11Speaker 2: Yeah, building your own sequencer. That's about designing custom rhythm logic.
- 15:15Speaker 2: Huge potential beyond standard sequencers.
- 15:17Speaker 1: But the chapter starts with a problem precise musical timing
- 15:21Speaker 1: in JavaScript. Standard set interval and set timeout aren't quite
- 15:24Speaker 1: reliable enough, right.
- 15:25Speaker 2: They drift, and once you schedule something, it's hard to
- 15:27Speaker 2: unschedule cleanly.
- 15:29Speaker 1: So the books solution a custom schedule function. It doesn't
- 15:32Speaker 1: just fire and forget. It constantly checks if it's time
- 15:34Speaker 1: for the next event. More control.
- 15:36Speaker 2: The core idea uses a future tick time variable. It
- 15:39Speaker 2: tracks when the next tick should happen. The scheduler uses
- 15:43Speaker 2: set time out to repeatedly call itself, comparing future tick
- 15:46Speaker 2: time to the Web audio API's current time, so.
- 15:50Speaker 1: It's like a self correcting loop for timing exactly keeps
- 15:53Speaker 1: it accurate.
- 15:53Speaker 2: In tempo changing, the BPM adjusts a countertime value which
- 15:58Speaker 2: directly changes the timing within them.
- 16:00Speaker 1: Makes sense. Then they build the sequencer logic using JavaScript arrays,
- 16:04Speaker 1: kick tracks and air track, et cetera.
- 16:06Speaker 2: Each number in the array is a step in say
- 16:09Speaker 2: a sixteenth note sequence. Simple way to represent patterns position
- 16:13Speaker 2: is time, value is on off or velocity maybe gen.
- 16:16Speaker 1: To play the sounds a schedule sound function. It loops
- 16:19Speaker 1: through the track arrays based on a counter and triggers
- 16:21Speaker 1: the right sound at the right time.
- 16:22Speaker 2: Then the UI the grid. They use jQuery to dynamically
- 16:26Speaker 2: create HTML deve elements. Each row is an instrument.
- 16:30Speaker 1: Columns are steps dynamically generating HML. That's powerful. jQuery makes
- 16:33Speaker 1: adding those elements easy totally and making it interactive. jQuery
- 16:37Speaker 1: is on click clicks on the grid cells dot grid item.
- 16:40Speaker 2: Yet dot index figures out which cell in the row
- 16:43Speaker 2: was clicked right.
- 16:44Speaker 1: That index tells you the musical step. Clicking toggles the
- 16:47Speaker 1: step number and the corresponding track array adds or removes it.
- 16:51Speaker 1: And they toggle CSS classes too, so you see the
- 16:53Speaker 1: active steps light.
- 16:54Speaker 2: Up, visual feedback. Hello crucial.
- 16:57Speaker 1: Finally, they mentioned jQuery listeners for a metronome but and
- 17:00Speaker 1: a tempo slider, so user interaction controls the whole thing
- 17:04Speaker 1: in real time.
- 17:05Speaker 2: It's a fantastic example pulling everything together. JavaScript fundamentals, Web
- 17:09Speaker 2: Audio API for sound and timing, jQuery for the interactive UI,
- 17:13Speaker 2: a full browser audio app.
- 17:15Speaker 1: So wrapping up our deep dives, what a journey from
- 17:20Speaker 1: what's a program to JavaScript basics functions, simplifying with jQuery
- 17:25Speaker 1: and building a step sequencer. JavaScript for Sound Artists really
- 17:29Speaker 1: does connect audio thinking with programming concepts effectively.
- 17:33Speaker 2: Yeah, it demystifies. It shows you don't need to be
- 17:35Speaker 2: a coding guru to start making cool sonic tools in
- 17:37Speaker 2: the browser with the Web Audio API and libraries like jQuery.
- 17:41Speaker 1: So if this sparked your curiosity, If making your own
- 17:43Speaker 1: web audio tool sounds exciting, definitely check out the book.
- 17:45Speaker 2: There's way more in their audio files, effects, building sense.
- 17:49Speaker 1: Loads more, which leads to a final thought, go on,
- 17:52Speaker 1: just like early hardware sense opened up sound creation, could
- 17:56Speaker 1: JavaScript and the Web Audio API be this new way
- 18:00Speaker 1: of accessible, shareable audio innovation online.
- 18:03Speaker 2: That's a really interesting question. What kinds of tools and
- 18:06Speaker 2: experiences could you the listener build with this? What does
- 18:10Speaker 2: audio creation look like when it's native to the web.
- 18:12Speaker 1: Definitely food for a thought. To explore more, check the
- 18:15Speaker 1: book's companion side JavaScript for Sound Artists, dot com code
- 18:18Speaker 1: examples resources. It's all there, yep, and let us know
- 18:21Speaker 1: what parts of web audio interest you. Your questions might
- 18:24Speaker 1: just spark our next deep dive