Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
42d200e
feat(LFO): update sine line
codeacme17 Feb 1, 2024
33e5bac
feat(LFO): update props and realize speed effects
codeacme17 Feb 27, 2024
a6011e2
feat(LFO): realize frequence effect
codeacme17 Feb 27, 2024
bcce1fc
feat(LFO): realize delay effect
codeacme17 Feb 27, 2024
cba60ef
opt(LFO): optimize the gap of delay line and sine wave
codeacme17 Feb 27, 2024
831dd32
refactor(LFO): remove `amplitude` props
codeacme17 Feb 28, 2024
04ec742
Merge branch 'main' into feat
codeacme17 Mar 1, 2024
206ea18
fix(LFO): add a fourth parameter to resizeObserver to resolve issues …
codeacme17 Mar 1, 2024
877c9fb
refactor(LFO): extract delay line logic from gsw
codeacme17 Mar 1, 2024
088a4f6
feat(LFO): implement square wave
codeacme17 Mar 1, 2024
ac03c6d
ui(LFO): update LFO example
codeacme17 Mar 1, 2024
af22277
Merge branch 'main' into feat
codeacme17 Mar 1, 2024
3ffa034
fix(LFO): fix square wave display issue caused by calculations
codeacme17 Mar 1, 2024
cbf6b63
feat(LFO): rewrite props
codeacme17 Mar 3, 2024
83b681d
feat(LFO): implement triangle wave
codeacme17 Mar 4, 2024
a5d5e2b
refactor(LFO): extract duplicate code logic
codeacme17 Mar 4, 2024
a3e35a1
ui(LFO): update EchoLFO example
codeacme17 Mar 5, 2024
ed81cea
ui(LFO): use `autoFilter` to realize LFO
codeacme17 Mar 5, 2024
cb6bfea
feat(LFO): changing the units of frequency and related effects
codeacme17 Mar 5, 2024
517ccbc
feat(LFO): impact of update delay
codeacme17 Mar 5, 2024
38d2705
opt(LFO): add optimize hook to generate data
codeacme17 Mar 5, 2024
ff4f343
docs(LFO): add related files and example components
codeacme17 Mar 5, 2024
384f0f1
docs(LFO): update ROADMAP
codeacme17 Mar 5, 2024
c1fe262
chore(LFO): build dist
codeacme17 Mar 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
### Visualization Components

- [x] **Axis**: component is a component used to display axes in a chart.
- [x] **LFO**: Show LFO(Low Frequency Oscillator) waveform.
- [x] **Light**: Show the status of audio effects.
- [x] **Oscilloscope**: Visualizes audio waveforms in real-time, showing changes in signal amplitude and frequency over time.
- [x] **Spectrogram**: Display audio Spectrogram.
Expand Down
4 changes: 4 additions & 0 deletions docs/.island/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ function getSidebar(lang: 'zh' | 'en'): DefaultTheme.Sidebar {
{
text: getText('可视组件', 'Visualization'),
items: [
{
text: getText('LFO 低频振荡器', 'LFO'),
link: getLink('/component/LFO'),
},
{
text: getText('Light 指示灯', 'Light'),
link: getLink('/component/light'),
Expand Down
4 changes: 2 additions & 2 deletions docs/.island/dist/404.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{U as n,f as s,_ as d,v as i,y as l,b as r,A as u,c as e}from"./index.e7f83a34.js";import{jsx as t,jsxs as c,Fragment as p}from"react/jsx-runtime";const b=()=>t(n,{code:"<Button> Button </Button>",scope:{Button:s}}),h=()=>t(n,{code:"<Button toggled> Toggled </Button>",scope:{Button:s}}),m=()=>t(n,{code:"<Button disabled> Disabled </Button>",scope:{Button:s}}),f=()=>t(n,{code:`<div className="flex gap-4 items-center">
import{U as n,p as s,x as d,C as i,T as l,S as r,A as u,c as e}from"./index.83878d6a.js";import{jsx as t,jsxs as c,Fragment as p}from"react/jsx-runtime";const h=()=>t(n,{code:"<Button> Button </Button>",scope:{Button:s}}),b=()=>t(n,{code:"<Button toggled> Toggled </Button>",scope:{Button:s}}),m=()=>t(n,{code:"<Button disabled> Disabled </Button>",scope:{Button:s}}),f=()=>t(n,{code:`<div className="flex gap-4 items-center">
<Button size="sm">
Small
</Button>
Expand Down Expand Up @@ -37,4 +37,4 @@ import{U as n,f as s,_ as d,v as i,y as l,b as r,A as u,c as e}from"./index.e7f8
<Button value={4}>
Triangle
</Button>
</Button.Group>`,scope:{Button:s,SineIcon:d,SawtoothIcon:i,SquareIcon:l,TriangleIcon:r}}),T=()=>t(u,{data:[{attribute:"value",description:c(p,{children:["The bound value (only effective in ",t(e,{children:"`Group`"}),")."]}),type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether the button is disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"toggled",description:"Indicates whether the button is toggled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"onToggleChange",description:"Callback function when the toggle state changes",type:t(e,{children:"(toggled: boolean) => void"}),default:"-"}]}),w=()=>t(u,{data:[{attribute:"value",description:"The value associated with the button group. If the value is an array, the button group will be treated as a multi-select group. Otherwise, it will be treated as a single-select group.",type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether buttons in the button group are disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"classNames",description:"Allows setting custom class names for buttons and toggle states",type:t(e,{children:"{ button?: string }"}),default:"-"},{attribute:"styles",description:"Allows setting custom styles for buttons and toggle states",type:t(e,{children:"{ button?: React.CSSProperties }"}),default:"-"},{attribute:"onChange",description:"Callback function when options change",type:t(e,{children:"(values: any) => void"}),default:"-"}]});export{T as B,b as D,v as G,y as R,f as S,h as T,m as a,w as b};
</Button.Group>`,scope:{Button:s,SineIcon:d,SawtoothIcon:i,SquareIcon:l,TriangleIcon:r}}),T=()=>t(u,{data:[{attribute:"value",description:c(p,{children:["The bound value (only effective in ",t(e,{children:"`Group`"}),")."]}),type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether the button is disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"toggled",description:"Indicates whether the button is toggled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"onToggleChange",description:"Callback function when the toggle state changes",type:t(e,{children:"(toggled: boolean) => void"}),default:"-"}]}),S=()=>t(u,{data:[{attribute:"value",description:"The value associated with the button group. If the value is an array, the button group will be treated as a multi-select group. Otherwise, it will be treated as a single-select group.",type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether buttons in the button group are disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"classNames",description:"Allows setting custom class names for buttons and toggle states",type:t(e,{children:"{ button?: string }"}),default:"-"},{attribute:"styles",description:"Allows setting custom styles for buttons and toggle states",type:t(e,{children:"{ button?: React.CSSProperties }"}),default:"-"},{attribute:"onChange",description:"Callback function when options change",type:t(e,{children:"(values: any) => void"}),default:"-"}]});export{T as B,h as D,v as G,y as R,f as S,b as T,m as a,S as b};
13 changes: 13 additions & 0 deletions docs/.island/dist/assets/Card.983ee5ac.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions docs/.island/dist/assets/Card.d8eeb31c.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading