├── .eslintignore
├── .npmrc
├── src
├── vite-env.d.ts
├── assets
│ ├── stop.svg
│ ├── pause.svg
│ ├── play.svg
│ ├── microphone.svg
│ ├── MicrophoneIcon.tsx
│ └── AudioWaveIcon.tsx
├── index.tsx
├── helpers
│ ├── getFileExtensionFromMimeType.ts
│ ├── formatToInlineStyleValue.ts
│ ├── paintLineFromCenterToRight.ts
│ ├── paintLine.ts
│ ├── formatRecordingTime.ts
│ ├── initialCanvasSetup.ts
│ ├── index.ts
│ ├── formatDurationTime.ts
│ ├── formatRecordedAudioTime.ts
│ ├── drawByBlob.ts
│ ├── getBarsData.ts
│ └── drawByLiveStream.ts
├── hooks
│ ├── useLatest.tsx
│ ├── useDebounce.tsx
│ ├── useWebWorker.tsx
│ └── useVoiceVisualizer.tsx
├── types
│ └── types.ts
├── index.css
└── components
│ └── VoiceVisualizer.tsx
├── public
└── voiceVisualizer.png
├── tsconfig.node.json
├── index.html
├── .gitignore
├── tsconfig.json
├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── .eslintrc.cjs
├── LICENSE
├── vite.config.ts
├── package.json
└── README.md
/.eslintignore:
--------------------------------------------------------------------------------
1 | vite.config.ts
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | legacy-peer-deps=true
--------------------------------------------------------------------------------
/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
440 | Processing Audio... 441 |
442 | )} 443 | {isRecordedCanvasHovered && 444 | isAvailableRecordedAudio && 445 | !isProcessingRecordedAudio && 446 | !isMobile && 447 | isProgressIndicatorOnHoverShown && ( 448 |466 | {formatRecordedAudioTime( 467 | (duration / canvasCurrentWidth) * hoveredOffsetX, 468 | )} 469 |
470 | )} 471 |498 | {formattedRecordedAudioCurrentTime} 499 |
500 | )} 501 |510 | {formattedRecordingTime} 511 |
512 | )} 513 | {duration && !isProcessingRecordedAudio ? ( 514 |{formattedDuration}
515 | ) : null} 516 |
222 |
223 | Your contribution is greatly appreciated! ❤️🚀
224 |
225 | ## Credits
226 |
227 | This library was created by [Yurii Zarytskyi](https://github.com/YZarytskyi)
228 |
229 |
230 |
LinkedIn
231 |
232 |
--------------------------------------------------------------------------------