Created a waveform component to display the recording's waveform

This commit is contained in:
Tiago Ribeiro
2023-06-14 16:22:48 +01:00
parent 31f2eb510e
commit f5fc85e1a7
5 changed files with 133 additions and 5 deletions

32
.pnp.cjs generated
View File

@@ -37,6 +37,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/react", "npm:18.0.27"],\
["@types/react-dom", "npm:18.0.10"],\
["@types/uuid", "npm:9.0.1"],\
["@types/wavesurfer.js", "npm:6.0.6"],\
["@wixc3/react-board", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:2.2.0"],\
["autoprefixer", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:10.4.14"],\
["axios", "npm:1.3.5"],\
@@ -68,6 +69,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["tailwindcss", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:3.3.1"],\
["typescript", "patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=289587"],\
["uuid", "npm:9.0.0"],\
["wavesurfer.js", "npm:6.6.4"],\
["zustand", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:4.3.7"]\
],\
"linkType": "SOFT"\
@@ -1770,6 +1772,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/debounce", [\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/@types-debounce-npm-3.0.0-b7858a5be9-af99f44f8c.zip/node_modules/@types/debounce/",\
"packageDependencies": [\
["@types/debounce", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/express", [\
["npm:4.17.17", {\
"packageLocation": "./.yarn/cache/@types-express-npm-4.17.17-46fe8173db-0196dacc27.zip/node_modules/@types/express/",\
@@ -1989,6 +2000,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/wavesurfer.js", [\
["npm:6.0.6", {\
"packageLocation": "./.yarn/cache/@types-wavesurfer.js-npm-6.0.6-465818fff7-732e998507.zip/node_modules/@types/wavesurfer.js/",\
"packageDependencies": [\
["@types/wavesurfer.js", "npm:6.0.6"],\
["@types/debounce", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@typescript-eslint/parser", [\
["npm:5.51.0", {\
"packageLocation": "./.yarn/cache/@typescript-eslint-parser-npm-5.51.0-884b6bb8aa-096ec81913.zip/node_modules/@typescript-eslint/parser/",\
@@ -5343,6 +5364,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/react", "npm:18.0.27"],\
["@types/react-dom", "npm:18.0.10"],\
["@types/uuid", "npm:9.0.1"],\
["@types/wavesurfer.js", "npm:6.0.6"],\
["@wixc3/react-board", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:2.2.0"],\
["autoprefixer", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:10.4.14"],\
["axios", "npm:1.3.5"],\
@@ -5374,6 +5396,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["tailwindcss", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:3.3.1"],\
["typescript", "patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=289587"],\
["uuid", "npm:9.0.0"],\
["wavesurfer.js", "npm:6.6.4"],\
["zustand", "virtual:bf6aaa3c042cc1a42ee2910afd2615e1727d392da84fae76c4ff4b04654d9bc15e6952fab427843d598f4a94d8eaa3198f30dab7b7c8d523ed6cd30ef92cfb66#npm:4.3.7"]\
],\
"linkType": "SOFT"\
@@ -7209,6 +7232,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["wavesurfer.js", [\
["npm:6.6.4", {\
"packageLocation": "./.yarn/cache/wavesurfer.js-npm-6.6.4-ee0823a013-cee2a98695.zip/node_modules/wavesurfer.js/",\
"packageDependencies": [\
["wavesurfer.js", "npm:6.6.4"]\
],\
"linkType": "HARD"\
}]\
]],\
["webcrypto-core", [\
["npm:1.7.7", {\
"packageLocation": "./.yarn/cache/webcrypto-core-npm-1.7.7-bb22025843-1dc5aedb25.zip/node_modules/webcrypto-core/",\