PageSourceSearch

https://www.lightnote.co/_next/static/chunks/pages/ear-training/tuning-intervals/exercises-1412fac1776d5c64.js

js lightnote.co collected 2026-10-03 20:40:44 UTC 5,498 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2584],{6532:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>c,default:()=>u});var r=t(37876),s=t(16547),i=t(70694),a=t(77328),o=t.n(a);let l={href:"/ear-training"};var c=!0;let u=function(){return(0,r.jsxs)(s.A,{children:[(0,r.jsx)(o(),{children:(0,r.jsx)("title",{children:"Ear Training - Lightnote"})}),(0,r.jsx)(i.A,{nextLesson:l.href,choices:[0,1,2,3,4,5,6,7,8,9,10,11]})]})}},15039:(e,n)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)r.call(e,t)&&e[t]&&(n=i(n,t));return n}(t)))}return e}function i(e,n){return n?e?e+" "+n:e+n:e}e.exports?(s.default=s,e.exports=s):void 0===(t=(function(){return s}).apply(n,[]))||(e.exports=t)}()},15780:e=>{e.exports={CourseLayout:"styles_CourseLayout__wn98O",headerCol:"styles_headerCol__dMmaT",LessonHeader:"styles_LessonHeader__dZB8J",gradient:"styles_gradient__yHwQH",nextControls:"styles_nextControls__hlZSq",exercisesBtn:"styles_exercisesBtn__7b25g",nextLessonBtn:"styles_nextLessonBtn__L8wYP"}},16547:(e,n,t)=>{"use strict";t.d(n,{A:()=>g});var r=t(37876),s=t(25313),i=t(48230),a=t.n(i),o=t(17545),l=t.n(o);let c=[{name:"Music Theory",href:"/dashboard"},{name:"Ear Training",href:"/ear-training"},{name:"Guitar Theory",href:"/guitar-theory"},{name:"Tools",href:"/tools"}],u=[{name:"Account",href:"/account"}],d=function(){return(0,r.jsxs)("nav",{className:l().Navigation,children:[(0,r.jsx)("ul",{children:c.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:e.href,children:e.name})},e.href))}),(0,r.jsxs)("ul",{children:[u.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:e.href,children:e.name})},e.href)),(0,r.jsx)("li",{children:(0,r.jsx)("form",{action:"/api/auth/logout",method:"POST",children:(0,r.jsx)("button",{className:l().logoutBtn,type:"submit",role:"link",children:"Logout"})})})]})]})};var h=t(77328),x=t.n(h),f=t(15780),_=t.n(f);function m(e){let{lesson:n}=e,t={backgroundImage:"url(https://res.cloudinary.com/dxdfbexap/image/upload/".concat(n.img,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundAttachment:"fixed"},i=(null==n?void 0:n.color)||"#4C535B",a=(null==n?void 0:n.color2)||"#282F39",o=null==n?void 0:n.color3,l={backgroundImage:"linear-gradient(-45deg, ".concat(a,"e6 0%, ").concat(i,"e6 100%)")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x(),{children:(0,r.jsxs)("title",{children:[n.title," - Lightnote"]})}),(0,r.jsx)("div",{className:_().LessonHeader,style:t,children:(0,r.jsx)("div",{className:_().gradient,style:l,children:(0,r.jsx)(s.A,{className:_().headerCol,children:(0,r.jsx)("h1",{style:o?{color:o}:{},children:n.title})})})})]})}let g=function(e){let{lesson:n,nextLesson:t,children:i}=e;return(0,r.jsxs)("div",{className:_().CourseLayout,style:{paddingTop:n?"0":"120px"},children:[(0,r.jsx)(x(),{children:(0,r.jsx)("style",{children:"\n          body {\n            background-color: #f4f4f4;\n          }\n        "})}),(0,r.jsx)(d,{}),n&&(0,r.jsx)(m,{lesson:n}),i,t&&(0,r.jsx)(s.A,{children:(0,r.jsxs)("div",{className:_().nextControls,children:[(null==n?void 0:n.exercises)&&(0,r.jsx)("div",{children:(0,r.jsx)(a(),{className:_().exercisesBtn,href:null==n?void 0:n.exercises,children:"Exercises"})}),(0,r.jsx)(a(),{className:_().nextLessonBtn,href:(null==t?void 0:t.href)||"/",children:t.isLast?"Home":"Next Lesson"})]})})]})}},17545:e=>{e.exports={Navigation:"styles_Navigation__9YD67",logoutBtn:"styles_logoutBtn__FcEyx"}},18116:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ear-training/tuning-intervals/exercises",function(){return t(6532)}])},25313:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var r=t(37876),s=t(15039),i=t.n(s),a=t(26293),o=t.n(a);let l=function(e){let{isWide:n,isFullWidth:t,children:s,className:a}=e;return(0,r.jsx)("div",{className:i()(o().Column,{[o().wide]:n,[o().fullWidth]:t},a),children:(0,r.jsx)("div",{className:o().content,children:s})})}},26293:e=>{e.exports={Column:"styles_Column__MleeA",wide:"styles_wide__Nl_1L",content:"styles_content__oqbEz"}},70694:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(37876),s=t(85678),i=t(84048);
1let a={0:{name:"Flat",ratio:.98},1:{name:"In Tune",ratio:1},2:{name:"Sharp",ratio:1.02},3:{name:"Flat",ratio:3.92/3},4:{name:"In Tune",ratio:4/3},5:{name:"Sharp",ratio:1.36},6:{name:"Flat",ratio:1.47},7:{name:"In Tune",ratio:1.5},8:{name:"Sharp",ratio:1.53},9:{name:"Flat",ratio:1.97},10:{name:"In Tune",ratio:2},11:{name:"Sharp",ratio:2.03}},o=function(e){let{nextLesson:n,choices:t=[0,1,2]}=e,{playSequence:o,playNote:l}=(0,i.J)(),c=e=>({id:e,...a[e]}),u=t.map((e,n)=>{let r=Math.floor(n/3),s=3*r;return{questionText:"Is this ".concat(function(e){switch(e){case 0:return"Unison";case 1:return"Fourth";case 2:return"Fifth";case 3:return"Octave";default:return""}}(r)," in tune?"),choiceIds:[t[s],t[s+1],t[s+2]],correctId:e}});return(0,r.jsx)(s.A,{availableQuestions:u,nextLesson:n,getChoice:c,playChoice:(e,n)=>{l(parseInt(c(n).ratio*e),"4n")},playHint:(e,n,t)=>{let r=c(n),{extended:s,finallyFn:i}=t;o([String(e),String(e*r.ratio)],{duration:s?"2n":"4n.",finallyFn:i})}})}},77328:(e,n,t)=>{e.exports=t(29269)}},e=>{e.O(0,[8230,5678,636,6593,8792],()=>e(e.s=18116)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.