|
3 | 3 | [](https://github.com/JuliaAudio/SampledSignals.jl/actions/workflows/Tests.yml) |
4 | 4 | [](http://codecov.io/github/JuliaAudio/SampledSignals.jl?branch=master) |
5 | 5 |
|
6 | | -**Dev Note: Currently the master branch of SampledSignals requires the master branch of LibSndFile for its tests.** |
7 | | - |
8 | 6 | SampledSignals is a collection of types intended to be used on multichannel sampled signals like audio or radio data, EEG signals, etc., to provide better interoperability between packages that read data from files or streams, DSP packages, and output and display packages. |
9 | 7 |
|
10 | 8 | SampledSignals provides several types to stream and store sampled data: `SampleBuf`, `SpectrumBuf`, `SampleSource`, `SampleSink` which make use of [IntervalSets](https://github.com/JuliaMath/IntervalSets.jl) that can be used to represent contiguous ranges using a convenient `a..b` syntax, this feature is copied mostly from the [AxisArrays](https://github.com/mbauman/AxisArrays.jl) package, which also inspired much of the implementation of this package. |
@@ -158,17 +156,3 @@ Currently for real-valued indices like time we are just rounding to the nearest |
158 | 156 | ### Relative vs. Absolute indexing |
159 | 157 |
|
160 | 158 | When we take a slice of a SampleBuf (e.g. take the span from 1s to 3s of a 10s audio buffer), what is the indexing domain of the result? Specifically, is it 1s-3s, or is it 0s-2s? For time-domain signals I can see wanting indexing relative to the beginning of the buffer, but in frequency-domain buffers it seems you usually want to keep the frequency information. Keeping track of the time information could also be useful if you split out a signal for processing and then want to re-combine things at the end. |
161 | | - |
162 | | -## AbstractTrees troubleshooting |
163 | | - |
164 | | -To run the SampledSignals tests you need Gumbo, but installing both Gumbo and Juno causes issues that prevent you from running the tests on 0.6. Here are the details: |
165 | | - |
166 | | -* AbstractTrees < v0.1.0 is not compatible with Julia v0.6 |
167 | | -* Gumbo 0.3.0 (latest) requires AbstractTrees >= v0.0.4 |
168 | | -* ASTInterpreter requires AbstractTrees between v0.0.4 and v0.1.0 |
169 | | - * this limitation isn't in the REQUIRE in the repo, but was added to METADATA |
170 | | -* ASTInterpreter is required by Atom and Gallium |
171 | | - |
172 | | -### Solution: |
173 | | - |
174 | | -Run `Pkg.checkout("ASTInterpreter")` and `Pkg.resolve()` until a new version is tagged. The ASTInterpreter tests don't pass, but it gets things working enough to get AbstractTrees back to 0.1.0 and the SampledSignals tests runnable. |
0 commit comments