Skip to content

Commit

Permalink
tweak text
Browse files Browse the repository at this point in the history
  • Loading branch information
corajr committed Jun 23, 2021
1 parent 5db702c commit f52c5ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ compile("process = _;"; name="passthrough", argv=["-double", "-vec"])

Each call to `compute!` will calculate `block_size` samples and return the
output as a matrix of (block_size, n_channels). If the program takes input,
set `dsp.inputs` to a similar matrix before calling `compute!`:
set `dsp.inputs` to a (block_size, n_channels) matrix before calling `compute!`:

```julia
passthrough = init!(compile("process = _, _;"))
Expand Down Expand Up @@ -62,5 +62,5 @@ One can then set the values of these params like:
setparams!(dsp, Dict("/score/freq" => 220.0f0))
```

See [examples/portaudio.jl](examples/portaudio.jl) to see how the DSP can be
wrapped for audio IO.
See [examples/portaudio.jl](examples/portaudio.jl) to understand how the DSP can
be wrapped for audio IO.
3 changes: 1 addition & 2 deletions src/Faust.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ end
"""
compute!(d)
Computes `d.block_size` samples of signal and returns `d.outputs` (d.blocK_size, n_outputs).
Computes `d.block_size` samples of signal and returns `d.outputs` (d.block_size, n_outputs).
`d.inputs` should be assigned an incoming signals matrix of dims (d.block_size, n_inputs)
before calling this function.
Expand All @@ -107,7 +107,6 @@ julia> compute!(d)
-0.96961135
-0.9522513
```
"""
function compute!(d::DSPBlock{T}) where T <: FaustFloat
computeCDSPInstance(d.dsp, d.block_size, d.inputs, d.outputs)
Expand Down

2 comments on commit f52c5ad

@corajr
Copy link
Owner Author

@corajr corajr commented on f52c5ad Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/39515

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" f52c5ad841b327fd15f05f5920417707cb03917f
git push origin v0.1.0

Please sign in to comment.