Skip to content

Commit

Permalink
Merge pull request #438 from jamesb93/main
Browse files Browse the repository at this point in the history
Include missing Admonition import
  • Loading branch information
James Bradbury authored Feb 26, 2024
2 parents c292534 + ec91538 commit 4a8e9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/(content)/learn/weighting-stats/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ featuredimage: /learn/weighting-stats/05_src_with_pitch_and_conf.jpg
<script>
import Image from '$lib/components/Image.svelte';
import Audio from '$lib/components/Audio.svelte';
import Admonition from '$lib/components/Admonition.svelte';
</script>

The `weights` parameter of [BufStats](/reference/bufstats) can be passed a buffer, the values of which will be used for relative weighting of each corresponding frame in the `source` buffer. This will create "weighted" statistics where some values in the data have more impact on the resulting statistical summary than others. All seven of the resulting statistics of BufStats may be affected by using the weights.
Expand Down

0 comments on commit 4a8e9d4

Please sign in to comment.