BelaPlatform / supercollider

an environment and programming language for real time audio synthesis and algorithmic composition
GNU General Public License v3.0
14 stars 8 forks source link

Add BelaScope UGen #6

Closed sensestage closed 3 years ago

giuliomoro commented 8 years ago

@sensestage, if I got it right you suggested to add a method logChannel(float value, int channel), and a method frameCompleted() to the Bela Scope class. Each scopeChannel uGen would call Scope::logChannel() while a sort of "wrapping" ugen would then call frameCompleted().

I thought over this and I think that we could do this, instead:

Does it sound reasonable?

elgiano commented 3 years ago

Hello! I just started using Bela, and really miss this feature when writing SC code. I would be happy to go for an implementation, here is how I would plan it, based on the discussion above. Please let me know what you think, it would be great to have some feedback before I start working on it

Requirements:

Implementation:

BelaScopeUGen:

BelaScope (sclang): init(server, maxChannels):

scope(channel, data): helper class method to be used in SynthDefs, returns Out.ar(belaScopeBus+channel, data)

giuliomoro commented 3 years ago

Closed with a slightly different approach in 2fc8ce657613a24b5cecc5abe1776b5377af4bc6 a04483c9de5848657f361e858bf6261b02a0813d#75