Popularity
2.0
Declining
Activity
0.0
Stable
5
1
0
Programming language: Crystal
License: MIT License
Tags:
Low Level Bindings
soundfile alternatives and similar shards
Based on the "Low level bindings" category.
Alternatively, view soundfile alternatives based on common mentions on social networks and blogs.
Get performance insights in less than 4 minutes.
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promoted
scoutapm.com
Do you think we are missing an alternative of soundfile or a related project?
README
soundfile
Crystal extension for the libsndfile soundfile manipulation library
Installation
Add this to your application's shard.yml
:
dependencies:
soundfile:
github: mjago/soundfile
Usage
require "soundfile"
include SoundFile
Read and write files
SFile.open("read.wav", :read) do |sf_in|
ptr = Slice.new(sf_in.size, Int32.new(0))
sf.read_int(ptr, sf_in.size)
SFile.open("write.wav", :write, sf_in.info) do |sf_out|
sf_out.write_int(ptr, sf_in.size)
end
end
See specs and libsndfile for further usage
Dependencies
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/mjago/soundfile/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- mjago - creator, maintainer