Coder Social home page Coder Social logo

ruby-audio's Introduction

= 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

ruby-audio's People

Contributors

fugalh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ruby-audio's Issues

problem with installing

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 */

--------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.