These are chat archives for opal/opal

21st
May 2018
Jan Biedermann
@janbiedermann
May 21 2018 06:38

Follow instructions here, with a new rails app:
https://github.com/janbiedermann/opal-webpack-loader
To get:

  • superfast compiles - all of ruby-hyperloop compiled in less than 10s
  • superfast Hot Module Reloads - around 150ms for a small changed ruby file - developers heart is smiling
  • opal code as ES6 modules - :smile: - for webpack
  • a webpack based build process
    and that will give the opportunity to use other webpack features like:
  • tree shaking
  • code splitting
  • lazy loading

Though that is all very early software :smile:

doesnt depend on rails, hopefully works with sinatra and others too
Jose Añasco
@merongivian
May 21 2018 16:09
hey guys, just wanted to share a small project i've been working on: https://negasonic.herokuapp.com , its basically like sonic-pi but in the browser, the dsl will be different though (due to web audio api limitations). JS compilation is done trough Opal and most of the audio stuff is handled by Tone.js . This works mostly but its still a WIP. Theres some errors here and there (and probably some glitches) but you can have fun with it right now, let me know any feedback/comments
eiko
@eiko
May 21 2018 16:45
@merongivian this is awesome! i have a personal project that could definitely use some in-browser procedural audio, so i'd be happy to play with this and provide feedback ^-^
Jose Añasco
@merongivian
May 21 2018 16:48
@eiko thanks :) yea i created some additional libraries for this: https://github.com/merongivian/tone.rb and https://github.com/merongivian/negasonic.. will add readme's soon
Forrest Chang
@fkchang
May 21 2018 20:16
@merongivian very nice!
Jose Añasco
@merongivian
May 21 2018 21:22
@fkchang thanks :)