[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] [Linux] sc3-plugins
Hi Josh!
Not only your plugins were missed in SConstruct file, a few others too;
just look into *.cpp files... some of them were omitted (mainly Dan's). I attach my
SConstruct which corrects that (IHS).
ak
PS. Of course change file name to SConstruct (without extension)
On Sun, Oct 21, 2007 at 11:12:50AM -0700, Joshua Parmenter wrote:
> Hi again Bjorn,
>
> Sorry - I just realized that the Ambisonic (and granular) ugens were
> separated out of the JoshUGens file (the file was HUGE and difficult to
> manage!). I just looked at the scons file that I told you to run, and
> noticed that they aren't listed there... open the SConstruct file, and
> add these two files to the 'plugs' array:
>
> 'JoshAmbiUGens',
> 'JoshGrainUGens',
> so it should look something like this:
> plugs = [
> 'AmbisonicUGens',
> 'BEQSuiteUGens',
> 'BlackrainUGens',
> 'JoshUGens',
> 'JoshAmbiUGens',
> 'JoshGrainUGens',
> 'ReverbUGens',
> 'MCLDBufferUGens',
> 'MCLDChaosUGens',
> 'MCLDTriggeredStatsUgens',
> 'LoopBuf',
> 'SymbolicMachines',
> 'TagSystemUgens',
> 'bhobChaos',
> 'BhobFilt',
> 'bhobGrain',
> 'BhobNoise'
> ]
> Build again, and you should have a JoshAmbiUGens.so file. Sorry I
> didn't spot this earlier (I don't have a Linux system right now to test
> these things on). Give that a try, and if it works, I'll update the
> scons file in svn.
> Best,
> Josh
> On Oct 21, 2007, at 11:01 AM, Bjrn Kessler wrote:
>
> I moved the thread, because I think, the topic has nothing to do
> with the server any more.
> I did run scons, and I have a file called JoshUGens.so
> ~/supercollider/sc3-plugins/Extensions/JoshUGens/ and the softlink
> is pointing to ~/supercollider/sc3-plugins/Extensions but still I
> get the same error.
> I was allways asking myself what sciss meant when he said, during a
> course, that installing plugins is a little more sophisticated. Now
> I think I know why. It feels a little like fighting mosquitos in the
> dark.
> I allready removed the whole foulder and installed it again and I
> also tried copying the Extensions foulder to
> /usr/local/share/Supercollider/Extensions or to
> ~/supercollider/build/plugins. It didn`t change. So if anybody has
> any suspections on this, Id be glad to hear about it. Would be great
> if we could get this thing runnin!
> Thanks again for your patience.
> Bjrn
> Joshua Parmenter <[1]josh@xxxxxxxxxxxxxxxxx> schrieb:
>
> did you compile the sc3-plugins package with scons? If so, you
> should have a plugins file called JoshUGens.so (though I am not sure
> where these would appear on Linux...). If you don't have that file,
> then the UGens wouldn't be installed, and you should run scons.
>
> Hope that helps.
>
> Josh
>
> On Oct 21, 2007, at 12:46 AM, Bjrn Kessler wrote:
>
> Thanks, this solves at least a part of the problem. But still I get
> this error:
> Synth("2017444050" : 1000)
> exception in GraphDef_Recv: UGen 'BFEncode1' not installed.
> *** ERROR: SynthDef 2017444050 not found
> FAILURE /s_new SynthDef not found
> what Im trying to run is the example of the BFEncode1 Help and I
> have installed the sc3-plugins.
> Stefan Nussbaumer <[2]stefanus@xxxxxxxxx> schrieb:
>
> Server.default = s = Server.internal.boot;
> The default server is localhost if you don't explicitly make
> internal
> your default (very likely ...)
> Bjrn Kessler schrieb:
> > Hi everybody,
> >
> > when I tried to run the example in the help of BFEncode1:
> >
> > s=Server.internal.boot;
> >
> > // You'll only hear the first two channels on a stereo setup.
> >
> > (
> >
> > {
> >
> > #w, x, y, z = BFEncode1.ar(WhiteNoise.ar,MouseX.kr(0, 2pi), 0,
> MouseY.kr(0.0, 1.0), 0.3);
> >
> > //decode for 4 channels
> >
> > DecodeB2.ar(4, w, x, y, 0.5);
> >
> > }.scope(4));
> >
> >
> > , I got the following errror:
> >
> > localhost server not running!
> >
> _______________________________________________
> sc-users mailing list
> [3]sc-users@xxxxxxxxxxxxxxx
> [4]http://www.create.ucsb.edu/mailman/listinfo/sc-users
> _______________________________________________________________
>
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen
> Sies mit dem [5]neuen Yahoo! Mail.
>
> _______________________________________________
>
> sc-users mailing list
>
> [6]sc-users@xxxxxxxxxxxxxxx
>
> [7]http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
> ******************************************
> /* Joshua D. Parmenter
> [8]http://www.realizedsound.net/josh/
> Every composer at all times and in all cases gives his own
> interpretation of how modern society is structured: whether actively or
> passively, consciously or unconsciously, he makes choices in this
> regard. He may be conservative or he may subject himself to continual
> renewal; or he may strive for a revolutionary, historical or social
> palingenesis." - Luigi Nono
> */
>
> _______________________________________________
> sc-users mailing list
> [9]sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
> _______________________________________________________________
>
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen
> Sies mit dem [10]neuen Yahoo! Mail.
>
> _______________________________________________
>
> sc-users mailing list
>
> [11]sc-users@xxxxxxxxxxxxxxx
>
> [12]http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
> ******************************************
>
> /* Joshua D. Parmenter
>
> [13]http://www.realizedsound.net/josh/
>
> Every composer at all times and in all cases gives his own
> interpretation of how modern society is structured: whether actively or
> passively, consciously or unconsciously, he makes choices in this
> regard. He may be conservative or he may subject himself to continual
> renewal; or he may strive for a revolutionary, historical or social
> palingenesis." - Luigi Nono
> */
>
> References
>
> 1. mailto:josh@xxxxxxxxxxxxxxxxx
> 2. mailto:stefanus@xxxxxxxxx
> 3. mailto:sc-users@xxxxxxxxxxxxxxx
> 4. http://www.create.ucsb.edu/mailman/listinfo/sc-users
> 5. http://de.rd.yahoo.com/evt=40593/*http://de.docs.yahoo.com/ymail/landing.html
> 6. mailto:sc-users@xxxxxxxxxxxxxxx
> 7. http://www.create.ucsb.edu/mailman/listinfo/sc-users
> 8. http://www.realizedsound.net/josh/
> 9. mailto:sc-users@xxxxxxxxxxxxxxx
> 10. http://de.rd.yahoo.com/evt=40591/*http://de.docs.yahoo.com/ymail/landing.html
> 11. mailto:sc-users@xxxxxxxxxxxxxxx
> 12. http://www.create.ucsb.edu/mailman/listinfo/sc-users
> 13. http://www.realizedsound.net/josh/
> _______________________________________________
> sc-users mailing list
> sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
# scons build script.
# blackrain at realizedsound dot net - 11 2006
#<<<<<<< .mine
# vim:ft=python:
#=======
# Additions by Andrzej Kopec - akopec at chopin dot edu dot pl - Oct 07 2007
# vim:ft=python:
#>>>>>>> .r152
# edit this to point to your SuperCollider3 source directory
sc3_source = '../'
# enable this to build the StkUGens
build_stkugens = False
stklib_path = '/path/to/libstk.a'
build_ay = True
ay_path = 'source/AY_libayemu/'
##############################################
# simple ugens
headers = sc3_source + 'Headers'
plugs = [
'AmbisonicUGens',
'BEQSuiteUGens',
'BlackrainUGens',
'JoshUGens',
'JoshAmbiUGens',
'JoshGrainUGens',
'ReverbUGens',
'MCLDBufferUGens',
'MCLDFilterUGens',
'MCLDGetenvUGen',
'MCLDChaosUGens',
'MCLDDistortionUGens',
'MCLDTriggeredStatsUgens',
'LoopBuf',
'MoogFFUGen',
'SymbolicMachines',
'TagSystemUgens',
'bhobChaos',
'BhobFilt',
'bhobGrain',
'BhobNoise'
]
for file in plugs :
Environment(
CPPPATH = [headers + '/common', headers + '/plugin_interface', headers + '/server'],
CPPDEFINES = ['SC_LINUX', '_REENTRANT', 'NDEBUG', ('SC_MEMORY_ALIGNMENT', 1)],
CCFLAGS = ['-Wno-unknown-pragmas'],
CXXFLAGS = ['-Wno-deprecated', '-O3'],
SHLIBPREFIX = '',
SHLIBSUFFIX = '.so'
).SharedLibrary(file, 'source/' + file + '.cpp')
##############################################
# StkUGens
if build_stkugens == True:
Environment(
CPPPATH = ['include', headers + '/common', headers + '/plugin_interface', headers + '/server', 'source/StkUGens/include'],
CPPDEFINES = ['SC_LINUX', '_REENTRANT', 'NDEBUG', ('SC_MEMORY_ALIGNMENT', 1)],
CCFLAGS = ['-Wno-unknown-pragmas'],
CXXFLAGS = ['-Wno-deprecated', '-O3'],
SHLIBPREFIX = '',
SHLIBSUFFIX = '.so'
).SharedLibrary('StkUGens', 'source/StkUGens/StkAll.cpp', LIBS='libstk.a', LIBPATH=stklib_path)
##############################################
# base FFT Envirnonment
FFT_Env = Environment(
CPPPATH = [headers + '/common', headers + '/plugin_interface', headers + '/server', sc3_source + '/Source/plugins'],
CPPDEFINES = ['SC_LINUX', '_REENTRANT', 'NDEBUG', ('SC_MEMORY_ALIGNMENT', 1)],
CCFLAGS = ['-Wno-unknown-pragmas'],
CXXFLAGS = ['-Wno-deprecated', '-O3'],
SHLIBPREFIX = '',
SHLIBSUFFIX = '.so'
)
##############################################
# JoshPVUGens
fft_src_base = [ sc3_source + '/Source/common/fftlib.c', sc3_source + '/Source/plugins/SCComplex.cpp', sc3_source + '/Source/plugins/Convolution.cpp', sc3_source + '/Source/plugins/FeatureDetection.cpp' ]
FFT_Env.SharedLibrary('JoshPVUGens', ['source/JoshPVUGens.cpp'] + fft_src_base)
##############################################
# MCLDFFTTriggeredUGens
FFT_Env.SharedLibrary('MCLDFFTTriggeredUGen.cpp', ['source/MCLDFFTTriggeredUGen.cpp', sc3_source + '/Source/plugins/SCComplex.cpp', sc3_source + '/Source/common/fftlib.c'])
##############################################
# MCLDFFTUGens
FFT_Env.SharedLibrary('MCLDFFTUGens', ['source/MCLDFFTUGens.cpp', sc3_source + '/Source/plugins/SCComplex.cpp'])
##############################################
# bhobfft
FFT_Env.SharedLibrary('bhobfft', ['source/bhobFFT.cpp', 'source/FFT2InterfaceBhob.cpp', sc3_source + '/Source/plugins/FeatureDetection.cpp', sc3_source + '/Source/common/fftlib.c', sc3_source + '/Source/plugins/PV_ThirdParty.cpp', sc3_source + '/Source/plugins/SCComplex.cpp' ])
##############################################
# AY
if build_ay == True:
Environment(
CPPPATH = ['include', ay_path + 'include' ],
CCFLAGS = ['-Wno-unknown-pragmas'],
CXXFLAGS = ['-Wno-deprecated', '-O3'],
).StaticLibrary(ay_path + 'AY', [ay_path + 'src/ay8912.c'])
Environment(
CPPPATH = ['include', headers + '/common', headers + '/plugin_interface', headers + '/server', ay_path + 'include'],
CPPDEFINES = ['SC_LINUX', '_REENTRANT', 'NDEBUG', ('SC_MEMORY_ALIGNMENT', 1)],
CCFLAGS = ['-Wno-unknown-pragmas'],
CXXFLAGS = ['-Wno-deprecated', '-O3'],
SHLIBPREFIX = '',
SHLIBSUFFIX = '.so'
).SharedLibrary('AY_UGen', 'source/AY_UGen.cpp', LIBS='AY.a', LIBPATH=ay_path)