import{s as O,n as R,o as Y}from"../chunks/scheduler.cd324960.js";import{S as D,i as F,e as f,s as o,c as T,h as J,a as c,d as a,b as s,f as A,g as M,j as U,k as G,l as K,m as n,n as S,t as W,o as q,p as L}from"../chunks/index.d5c3adcc.js";import{C as N,H as I,E as Q}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.92ea4747.js";function V(z){let i,$,g,y,l,_,r,x,u,v,m,B=`Every audio or speech task starts with an audio file. Before we can dive into solving these tasks, it’s important to
understand what these files actually contain, and how to work with them.`,k,d,H=`In this unit, you will gain an understanding of the fundamental terminology related to audio data, including waveform,
sampling rate, and spectrogram. You will also learn how to work with audio datasets, including loading and preprocessing
audio data, and how to stream large datasets efficiently.`,C,p,j=`By the end of this unit, you will have a strong grasp of the essential audio data terminology and will be equipped with the
skills necessary to work with audio datasets for various applications. The knowledge you’ll gain in this unit is going to
lay a foundation to understanding the remainder of the course.`,b,h,P,w,E;return l=new N({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new I({props:{title:"Unit 1. Working with audio data",local:"unit-1-working-with-audio-data",headingTag:"h1"}}),u=new I({props:{title:"What you’ll learn in this unit",local:"what-youll-learn-in-this-unit",headingTag:"h2"}}),h=new Q({props:{source:"https://github.com/huggingface/audio-transformers-course/blob/main/chapters/en/chapter1/introduction.mdx"}}),{c(){i=f("meta"),$=o(),g=f("p"),y=o(),T(l.$$.fragment),_=o(),T(r.$$.fragment),x=o(),T(u.$$.fragment),v=o(),m=f("p"),m.textContent=B,k=o(),d=f("p"),d.textContent=H,C=o(),p=f("p"),p.textContent=j,b=o(),T(h.$$.fragment),P=o(),w=f("p"),this.h()},l(t){const e=J("svelte-u9bgzb",document.head);i=c(e,"META",{name:!0,content:!0}),e.forEach(a),$=s(t),g=c(t,"P",{}),A(g).forEach(a),y=s(t),M(l.$$.fragment,t),_=s(t),M(r.$$.fragment,t),x=s(t),M(u.$$.fragment,t),v=s(t),m=c(t,"P",{"data-svelte-h":!0}),U(m)!=="svelte-99v6u1"&&(m.textContent=B),k=s(t),d=c(t,"P",{"data-svelte-h":!0}),U(d)!=="svelte-108qfg8"&&(d.textContent=H),C=s(t),p=c(t,"P",{"data-svelte-h":!0}),U(p)!=="svelte-uhhra8"&&(p.textContent=j),b=s(t),M(h.$$.fragment,t),P=s(t),w=c(t,"P",{}),A(w).forEach(a),this.h()},h(){G(i,"name","hf:doc:metadata"),G(i,"content",X)},m(t,e){K(document.head,i),n(t,$,e),n(t,g,e),n(t,y,e),S(l,t,e),n(t,_,e),S(r,t,e),n(t,x,e),S(u,t,e),n(t,v,e),n(t,m,e),n(t,k,e),n(t,d,e),n(t,C,e),n(t,p,e),n(t,b,e),S(h,t,e),n(t,P,e),n(t,w,e),E=!0},p:R,i(t){E||(W(l.$$.fragment,t),W(r.$$.fragment,t),W(u.$$.fragment,t),W(h.$$.fragment,t),E=!0)},o(t){q(l.$$.fragment,t),q(r.$$.fragment,t),q(u.$$.fragment,t),q(h.$$.fragment,t),E=!1},d(t){t&&(a($),a(g),a(y),a(_),a(x),a(v),a(m),a(k),a(d),a(C),a(p),a(b),a(P),a(w)),a(i),L(l,t),L(r,t),L(u,t),L(h,t)}}}const X='{"title":"Unit 1. Working with audio data","local":"unit-1-working-with-audio-data","sections":[{"title":"What you’ll learn in this unit","local":"what-youll-learn-in-this-unit","sections":[],"depth":2}],"depth":1}';function Z(z){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class nt extends D{constructor(i){super(),F(this,i,Z,V,O,{})}}export{nt as component};
