Skip to content

Commit

Permalink
fix: further doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsek committed Oct 22, 2024
1 parent 4c04b1d commit edd3cd8
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 78 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="./internal-docs/assets/react-native-audio-api-gh-cover.png?v0.1.0" alt="React Native Audio API" width="100%">
<img src="./docs/assets/react-native-audio-api-gh-cover.png?v0.0.1" alt="React Native Audio API" width="100%">

### ⚠️ Pre-Alpha

Expand Down Expand Up @@ -31,7 +31,7 @@ allowing developers to generate and modify audio in exact same way it is possibl

## Coverage

Our current coverage of Web Audio API specification can be found here: [Web Audio API coverage](./internal-docs/web-audio-coverage.md).
Our current coverage of Web Audio API specification can be found here: [Web Audio API coverage](./docs/web-audio-coverage.md).

## Examples

Expand Down
Binary file added docs/assets/react-native-audio-api-gh-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 76 additions & 76 deletions internal-docs/web-audio-coverage.md → docs/web-audio-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ Some of the noticeable implementation details that are still in progress or not
- Support of different number of channels (current approach in most of the audio-graph nodes assumes working with two channel audio)
- Multi-input for each node and input mixing (Although specification suggests that most of the nodes can cave only one input or output, common use-cases proves otherwise). Only node that mixes multiple inputs is `DestinationNode`.

## Completed (**5** out of 33)
## Completed (**5** out of 33)

<details>
<summary><b>AudioScheduledSourceNode</b></summary>
<summary><b>AudioScheduledSourceNode</b></summary>
</details>
<details>
<summary><b>AudioDestinationNode</b></summary>
<summary><b>AudioDestinationNode</b></summary>
</details>
<details>
<summary><b>GainNode</b></summary>
<summary><b>GainNode</b></summary>
</details>
<details>
<summary><b>StereoPannerNode</b></summary>
<summary><b>StereoPannerNode</b></summary>
</details>
<details>
<summary><b>AudioNode</b></summary>
<summary><b>AudioNode</b></summary>
</details>

## In Progress (**7** out of 33)
## 🚧 In Progress (**7** out of 33)

<details>
<summary><b>🚧 AudioContext</b></summary>
<summary><b>AudioContext</b></summary>

<div style="padding: 16px; padding-left: 42px;">

Expand All @@ -50,69 +50,69 @@ Some of the noticeable implementation details that are still in progress or not
</details>

<details>
<summary><b>🚧 AudioBuffer</b></summary>
<summary><b>AudioBuffer</b></summary>

<div style="padding: 16px; padding-left: 42px;">

| Property 🔹/ Method 🔘 | state |
| ---------------------- | ----- |
| 🔹sampleRate ||
| 🔹length ||
| 🔹duration ||
| 🔹numberOfChannels ||
| 🔘getChannelData ||
| 🔘getChannelData ||
| 🔘setChannelData ||
| 🔘copyFromChannel ||
| 🔘copyToChannel ||
| 🔹 sampleRate ||
| 🔹 length ||
| 🔹 duration ||
| 🔹 numberOfChannels ||
| 🔘 getChannelData ||
| 🔘 getChannelData ||
| 🔘 setChannelData ||
| 🔘 copyFromChannel ||
| 🔘 copyToChannel ||

</div>

</details>

<details>
<summary><b>🚧 AudioBufferSourceNode</b></summary>
<summary><b>AudioBufferSourceNode</b></summary>

<div style="padding: 16px; padding-left: 42px;">

| Property 🔹/ Method 🔘 | state |
| ---------------------- | ----- |
| 🔹buffer ||
| 🔹detune ||
| 🔹loop ||
| 🔹loopStart ||
| 🔹loopEnd ||
| 🔹playBackRate ||
| 🔘start(overridden) ||
| 🔹 buffer ||
| 🔹 detune ||
| 🔹 loop ||
| 🔹 loopStart ||
| 🔹 loopEnd ||
| 🔹 playBackRate ||
| 🔘 start(overridden) ||

</div>

</details>

<details>
<summary><b>🚧 AudioParam</b></summary>
<summary><b>AudioParam</b></summary>

<div style="padding: 16px; padding-left: 42px;">

| Property 🔹/ Method 🔘 | state |
| ------------------------- | ----- |
| 🔹value ||
| 🔹defaultValue ||
| 🔹minValue ||
| 🔹maxValue ||
| 🔘setValueAtTime ||
| 🔘linearRampToValueAtTime ||
| 🔘setTargetAtTime ||
| 🔘setValueCurveAtTime ||
| 🔘cancelScheduledValues ||
| 🔘cancelAndHoldAtTime ||
| Property 🔹/ Method 🔘 | state |
| -------------------------- | ----- |
| 🔹 value ||
| 🔹 defaultValue ||
| 🔹 minValue ||
| 🔹 maxValue ||
| 🔘 setValueAtTime ||
| 🔘 linearRampToValueAtTime ||
| 🔘 setTargetAtTime ||
| 🔘 setValueCurveAtTime ||
| 🔘 cancelScheduledValues ||
| 🔘 cancelAndHoldAtTime ||

