Rampi
Rampi is a REPL for Rampcode, a bytecode interpreter for Puredata. Rampi allows you to extend rampcode's minimalistic language on-the-fly.
Dependencies
- Ruby 2.3+
- Bundler
Installation
Run the following to install Rampi
$ gem install rampi
Manual installation
- Make sure Bundler is installed:
gem install bundler
. - Clone this repository and run
bin/setup
to install any dependencies. - Run
bundle exec rake install
to install Rampi.
Editor integration
Vim
Add the following line on your ~/.vimrc
file:
autocmd BufWritePost *.rampi silent exec "!rampi -f <afile>"
autocmd BufNewFile,BufRead *.rampi set syntax=ruby
Usage
Start Puredata and load the rampcode patch. Then on a terminal run rampi
Use r
and c1
, c2
, etc. to set ramp velocity and code lines.
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run
rake test
to run the tests. You can also run bin/console
for an interactive
prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
To release a new version, update the version number in version.rb
, and then
run bundle exec rake release
, which will create a git tag for the version,
push git commits and tags, and push the .gem
file to
rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/munshkr/rampi.