This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-26
Channels
- # admin-announcements (1)
- # alda (44)
- # aws-lambda (6)
- # beginners (8)
- # boot (187)
- # capetown (5)
- # cider (25)
- # cljs-dev (24)
- # cljsrn (93)
- # clojure (45)
- # clojure-austin (9)
- # clojure-canada (2)
- # clojure-greece (1)
- # clojure-mexico (3)
- # clojure-poland (3)
- # clojure-russia (1)
- # clojure-spec (12)
- # clojure-uk (13)
- # clojurescript (86)
- # cursive (9)
- # datascript (3)
- # datomic (32)
- # defnpodcast (4)
- # devcards (23)
- # editors (3)
- # emacs (5)
- # hoplon (27)
- # immutant (3)
- # lein-figwheel (9)
- # leiningen (4)
- # luminus (10)
- # om (32)
- # onyx (2)
- # other-languages (1)
- # perun (1)
- # protorepl (8)
- # re-frame (13)
- # reagent (2)
- # remote-jobs (2)
- # ring (3)
- # spacemacs (4)
- # spirituality-ethics (3)
- # test-check (16)
- # untangled (65)
- # yada (50)
help wanted with this issue! https://github.com/alda-lang/alda/issues/243 could be fun, if you have experience with (or just like playing with) using core.async to schedule events and/or inter-process communication
sorry about my english(still working on it), yes too much going on alda JVM, but JVM do not wait to end and stops before one?
because it takes a long time for the JVM + clojure runtime to start, alda is set up to run in the background as a server
and each score has a separate "audio context," including its own JVM MIDI Synthesizer instance, etc.
i think this issue with sound breaking up might be related to the single JVM being overloaded
i'm curious if it would help for the alda server to just be a server, and delegate playing audio to separate processes
by "just a server," i mean it would just run the HTTP server that the alda command-line client interacts with
(2 hours later)I get it now. And I realize you said same thing before "a single alda server should be able to handle..."
when i started 2 different command line program at the same time(i start second process before first finished), second process waiting for first one, when first one finish, second starts, after several time, it breaks somehow
@etaylan: they were probably both trying to start on the same port (the default port is 27713)
i'd be curious to know if the sound breaks when playing scores on several different servers at the same time
Actually I've seen this issue before but I was playing on Sublime Text and I didn't mention this is a bug or something important. If I play more, sometimes sound mysteriously slows down and I cannot change with tempo. I write here before, and it play correctly when I play command in REPL
i think overall, alda suffers from a handful of issues where memory isn't used in the most efficient way
i think if we implement the things i mentioned in the github issue, hopefully that should help
Memory issue is different this problem? Because anytime I play a sound, my JVM memory usage increasing all time, but not decrease, I have to close JVM by my hand to release that memory, I hope it helps
dave: I have another question. I want to make a web site to play commands on a web site, I know we do not have a output file but is this possible?
@etaylan: not currently. i've been wanting something like that for a while now, but haven't had the time to work on it
the good news is that it won't take much effort -- clojure code is portable to something called clojurescript, which produces javascript
there is a proof of concept here https://github.com/alda-lang/web-demo -- it's very limited though, and the version of alda is from 10-11 months ago