fugalh / ruby-audio Goto Github PK
View Code? Open in Web Editor NEWAudio library for Ruby
Home Page: http://hans.fugal.net/src/ruby-audio
License: GNU General Public License v2.0
Audio library for Ruby
Home Page: http://hans.fugal.net/src/ruby-audio
License: GNU General Public License v2.0
= ruby/audio This module and its classes are provided for the purpose of aiding in the manipulation of audio data. The core is the Audio::Sound class, which is a subclass of NArray. Also provided is the Audio::Soundfile class, which is a wrapper around the wonderful libsndfile. == About This Release This is the a bugfix release of the initial release of ruby/audio. The API can be considered relatively stable, barring the discovery of fundamental design flaws. More methods may be added, but backwards compatibility will be strived for. However, if you rely on the existing API and would like to ensure compatibility, drop me a line. If I know people are using it, I will be more careful not to break things. *Please* send me feedback if you find a bug, find the API awkward, or just like/hate it. Next on my list is to wrap libsamplerate, adapt ladspar[http://rubyforge.org/projects/ladspar] to use Audio::Sound, and perhaps wrap portaudio. == Installation === Download http://github.com/fugalh/ruby-audio === Prerequisites - NArray[http://www.ir.isas.ac.jp/~masa/ruby/index-e.html] - libsndfile[http://www.mega-nerd.com/libsndfile/] - SWIG[http://www.swig.org/] - Rake[http://rake.rubyforge.org/] === Building rake === Installing rake install == License Copyright (C) 2005 Hans Fugal This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Hello,
It'd be nice if you add ruby-audio to http://rdoc.info to easily access the documentation.
Thanks.
my install log looks like :
find_library: checking for sf_open() in -lsndfile... -------------------- yes "/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I/Users/jonahfox/src/ruby-audio/ext/sndfile -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -I/opt/local/include -I/usr/local/include conftest.c -L. -L/opt/local/lib -L/opt/local/lib -L/usr/local/lib -arch i386 -lruby-static -lsndfile -lpthread -ldl -lobjc " conftest.c: In function ‘t’: conftest.c:3: error: ‘sf_open’ undeclared (first use in this function) conftest.c:3: error: (Each undeclared identifier is reported only once conftest.c:3: error: for each function it appears in.) checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { void ((*volatile p)()); p = (void ((*)()))sf_open; return 0; } /* end */ "/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I/Users/jonahfox/src/ruby-audio/ext/sndfile -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -I/opt/local/include -I/usr/local/include conftest.c -L. -L/opt/local/lib -L/opt/local/lib -L/usr/local/lib -arch i386 -lruby-static -lsndfile -lpthread -ldl -lobjc " checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { sf_open(); return 0; } /* end */ -------------------- have_header: checking for narray.h... -------------------- no "/usr/bin/gcc-4.0 -E -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I/Users/jonahfox/src/ruby-audio/ext/sndfile -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin9 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -I/opt/local/include -I/usr/local/include conftest.c -o conftest.i" conftest.c:1:20: error: narray.h: No such file or directory checked program was: /* begin */ 1: #include /* end */ --------------------
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.