[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] mdaPiano and non realtime rendering



hi,
these two are unrelated.  mdapiano should work even if you don’t have any ladspa plugins installed (it’s just a warning post you can ignore).

this works (on my osx 10.10.5 with sc3.7)...

(
SynthDef(\help_mdapiano, { |out=0, freq=440, gate=1|
    var son = MdaPiano.ar(freq, gate, release: 0.9, stereo: 0.3, sustain: 0);
    DetectSilence.ar(son, 0.01, doneAction:2);
    Out.ar(out, son * 0.1);
}).store;
)

(
var f, o;
g = [
	    [0.1, [\s_new, \help_mdapiano, 1000, 0, 0, \freq, 440]],
	    [0.2, [\s_new, \help_mdapiano, 1001, 0, 0, \freq, 660],
		        [\s_new, \help_mdapiano, 1002, 0, 0, \freq, 880]],
	    [0.3, [\s_new, \help_mdapiano, 1003, 0, 0, \freq, 220]],
	    [1, [\c_set, 0, 0]] // finish
    ];
o = ServerOptions.new.numOutputBusChannels = 1; // mono output
Score.recordNRT(g, "~/help-oscFile".standardizePath, "~/helpNRT.aiff".standardizePath, options: o); // synthesize
)

note that you need to change .add to .store for the SynthDef.
else you will get errors posted like…
*** ERROR: SynthDef help_mdapiano not found
FAILURE IN SERVER /s_new SynthDef not found

and the soundfile will be silent.  maybe that was your issue.

good luck,
_f

> 16 aug 2015 kl. 23:17 skrev nossekk <nossekk@xxxxxxxxxxxxx>:
> 
> Hello,
> 
> i use SC for non-realtime-rendering a lot and just tried to integrate the
> mdaPiano in my setup.
> 
> When trying to render the NRT-score (which is generated in another
> enviroment  btw....) the postwindow says: 
> Found 0 LADSPA plugins
> ...and the generated soundfile is empty.
> 
> LadspaUGen is part of the SC3plugins (as mdaPiano), at least a folder with
> this name is located at /Library/Application
> Support/Supercollider/Extensions/
> 
> The readme file inside this folder and other google hits exceed my horizon i
> must admit...
> 
> Any idea what i should do?
> 
> Thanks in advance! nossekk
> 
> 
> 
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/mdaPiano-and-non-realtime-rendering-tp7620155.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/


  #|
     fredrikolofsson.com     musicalfieldsforever.com
  |#


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/