Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Max Jackson
    @mxjxn
    if i can dig 'em up
    Neil Okamoto
    @gonewest818
    Test
    Minghao Liu
    @molikto
    mmm. is this supposed to be a hidden room? because I didn't see link to here from Githu
    b page
    NightMachinary
    @NightMachinary
    overtone.sc.machinery.ugen.sc_ugen.ControlProxy cannot be cast to java.lang.Number
    How do I use normal, Integer arguments in my Synths?
    (defsynth voices [n 8] (let [src (* 8 (dust (repeat n 2))) del (comb-l src 0.1 (repeatedly n #(+ (rand 0.004) 0.003)) 4)] (out 0 (splay del :spread 0.8))))
    dermusikman
    @dermusikman
    I don't have a working overtone installation right now. (New installation and haven't touched this in a bit.) The error message looks to me like your definition requires a Number (and I believe an Integer will do the trick), but you're providing a UGen. I sometimes find that control-rate (kr) UGens can be used where otherwise a Number is required, but that's inconsistent for me. I'd recommend trying to replace something (maybe (repeat)?) with an Integer to troubleshoot
    And I'm reminded that I need to get Clojure and Overtone working again. Otherwise, I don't think I'm speaking out of turn to say that most Overtone energy is now being spent on Sonic Pi - if you're just getting into things, maybe look there. One really isn't sacrificing anything to switch once one gets under the hood.
    dermusikman
    @dermusikman
    (* 8 (dust (repeat n 2))) that's it - (*) is expecting a Number and you've given it a UGen
    mmmmaybe
    (demo (* 8 (dust (repeat 8 2)))) does work, so I'm mistaken.
    (demo (let [src (* 8 (dust (repeat 8 2)))] (comb-l src 0.1 (repeatedly 8 #(+ (rand 0.004) 0.003)) 4))) also works (and sounds cool)
    dermusikman
    @dermusikman
    (defsynth myv [] (let [src (* 8 (dust (repeat 8 2))) del (comb-l src 0.1 (repeatedly 8 #(+ (rand 0.004) 0.003)) 4)] (out 0 del))) works
    dermusikman
    @dermusikman
    The documentation for (splay) indicates that the first argument should be the input channels, but you provided a UGen. I suspect it wanted a Number so that it could grab the input channels, rather than a synth. But, I'm not 100% sure.
    I think this accomplishes what your goal was:
    (defsynth myv2 [] (let [src (* 8 (dust (repeat 8 2))) del (comb-l src 0.1 (repeatedly 8 #(+ (rand 0.004) 0.003)) 4)] (splay (out 0 del) :spread 0.8)))
    The real difference being (splay (out 0 del)) instead of (splay del)
    Piotr Jagielski
    @pjagielski
    @dermusikman but I think the goal is to have number of voices (8) a param, not hard-coded in synthdef
    dermusikman
    @dermusikman
    You're right. I add the [n 8] and replace the 8s with n and then it fails with the same error :-( Given that it works hard-coded, I suspect it's less an Overtone issue than a Clojure syntax issue. (I only know enough Clojure to use Overtone, honestly.) Shoot.
    And I need to head to work and can't continue exploring this. If no one else finds a solution later on, I'll keep looking
    M. George Dan
    @dmitescu
    Hmm I'm curious why Overtone uses its own MIDI library instead of SC's MIDI controls. Could someone give a short explanation?
    Max Jackson
    @mxjxn
    Basically
    Oops haha. Basically it's that Overtone is an alternative for sclang.overtone communicates with scsynth server directly.
    Max Jackson
    @mxjxn
    It doesn't go thru sclang and doesn't use any of it's libraries
    Max Jackson
    @mxjxn
    @dmitescu ^
    Nicolas M.
    @penguwin
    Sup everyone, are there any recommended learning material for beginners besides the wiki? I'm also not very educated when it comes to music theory - is knowledge there also necessary to be productive with overtone?
    Chad Cassady
    @beatboxchad
    I wouldn't say so
    M. George Dan
    @dmitescu
    What happened to overtone? The project seems dead
    Crazy_Phage
    @lostpupil
    -.-
    M. George Dan
    @dmitescu
    My bad, seems that some pull requests are there and commits from months ago.
    M. George Dan
    @dmitescu
    Due to obvious general inability, I get "FAILURE IN SERVER /s_new Group 125 not found". I restarted scide, and reconnected in Overtone. The error still happens. Probably if I restart cider, the problem is going to go away. Any way I could mitigate this without a restart? I imagine there would be a function to reset that 125 group Overtone's vars
    M. George Dan
    @dmitescu
    Hm found (clear-all) I'll try that next time