Permalink
Browse files

version bump

  • Loading branch information...
1 parent 97556b4 commit 9525c436adcd9fd7e1f761dcb43d99139c6c81d0 Macario Ortega committed Mar 21, 2011
Showing with 65 additions and 15 deletions.
  1. +1 −0 .rspec
  2. +53 −0 Gemfile.lock
  3. +8 −10 README.rdoc
  4. +1 −0 scruby.gemspec
  5. +2 −5 spec/helper.rb
View
1 .rspec
@@ -0,0 +1 @@
+--color
View
@@ -0,0 +1,53 @@
+PATH
+ remote: .
+ specs:
+ scruby (0.2.7)
+ arguments (~> 0.6)
+ live (~> 0.1)
+ ruby-osc (~> 0.3)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ ParseTree (3.0.7)
+ RubyInline (>= 3.7.0)
+ sexp_processor (>= 3.0.0)
+ RubyInline (3.9.0)
+ ZenTest (~> 4.3)
+ ZenTest (4.5.0)
+ arguments (0.6)
+ ParseTree (>= 3.0.3)
+ ruby2ruby (= 1.1.9)
+ ruby_parser (>= 2.0.2)
+ diff-lcs (1.1.2)
+ eventmachine (0.12.10)
+ highline (1.6.1)
+ hoe (2.9.1)
+ rake (>= 0.8.7)
+ live (0.1.2)
+ highline
+ rake (0.8.7)
+ rspec (2.5.0)
+ rspec-core (~> 2.5.0)
+ rspec-expectations (~> 2.5.0)
+ rspec-mocks (~> 2.5.0)
+ rspec-core (2.5.1)
+ rspec-expectations (2.5.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.5.0)
+ ruby-osc (0.3.2)
+ eventmachine (>= 0.12.8)
+ ruby2ruby (1.1.9)
+ ParseTree
+ hoe (>= 1.5.3)
+ ruby_parser (2.0.6)
+ sexp_processor (~> 3.0)
+ sexp_processor (3.0.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler
+ rspec
+ scruby!
View
@@ -8,14 +8,18 @@ SynthDef creation and sending is robust but some features are not implemented su
livecode.rb executable is located in the bin directory and a TextMate bundle included in extras permits livecoding from TextMate, comunication is
thrugh *nix pipes. Similar functionality shouldn't be too dificult to implement from Emacs or Vim.
+== INSTALL
+
+ $ [sudo] gem install scruby
+
+
== USAGE
require 'scruby'
s = Server.new
s.boot
-
SynthDef.new :fm do |freq, amp, dur|
mod_env = EnvGen.kr Env.new( d(600, 200, 100), d(0.7,0.3) ), 1, :timeScale => dur
mod = SinOsc.ar freq * 1.4, :mul => mod_env
@@ -30,16 +34,10 @@ thrugh *nix pipes. Similar functionality shouldn't be too dificult to implement
To start a live coding session:
- $ livecode
-
-The gem includes a TextMate bundle for interacting with the live coding session, currently there is no cli installation but
-is located in the extras folder, if a file has .live.rb extension the bundle is loaded.
-
-Text can be sent from textmate to the live session pressing enter, either a selection or a bunch of code.
-
-Sending text from another editor or the shell:
+ $ live
+
+See http://github.com/maca/live
- $ echo '...some ruby code...' | tr '\n' '∂' > `ruby -e "require 'tempfile'; puts Dir.tmpdir"`/ruby_live.pipe
== TODO
View
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = "scruby"
s.add_development_dependency 'rspec'
+ s.add_development_dependency 'bundler'
s.add_dependency 'ruby-osc', '~> 0.3'
s.add_dependency 'arguments', '~> 0.6'
s.add_dependency 'live', '~> 0.1'
View
@@ -1,11 +1,8 @@
require "rubygems"
-require "spec"
+require "rspec"
require 'arguments'
require 'yaml'
-# require 'ruby-osc'
-# require 'osc-ruby'
-require "#{ File.dirname __FILE__ }/../../ruby-osc/lib/ruby-osc"
-
+require 'ruby-osc'
$:.unshift( File.dirname(__FILE__) + '/../lib' )

0 comments on commit 9525c43

Please sign in to comment.