zhangsu / seal Goto Github PK
View Code? Open in Web Editor NEWScorched End Audio Library: a C library (with Ruby binding) for 3D audio rendering.
Home Page: zhang.su/seal
License: Do What The F*ck You Want To Public License
Scorched End Audio Library: a C library (with Ruby binding) for 3D audio rendering.
Home Page: zhang.su/seal
License: Do What The F*ck You Want To Public License
Ruby binding needed for the `auto_update' flag on sources.
Add support for prelude - the ability for looping sources to reset to a position other than the beginning after they finish playing for the first time. In another word, a prelude only gets played once for a looping music until the source gets rewound.
Echo Effect is implemented in OpenAL Soft. Wrap it.
Need to somehow raise an error when calling seal functions before calling seal_startup().
Ring Modulator Effect is implemented in OpenAL Soft. Wrap it.
Hey @zhangsu,
Thanks for your great project, but I'd like to inform you that your gem is unable to be installed in Ubuntu 14.04 at the moment. Here's the error I got while building (as a gem):
Building native extensions. This could take a while...
ERROR: Error installing seal:
ERROR: Failed to build gem native extension.
/home/ekrem/.rbenv/versions/2.1.1/bin/ruby extconf.rb
Building libmpg123...
./configure: line 16689: artsc-config: command not found
/home/ekrem/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/seal-0.1.3/mpg123/build/missing: line 51: aclocal-1.12: command not found
WARNING: 'aclocal-1.12' is missing on your system. You should only need it if
you modified 'acinclude.m4' or 'configure.ac'. You might want
to install the Automake and Perl packages. Grab them from
any GNU archive site.
/home/ekrem/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/seal-0.1.3/mpg123/build/missing: line 51: automake-1.12: command not found
WARNING: 'automake-1.12' is missing on your system. You should only need it if
you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
You might want to install the Automake and Perl packages.
Grab them from any GNU archive site.
./configure: line 16689: artsc-config: command not found
equalizer.c: In function ‘load_equalizer’:
equalizer.c:28:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line,255,fe);
^
streamdump.c: In function ‘dump_read’:
streamdump.c:23:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(dump_fd, buf, ret);
^
wav.c: In function ‘open_file’:
wav.c:114:10: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
setuid(getuid()); /* dunno whether this helps. I'm not a security expert */
^
checking for mpg123_init() in -lmpg123... yes
checking for alcOpenDevice() in -lopenal... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/ekrem/.rbenv/versions/2.1.1/bin/ruby
--with-mpg123lib
--without-mpg123lib
--with-openallib
--without-openallib
extconf.rb:26:in `check_library': openal is missing. See README. (RuntimeError)
from extconf.rb:35:in `<main>'
extconf failed, exit code 1
I also need to inform you that there's no package of automake
with version 1.12
while 1.11
version exists in Ubuntu repos. There's no package named aclocal
of course.
Hope all fixed...
Implement and wrap the rest of the available OpenAL source functions, specifically the manipulations on AL_SEC_OFFSET, AL_SAMPLE_OFFSET, AL_BYTE_OFFSET, AL_MAX_DISTANCE, AL_ROLLOFF_FACTOR, AL_REFERENCE_DISTANCE,
AL_MAX_DISTANCE, AL_MIN_GAIN, AL_MAX_GAIN, AL_CONE_OUTER_GAIN, AL_CONE_INNER_ANGLE and AL_CONE_OUTER_ANGLE.
Add support for MIDI (low priority).
Some SEAL objects are cloneable, but some are not.
Integrate OpenAL effect extension (EFX) (high priority).
Filters are implemented in OpenAL Soft. Wrap it.
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.