juliaio / flac.jl Goto Github PK
View Code? Open in Web Editor NEWJulia bindings for libFLAC
License: Other
Julia bindings for libFLAC
License: Other
Hi, I'm getting a SystemError
error when I try to open many flac files.
I've made some reproducible code:
using FileIO, FLAC, WAV
ftype = "flac"
N = 3000
fs = 16000
dir = mktempdir()
for i = 1:N
data = randn(160)
if ftype == "wav"
save(joinpath(dir,"$(i).$(ftype)"), data; Fs=fs)
elseif ftype == "flac"
save(joinpath(dir,"$(i).$(ftype)"), data, fs)
end
end
for i = 1:N
x,fs = load(joinpath(dir,"$(i).$(ftype)"))
end
run(`ls $dir`)
I've opened the bug here because it seems to be related to FLAC.jl
.
If you set ftype="wav"
no error is raised.
I'm using Julia 1.5 on a Mac and I get the same error in Linux Debian.
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.
(v1.0) pkg> add FLAC
Updating registry at `C:\Users\user\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FLAC [05003743]:
FLAC [05003743] log:
├─possible versions are: [0.1.0, 0.2.0, 0.2.2] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.1.0, 0.2.0, 0.2.2]
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
The tag name "0.2.3" is not of the appropriate SemVer form (vX.Y.Z).
cc: @dmbates
Once you're satisfied that this is useful for others, it'd be nice to cut a release so others can get this without having to explicitly Pkg.clone()
it.
Hey @dmbates, I'm trying to figure out how to use this package to decode .flac
files. It looks like the package might be somewhat incomplete, as the StreamDecoder
object exported from FLAC.jl
isn't defined?
I believe you just need to login to Travis and "turn on" this repository. Here are the docs, for reference.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.