You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,6 @@ Experience the [Demo App: Click here to explore the react-voice-visualizer](http
22
22
23
23
This README provides a comprehensive guide to effectively utilizing the library's features.
24
24
25
-
## Version 2.x.x Release Notes
26
-
27
-
**Breaking Changes:**
28
-
- Ref Handling Update: In this version, the library has been enhanced to manage audio references (audioRef) internally. Users no longer need to pass ref={audioRef} separately to components. This change offers a more seamless and intuitive experience.
29
-
30
-
**New Features:**
31
-
- Preloaded Audio Blob Support: Version 2.x.x introduces the capability to set preloaded audio blobs. Users now have the flexibility to load audio blobs from various sources, such as user inputs or files using `setPreloadedAudioBlob` function, expanding the library's versatility in different scenarios.
32
-
33
25
## Installation
34
26
35
27
To integrate the React Voice Visualizer library into your project, simply install it via npm or yarn:
@@ -44,6 +36,14 @@ or
44
36
yarn add react-voice-visualizer
45
37
```
46
38
39
+
## Version 2.x.x Release Notes
40
+
41
+
**Breaking Changes:**
42
+
- Ref Handling Update: In this version, the library has been enhanced to manage audio references (audioRef) internally. Users no longer need to pass ref={audioRef} separately to components. This change offers a more seamless and intuitive experience.
43
+
44
+
**New Features:**
45
+
- Preloaded Audio Blob Support: Version 2.x.x introduces the capability to set preloaded audio blobs. Users now have the flexibility to load audio blobs from various sources, such as user inputs or files using `setPreloadedAudioBlob` function, expanding the library's versatility in different scenarios.
For a live demonstration of the React Voice Visualizer library, you can check out the [Demo Voice Visualizer App](https://react-voice-visualizer.vercel.app/). This app showcases various features and functionalities of the library in action.
49
49
@@ -170,7 +170,6 @@ A component that visualizes the real-time audio wave during recording.
|**`ref`**| A reference to the audio element - `audioRef` from the `useVoiceVisualizer` hook. | - |`React.RefObject` (Required) |
174
173
|**`controls`**| Provides the audio recording controls and states required for visualization. | - |`Controls` (Required) |
175
174
|**`height`**| The height of the visualization canvas. |`200`|`string \| number` (Optional) |
176
175
|**`width`**| The width of the visualization canvas. |`100%`|`string \| number` (Optional) |
@@ -187,7 +186,7 @@ A component that visualizes the real-time audio wave during recording.
187
186
|**`animateCurrentPick`**| Whether to animate the current pick in the visualization. |`true`|`boolean` (Optional) |
188
187
|**`onlyRecording`**| Whether to show the visualization only during voice recording. |`false`|`boolean` (Optional) |
189
188
|**`isDefaultUIShown`**| Whether to show a default UI on Canvas before recording. If you want to create your own UI, set it to false. |`true`|`boolean` (Optional) |
190
-
|**`mainContainerClassName`**| The CSS class name for the main container. | - |`string` (Optional) |
189
+
|**`mainContainerClassName`**| The CSS class name for the main container. | - |`string` (Optional) |
191
190
|**`canvasContainerClassName`**| The CSS class name for the container of the visualization canvas. | - |`string` (Optional) |
192
191
|**`isProgressIndicatorShown`**| Whether to show the progress indicator after recording. |`true`|`boolean` (Optional) |
193
192
|**`progressIndicatorClassName`**| The CSS class name for the progress indicator. | - |`string` (Optional) |
0 commit comments