</div>

</details>

<details>
<summary><b>🚧 BaseAudioContext</b></summary>
<summary><b>BaseAudioContext</b></summary>

<div style="padding: 16px; padding-left: 42px;">

Expand Down Expand Up @@ -148,101 +148,101 @@ Some of the noticeable implementation details that are still in progress or not
</details>

<details>
<summary><b>🚧 OscillatorNode</b></summary>
<summary><b>OscillatorNode</b></summary>

<div style="padding: 16px; padding-left: 42px;">

| Property 🔹/ Method 🔘 | state |
| ---------------------- | ----- |
| 🔹frequency ||
| 🔹detune ||
| 🔹type ||
| 🔘setPeriodicWave ||
| 🔹 frequency ||
| 🔹 detune ||
| 🔹 type ||
| 🔘 setPeriodicWave ||

</div>

</details>

<details>
<summary><b>🚧 BiquadFilterNode</b></summary>
<summary><b>BiquadFilterNode</b></summary>

<div style="padding: 16px; padding-left: 42px;">

| Property 🔹/ Method 🔘 | state |
| ---------------------- | ----- |
| 🔹frequency ||
| 🔹detune ||
| 🔹Q ||
| 🔹gain ||
| 🔹type ||
| 🔘getFrequencyResponse ||
| Property 🔹/ Method 🔘 | state |
| ----------------------- | ----- |
| 🔹 frequency ||
| 🔹 detune ||
| 🔹 Q ||
| 🔹 gain ||
| 🔹 type ||
| 🔘 getFrequencyResponse ||

</div>

</details>

## Not yet available (**21** out of 33)
## Not yet available (**21** out of 33)

<details>
<summary><b>AudioParamMap</b></summary>
<summary><b>AudioParamMap</b></summary>
</details>
<details>
<summary><b>MediaElementAudioSourceNode</b></summary>
<summary><b>MediaElementAudioSourceNode</b></summary>
</details>
<details>
<summary><b>MediaStreamAudioSourceNode</b></summary>
<summary><b>MediaStreamAudioSourceNode</b></summary>
</details>
<details>
<summary><b>MediaStreamTrackAudioSourceNode</b></summary>
<summary><b>MediaStreamTrackAudioSourceNode</b></summary>
</details>
<details>
<summary><b>ConvolverNode</b></summary>
<summary><b>ConvolverNode</b></summary>
</details>
<details>
<summary><b>DelayNode</b></summary>
<summary><b>DelayNode</b></summary>
</details>
<details>
<summary><b>DynamicsCompressorNode</b></summary>
<summary><b>DynamicsCompressorNode</b></summary>
</details>
<details>
<summary><b>WaveShaperNode</b></summary>
<summary><b>WaveShaperNode</b></summary>
</details>
<details>
<summary><b>PeriodicWave</b></summary>
<summary><b>PeriodicWave</b></summary>
</details>
<details>
<summary><b>IRRFilterNode</b></summary>
<summary><b>IRRFilterNode</b></summary>
</details>
<details>
<summary><b>MediaStreamAudioDestinationNode</b></summary>
<summary><b>MediaStreamAudioDestinationNode</b></summary>
</details>
<details>
<summary><b>AnalyserNode</b></summary>
<summary><b>AnalyserNode</b></summary>
</details>
<details>
<summary><b>ChannelSplitterNode</b></summary>
<summary><b>ChannelSplitterNode</b></summary>
</details>
<details>
<summary><b>MergerNode</b></summary>
<summary><b>MergerNode</b></summary>
</details>
<details>
<summary><b>AudioListener</b></summary>
<summary><b>AudioListener</b></summary>
</details>
<details>
<summary><b>PannerNode</b></summary>
<summary><b>PannerNode</b></summary>
</details>
<details>
<summary><b>AudioWorkletNode</b></summary>
<summary><b>AudioWorkletNode</b></summary>
</details>
<details>
<summary><b>AudioWorkletProcessor</b></summary>
<summary><b>AudioWorkletProcessor</b></summary>
</details>
<details>
<summary><b>AudioWorkletGlobalScope</b></summary>
<summary><b>AudioWorkletGlobalScope</b></summary>
</details>
<details>
<summary><b>OfflineAudioContext</b></summary>
<summary><b>OfflineAudioContext</b></summary>
</details>
<details>
<summary><b>AudioParamMap</b></summary>
<summary><b>AudioParamMap</b></summary>
</details>
Binary file not shown.

0 comments on commit edd3cd8

Please sign in to comment.