Browse Source

Add remaining build rules.

Everything compiles now. But it doesn't run...
waf
Ben Niemann 3 years ago
parent
commit
ebef419649
  1. 23
      data/csound/wscript
  2. 83
      data/icons/wscript
  3. 43
      data/symbols/wscript
  4. 247
      noisicaa/audioproc/engine/wscript
  5. 82
      noisicaa/audioproc/public/wscript
  6. 29
      noisicaa/bindings/wscript
  7. 3
      noisicaa/builtin_nodes/beat_track/wscript
  8. 30
      noisicaa/builtin_nodes/control_track/wscript
  9. 17
      noisicaa/builtin_nodes/custom_csound/wscript
  10. 16
      noisicaa/builtin_nodes/cv_mapper/wscript
  11. 29
      noisicaa/builtin_nodes/instrument/wscript
  12. 17
      noisicaa/builtin_nodes/metronome/wscript
  13. 31
      noisicaa/builtin_nodes/midi_cc_to_cv/wscript
  14. 32
      noisicaa/builtin_nodes/midi_looper/wscript
  15. 17
      noisicaa/builtin_nodes/midi_monitor/wscript
  16. 31
      noisicaa/builtin_nodes/midi_source/wscript
  17. 16
      noisicaa/builtin_nodes/midi_velocity_mapper/wscript
  18. 16
      noisicaa/builtin_nodes/mixer/wscript
  19. 9
      noisicaa/builtin_nodes/noise/wscript
  20. 8
      noisicaa/builtin_nodes/oscillator/wscript
  21. 16
      noisicaa/builtin_nodes/oscilloscope/wscript
  22. 31
      noisicaa/builtin_nodes/pianoroll/wscript
  23. 30
      noisicaa/builtin_nodes/sample_track/wscript
  24. 6
      noisicaa/builtin_nodes/score_track/wscript
  25. 19
      noisicaa/builtin_nodes/step_sequencer/wscript
  26. 8
      noisicaa/builtin_nodes/vca/wscript
  27. 45
      noisicaa/core/wscript
  28. 35
      noisicaa/host_system/wscript
  29. 1
      noisicaa/instrument_db/private/wscript
  30. 52
      noisicaa/lv2/wscript
  31. 13
      noisicaa/music/wscript
  32. 14
      noisicaa/node_db/wscript
  33. 10
      noisidev/wscript
  34. 13
      testdata/ladspa/wscript
  35. 20
      testdata/lv2/test-options.lv2/wscript
  36. 20
      testdata/lv2/test-passthru.lv2/wscript
  37. 20
      testdata/lv2/test-state.lv2/wscript
  38. 32
      testdata/lv2/test-ui-gtk2.lv2/wscript
  39. 96
      waftools/cython.py
  40. 58
      waftools/faust.py
  41. 67
      waftools/plugins.py
  42. 26
      waftools/python.py
  43. 8
      waftools/static.py
  44. 42
      waftools/svg.py
  45. 129
      wscript

23
data/csound/wscript

@ -21,17 +21,12 @@
# @end:license
def build(ctx):
pass
# install_files(
# "data.csound"
# blip.csnd
# butterbp.csnd
# butterbr.csnd
# butterhp.csnd
# butterlp.csnd
# delay.csnd
# lfo-arate.csnd
# lfo-krate.csnd
# reverb.csnd
# )
ctx.static_file('blip.csnd')
ctx.static_file('butterbp.csnd')
ctx.static_file('butterbr.csnd')
ctx.static_file('butterhp.csnd')
ctx.static_file('butterlp.csnd')
ctx.static_file('delay.csnd')
ctx.static_file('lfo-arate.csnd')
ctx.static_file('lfo-krate.csnd')
ctx.static_file('reverb.csnd')

83
data/icons/wscript

@ -21,47 +21,42 @@
# @end:license
def build(ctx):
pass
# install_files(
# "data.icons"
# accidental-double-flat.svg
# accidental-double-sharp.svg
# accidental-flat.svg
# accidental-natural.svg
# accidental-sharp.svg
# duration-dot.svg
# duration-quintuplet.svg
# duration-triplet.svg
# edit-beats.svg
# edit-control-points.svg
# edit-samples.svg
# node-type-builtin.svg
# node-type-ladspa.svg
# node-type-lv2.svg
# note-16th.svg
# note-32th.svg
# note-8th.svg
# note-half.svg
# note-quarter.svg
# note-whole.svg
# pointer.svg
# rest-16th.svg
# rest-32th.svg
# rest-8th.svg
# rest-half.svg
# rest-quarter.svg
# rest-whole.svg
# settings_appearance.png
# settings_audio.png
# track-muted.svg
# track-not-muted.svg
# track-not-visible.svg
# track-type-beat.svg
# track-type-control.svg
# track-type-group.svg
# track-type-sample.svg
# track-type-score.svg
# track-visible.svg
# warning.svg
# )
ctx.static_file('accidental-double-flat.svg')
ctx.static_file('accidental-double-sharp.svg')
ctx.static_file('accidental-flat.svg')
ctx.static_file('accidental-natural.svg')
ctx.static_file('accidental-sharp.svg')
ctx.static_file('duration-dot.svg')
ctx.static_file('duration-quintuplet.svg')
ctx.static_file('duration-triplet.svg')
ctx.static_file('edit-beats.svg')
ctx.static_file('edit-control-points.svg')
ctx.static_file('edit-samples.svg')
ctx.static_file('node-type-builtin.svg')
ctx.static_file('node-type-ladspa.svg')
ctx.static_file('node-type-lv2.svg')
ctx.static_file('note-16th.svg')
ctx.static_file('note-32th.svg')
ctx.static_file('note-8th.svg')
ctx.static_file('note-half.svg')
ctx.static_file('note-quarter.svg')
ctx.static_file('note-whole.svg')
ctx.static_file('pointer.svg')
ctx.static_file('rest-16th.svg')
ctx.static_file('rest-32th.svg')
ctx.static_file('rest-8th.svg')
ctx.static_file('rest-half.svg')
ctx.static_file('rest-quarter.svg')
ctx.static_file('rest-whole.svg')
ctx.static_file('settings_appearance.png')
ctx.static_file('settings_audio.png')
ctx.static_file('track-muted.svg')
ctx.static_file('track-not-muted.svg')
ctx.static_file('track-not-visible.svg')
ctx.static_file('track-type-beat.svg')
ctx.static_file('track-type-control.svg')
ctx.static_file('track-type-group.svg')
ctx.static_file('track-type-sample.svg')
ctx.static_file('track-type-score.svg')
ctx.static_file('track-visible.svg')
ctx.static_file('warning.svg')

43
data/symbols/wscript

@ -21,27 +21,22 @@
# @end:license
def build(ctx):
pass
# install_svg(
# "data.symbols"
# accidental-double-flat.svg
# accidental-double-sharp.svg
# accidental-flat.svg
# accidental-natural.svg
# accidental-sharp.svg
# clef-c.svg
# clef-f.svg
# clef-g.svg
# duration-quintuplet.svg
# duration-triplet.svg
# note-flag-down.svg
# note-head-black.svg
# note-head-void.svg
# rest-16th.svg
# rest-32th.svg
# rest-8th.svg
# rest-half.svg
# rest-quarter.svg
# rest-whole.svg
# )
ctx.stripped_svg('accidental-double-flat.svg')
ctx.stripped_svg('accidental-double-sharp.svg')
ctx.stripped_svg('accidental-flat.svg')
ctx.stripped_svg('accidental-natural.svg')
ctx.stripped_svg('accidental-sharp.svg')
ctx.stripped_svg('clef-c.svg')
ctx.stripped_svg('clef-f.svg')
ctx.stripped_svg('clef-g.svg')
ctx.stripped_svg('duration-quintuplet.svg')
ctx.stripped_svg('duration-triplet.svg')
ctx.stripped_svg('note-flag-down.svg')
ctx.stripped_svg('note-head-black.svg')
ctx.stripped_svg('note-head-void.svg')
ctx.stripped_svg('rest-16th.svg')
ctx.stripped_svg('rest-32th.svg')
ctx.stripped_svg('rest-8th.svg')
ctx.stripped_svg('rest-half.svg')
ctx.stripped_svg('rest-quarter.svg')
ctx.stripped_svg('rest-whole.svg')

247
noisicaa/audioproc/engine/wscript

@ -22,172 +22,109 @@
def build(ctx):
ctx.py_module('__init__.py')
#ctx.py_module('backend.pyi')
ctx.cy_module('backend.pyx', use=['noisicaa-audioproc-engine'])
ctx.py_test('backend_test.py')
#ctx.py_module('block_context.pyi')
#ctx.py_module('buffers.pyi')
#ctx.py_module('buffer_arena.pyi')
ctx.py_test('engine_perftest.py')
ctx.cy_module('engine.pyx', use=['noisicaa-audioproc-engine'])
ctx.py_test('engine_test.py')
ctx.py_test('engine_perftest.py')
ctx.py_module('graph.py')
#ctx.py_module('message_queue.pyi')
#ctx.py_module('player.pyi')
#ctx.py_module('plugin_host.pyi')
ctx.py_module('plugin_host_process.py')
ctx.py_test('plugin_host_process_test.py')
ctx.py_test('plugin_host_test.py')
ctx.py_test('plugin_host_ladspa_test.py')
ctx.py_test('plugin_host_lv2_test.py')
#ctx.py_module('plugin_ui_host.pyi')
#ctx.py_module('processor.pyi')
ctx.py_proto('plugin_host.proto')
ctx.py_proto('processor_plugin.proto')
ctx.cy_module('spec.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_test('spec_test.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('buffer_arena.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('buffers.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_test('buffers_test.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('control_value.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('processor.pyx', use=['noisicaa-audioproc-engine'])
ctx.py_test('processor_test.py')
ctx.py_test('processor_csound_test.py')
ctx.py_test('processor_plugin_test.py')
ctx.py_test('processor_sound_file_test.py')
#ctx.py_module('profile.pyi')
#ctx.py_module('realm.pyi')
ctx.cy_module('block_context.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('message_queue.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('plugin_host.pyx', use=['noisicaa-audioproc-engine'])
ctx.py_test('plugin_host_test.py')
ctx.py_test('plugin_host_ladspa_test.py')
ctx.py_test('plugin_host_lv2_test.py')
ctx.cy_module('plugin_ui_host.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('realm.pyx', use=['noisicaa-audioproc-engine'])
ctx.py_test('realm_test.py')
#ctx.py_module('spec.pyi')
ctx.py_proto('plugin_host.proto')
ctx.py_proto('processor_plugin.proto')
# set(LIB_SRCS
# alsa_device_manager.cpp
# backend.cpp
# backend_null.cpp
# backend_portaudio.cpp
# backend_renderer.cpp
# block_context.cpp
# buffer_arena.cpp
# buffers.cpp
# control_value.cpp
# csound_util.cpp
# double_buffered_state_manager.cpp
# engine.cpp
# fluidsynth_util.cpp
# misc.cpp
# message_queue.cpp
# opcodes.cpp
# player.cpp
# plugin_host.pb.cc
# plugin_host.cpp
# plugin_host_lv2.cpp
# plugin_host_ladspa.cpp
# plugin_ui_host.cpp
# plugin_ui_host_lv2.cpp
# processor.cpp
# processor_null.cpp
# processor_faust.cpp
# processor_csound_base.cpp
# processor_csound.cpp
# processor_plugin.cpp
# processor_plugin.pb.cc
# processor_sound_file.cpp
# profile.cpp
# realtime.cpp
# spec.cpp
# realm.cpp
# )
# set(TEST_SRCS
# buffers_test.pyx
# opcodes_test.pyx
# player_test.pyx
# spec_test.pyx
# )
ctx.cy_module('player.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_test('player_test.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_module('profile.pyx', use=['noisicaa-audioproc-engine'])
ctx.cy_test('opcodes_test.pyx', use=['noisicaa-audioproc-engine'])
ctx.cpp_proto('plugin_host.proto')
ctx.cpp_proto('processor_plugin.proto')
# add_library(noisicaa-audioproc-engine SHARED ${LIB_SRCS})
# target_compile_options(noisicaa-audioproc-engine PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-core)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-lv2)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-node_db)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE pthread)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE rt)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE profiler)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE rtcheck)
# target_link_libraries(noisicaa-audioproc-engine PRIVATE noisicaa-builtin_nodes-processors)
# target_include_directories(noisicaa-audioproc-engine PUBLIC ${LIBLILV_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBLILV_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBCSOUND_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBCSOUND_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBFLUIDSYNTH_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBFLUIDSYNTH_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBSNDFILE_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBSNDFILE_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBAVUTIL_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBAVUTIL_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBSWRESAMPLE_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBSWRESAMPLE_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBPROTOBUF_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBPROTOBUF_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${LIBPORTAUDIO_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBPORTAUDIO_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PUBLIC ${LIBSUIL_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${LIBSUIL_LIBRARIES})
# target_include_directories(noisicaa-audioproc-engine PRIVATE ${GTK2_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-engine PRIVATE ${GTK2_LIBRARIES})
# add_cython_module(spec CXX)
# target_link_libraries(${spec.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(buffer_arena CXX)
# target_link_libraries(${buffer_arena.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(buffers CXX)
# target_link_libraries(${buffers.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(control_value CXX)
# target_link_libraries(${control_value.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(processor CXX)
# target_link_libraries(${processor.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(block_context CXX)
# target_link_libraries(${block_context.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(backend CXX)
# target_link_libraries(${backend.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(engine CXX)
# target_link_libraries(${engine.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(message_queue CXX)
# target_link_libraries(${message_queue.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(plugin_host CXX)
# target_link_libraries(${plugin_host.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(plugin_ui_host CXX)
# target_link_libraries(${plugin_ui_host.so} PRIVATE noisicaa-audioproc-engine)
# target_link_libraries(${plugin_ui_host.so} PRIVATE noisicaa-core)
# add_cython_module(realm CXX)
# target_link_libraries(${realm.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(player CXX)
# target_link_libraries(${player.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(profile CXX)
# target_link_libraries(${profile.so} PRIVATE noisicaa-audioproc-engine)
# foreach(TEST_SRC ${TEST_SRCS})
# string(REGEX REPLACE "\.pyx$" "" TEST_MOD ${TEST_SRC})
# add_cython_module(${TEST_MOD} CXX)
# target_link_libraries(${${TEST_MOD}.so} PRIVATE noisicaa-audioproc-engine)
# target_include_directories(${${TEST_MOD}.so} PRIVATE ${LIBLILV_INCLUDE_DIRS})
# target_link_libraries(${${TEST_MOD}.so} PRIVATE ${LIBLILV_LIBRARIES})
# endforeach(TEST_SRC)
# add_library(rtcheck SHARED rtcheck.c)
# add_custom_target(librtcheck_preload ALL DEPENDS librtcheck_preload.so)
# add_custom_command(
# OUTPUT librtcheck_preload.so
# COMMAND gcc -std=c11 -Wall -Werror -pedantic ${CMAKE_CURRENT_LIST_DIR}/rtcheck_preload.c -fPIC -shared -o librtcheck_preload.so -lc -ldl -L${CMAKE_CURRENT_BINARY_DIR} -lrtcheck
# DEPENDS ${CMAKE_CURRENT_LIST_DIR}/rtcheck_preload.c rtcheck
# )
ctx.shlib(
target='noisicaa-audioproc-engine',
source=[
'alsa_device_manager.cpp',
'backend.cpp',
'backend_null.cpp',
'backend_portaudio.cpp',
'backend_renderer.cpp',
'block_context.cpp',
'buffer_arena.cpp',
'buffers.cpp',
'control_value.cpp',
'csound_util.cpp',
'double_buffered_state_manager.cpp',
'engine.cpp',
'fluidsynth_util.cpp',
'misc.cpp',
'message_queue.cpp',
'opcodes.cpp',
'player.cpp',
'plugin_host.pb.cc',
'plugin_host.cpp',
'plugin_host_lv2.cpp',
'plugin_host_ladspa.cpp',
'plugin_ui_host.cpp',
'plugin_ui_host_lv2.cpp',
'processor.cpp',
'processor_null.cpp',
'processor_faust.cpp',
'processor_csound_base.cpp',
'processor_csound.cpp',
'processor_plugin.cpp',
'processor_plugin.pb.cc',
'processor_sound_file.cpp',
'profile.cpp',
'realtime.cpp',
'spec.cpp',
'realm.cpp',
],
use=[
'noisicaa-core',
'noisicaa-host_system',
'noisicaa-lv2',
'noisicaa-node_db',
'noisicaa-audioproc-public',
'LILV',
'CSOUND',
'FLUIDSYNTH',
'SNDFILE',
'AVUTIL',
'SWRESAMPLE',
'PROTOBUF',
'PORTAUDIO',
'SUIL',
'GTK2',
],
)
ctx.shlib(
target='rtcheck',
source='rtcheck.c',
)
ctx.shlib(
target='rtcheck_preload',
source='rtcheck_preload.c',
use='rtcheck',
)

82
noisicaa/audioproc/public/wscript

@ -22,9 +22,11 @@
def build(ctx):
ctx.py_module('__init__.py')
#ctx.py_module('time_mapper.pyi')
#ctx.py_module('musical_time.pyi')
#ctx.py_module('transfer_function.pyi')
ctx.cy_module('time_mapper.pyx', use=['noisicaa-audioproc-public'])
ctx.cy_test('time_mapper_test.pyx', use=['noisicaa-audioproc-public'])
ctx.cy_module('musical_time.pyx', use=['noisicaa-audioproc-public'])
ctx.cy_test('musical_time_test.pyx', use=['noisicaa-audioproc-public'])
ctx.cy_module('transfer_function.pyx', use=['noisicaa-audioproc-public'])
ctx.py_proto('backend_settings.proto')
ctx.py_proto('instrument_spec.proto')
@ -42,32 +44,6 @@ def build(ctx):
ctx.py_proto('midi_event.proto')
ctx.py_proto('transfer_function.proto')
# set(LIB_SRCS
# backend_settings.pb.cc
# control_value.pb.cc
# devices.pb.cc
# engine_notification.pb.cc
# host_parameters.pb.cc
# instrument_spec.pb.cc
# midi_event.pb.cc
# musical_time.cpp
# musical_time.pb.cc
# node_parameters.pb.cc
# node_port_properties.pb.cc
# player_state.pb.cc
# plugin_state.pb.cc
# processor_message.pb.cc
# project_properties.pb.cc
# time_mapper.cpp
# transfer_function.cpp
# transfer_function.pb.cc
# )
# set(TEST_SRCS
# musical_time_test.pyx
# time_mapper_test.pyx
# )
ctx.cpp_proto('backend_settings.proto')
ctx.cpp_proto('instrument_spec.proto')
ctx.cpp_proto('musical_time.proto')
@ -84,27 +60,27 @@ def build(ctx):
ctx.cpp_proto('midi_event.proto')
ctx.cpp_proto('transfer_function.proto')
# add_library(noisicaa-audioproc-public SHARED ${LIB_SRCS})
# target_compile_options(noisicaa-audioproc-public PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# set_source_files_properties(
# processor_message.pb.cc PROPERTIES COMPILE_FLAGS -Wno-misleading-indentation)
# target_link_libraries(noisicaa-audioproc-public PRIVATE noisicaa-core)
# target_include_directories(noisicaa-audioproc-public PRIVATE ${LIBPROTOBUF_INCLUDE_DIRS})
# target_link_libraries(noisicaa-audioproc-public PRIVATE ${LIBPROTOBUF_LIBRARIES})
# add_cython_module(musical_time CXX)
# target_link_libraries(${musical_time.so} PRIVATE noisicaa-audioproc-public)
# add_cython_module(time_mapper CXX)
# target_link_libraries(${time_mapper.so} PRIVATE noisicaa-audioproc-public)
# add_cython_module(transfer_function CXX)
# target_link_libraries(${transfer_function.so} PRIVATE noisicaa-audioproc-public)
# foreach(TEST_SRC ${TEST_SRCS})
# string(REGEX REPLACE "\.pyx$" "" TEST_MOD ${TEST_SRC})
# add_cython_module(${TEST_MOD} CXX)
# target_link_libraries(${${TEST_MOD}.so} PRIVATE noisicaa-audioproc-public)
# target_include_directories(${${TEST_MOD}.so} PRIVATE ${LIBLILV_INCLUDE_DIRS})
# target_link_libraries(${${TEST_MOD}.so} PRIVATE ${LIBLILV_LIBRARIES})
# endforeach(TEST_SRC)
ctx.shlib(
target='noisicaa-audioproc-public',
source=[
'backend_settings.pb.cc',
'control_value.pb.cc',
'devices.pb.cc',
'engine_notification.pb.cc',
'host_parameters.pb.cc',
'instrument_spec.pb.cc',
'midi_event.pb.cc',
'musical_time.cpp',
'musical_time.pb.cc',
'node_parameters.pb.cc',
'node_port_properties.pb.cc',
'player_state.pb.cc',
'plugin_state.pb.cc',
'processor_message.pb.cc',
'project_properties.pb.cc',
'time_mapper.cpp',
'transfer_function.cpp',
'transfer_function.pb.cc',
],
use=['NOISELIB', 'PROTOBUF', 'noisicaa-core'],
)

29
noisicaa/bindings/wscript

@ -22,28 +22,11 @@
def build(ctx):
ctx.py_module('__init__.py')
#ctx.py_module('ladspa.pyi')
#ctx.py_module('lilv.pyi')
#ctx.py_module('sndfile.pyi')
ctx.cy_module('ladspa.pyx')
ctx.cy_test('ladspa_test.pyx')
ctx.cy_module('lilv.pyx', use=['LILV'])
ctx.cy_test('lilv_test.pyx', use=['LILV'])
ctx.cy_module('sndfile.pyx', use=['SNDFILE'])
ctx.py_test('sndfile_test.py')
#ctx.py_module('sratom.pyi')
ctx.cy_module('sratom.pyx', use=['SRATOM'])
ctx.py_test('sratom_test.py')
# add_cython_module(ladspa CXX)
# add_cython_module(ladspa_test CXX)
# add_cython_module(lilv CXX)
# target_include_directories(${lilv.so} PRIVATE ${LIBLILV_INCLUDE_DIRS})
# target_link_libraries(${lilv.so} PRIVATE ${LIBLILV_LIBRARIES})
# add_cython_module(lilv_test CXX)
# target_include_directories(${lilv_test.so} PRIVATE ${LIBLILV_INCLUDE_DIRS})
# add_cython_module(sndfile CXX)
# target_include_directories(${sndfile.so} PRIVATE ${LIBSNDFILE_INCLUDE_DIRS})
# target_link_libraries(${sndfile.so} PRIVATE ${LIBSNDFILE_LIBRARIES})
# add_cython_module(sratom CXX)
# target_include_directories(${sratom.so} PRIVATE ${LIBSRATOM_INCLUDE_DIRS})
# target_link_libraries(${sratom.so} PRIVATE ${LIBSRATOM_LIBRARIES})

3
noisicaa/builtin_nodes/beat_track/wscript

@ -21,6 +21,8 @@
# @end:license
def build(ctx):
ctx.model_description('model.desc.pb')
ctx.py_module('__init__.py')
ctx.py_module('node_description.py')
ctx.py_module('model.py')
@ -28,5 +30,4 @@ def build(ctx):
ctx.py_module('node_ui.py')
ctx.py_module('track_ui.py')
ctx.py_test('track_ui_test.py')
ctx.model_description('model.desc.pb')
ctx.py_proto('model.proto')

30
noisicaa/builtin_nodes/control_track/wscript

@ -37,12 +37,26 @@ def build(ctx):
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-control_track-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-control_track-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-control_track-processor_messages',
source=[
'processor_messages.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
]
)
# add_library(noisicaa-builtin_nodes-control_track-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-control_track-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-control_track-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-control_track-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-control_track-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-control_track-processor PRIVATE noisicaa-builtin_nodes-instrument-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-control_track-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-control_track-processor_messages',
]
)

17
noisicaa/builtin_nodes/custom_csound/wscript

@ -35,8 +35,15 @@ def build(ctx):
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-custom_csound-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-custom_csound-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-custom_csound-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-custom_csound-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-custom_csound-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.shlib(
target='noisicaa-builtin_nodes-custom_csound-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

16
noisicaa/builtin_nodes/cv_mapper/wscript

@ -36,7 +36,15 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-cv_mapper-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-cv_mapper-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-cv_mapper-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-cv_mapper-processor PRIVATE noisicaa-host_system)
ctx.shlib(
target='noisicaa-builtin_nodes-cv_mapper-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

29
noisicaa/builtin_nodes/instrument/wscript

@ -35,11 +35,26 @@ def build(ctx):
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-instrument-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-instrument-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-instrument-processor_messages',
source=[
'processor_messages.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
]
)
# add_library(noisicaa-builtin_nodes-instrument-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-instrument-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-instrument-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-instrument-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-instrument-processor PRIVATE noisicaa-builtin_nodes-instrument-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-instrument-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-instrument-processor_messages',
]
)

17
noisicaa/builtin_nodes/metronome/wscript

@ -36,8 +36,15 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-metronome-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-metronome-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-metronome-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-metronome-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-metronome-processor PRIVATE noisicaa-builtin_nodes-instrument-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-metronome-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

31
noisicaa/builtin_nodes/midi_cc_to_cv/wscript

@ -39,12 +39,27 @@ def build(ctx):
ctx.cpp_proto('processor.proto')
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages',
source=[
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
],
)
# add_library(noisicaa-builtin_nodes-midi_cc_to_cv-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-midi_cc_to_cv-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-midi_cc_to_cv-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-midi_cc_to_cv-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-midi_cc_to_cv-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-midi_cc_to_cv-processor PRIVATE noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_looper-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
'noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages',
]
)

32
noisicaa/builtin_nodes/midi_looper/wscript

@ -36,12 +36,28 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-midi_looper-processor_messages SHARED processor.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-midi_looper-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_looper-processor_messages',
source=[
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
],
)
# add_library(noisicaa-builtin_nodes-midi_looper-processor SHARED processor.cpp model.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-midi_looper-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-midi_looper-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-midi_looper-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-midi_looper-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-midi_looper-processor PRIVATE noisicaa-builtin_nodes-midi_looper-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_looper-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
'noisicaa-builtin_nodes-midi_looper-processor_messages',
]
)

17
noisicaa/builtin_nodes/midi_monitor/wscript

@ -34,8 +34,15 @@ def build(ctx):
ctx.cpp_proto('model.proto')
# add_library(noisicaa-builtin_nodes-midi_monitor-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-midi_monitor-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-midi_monitor-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-midi_monitor-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-midi_monitor-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_monitor-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
]
)

31
noisicaa/builtin_nodes/midi_source/wscript

@ -35,12 +35,27 @@ def build(ctx):
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-midi_source-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-midi_source-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_source-processor_messages',
source=[
'processor_messages.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
],
)
# add_library(noisicaa-builtin_nodes-midi_source-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-midi_source-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-midi_source-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-midi_source-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-midi_source-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-midi_source-processor PRIVATE noisicaa-builtin_nodes-midi_source-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_source-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
'noisicaa-builtin_nodes-midi_source-processor_messages',
]
)

16
noisicaa/builtin_nodes/midi_velocity_mapper/wscript

@ -36,7 +36,15 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-midi_velocity_mapper-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-midi_velocity_mapper-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-midi_velocity_mapper-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-midi_velocity_mapper-processor PRIVATE noisicaa-host_system)
ctx.shlib(
target='noisicaa-builtin_nodes-midi_velocity_mapper-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

16
noisicaa/builtin_nodes/mixer/wscript

@ -26,8 +26,14 @@ def build(ctx):
ctx.py_module('node_ui.py')
ctx.py_test('processor_test.py')
# add_library(noisicaa-builtin_nodes-mixer-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-mixer-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-mixer-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-mixer-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-mixer-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.shlib(
target='noisicaa-builtin_nodes-mixer-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

9
noisicaa/builtin_nodes/noise/wscript

@ -25,11 +25,4 @@ def build(ctx):
ctx.py_module('node_description.py')
ctx.py_test('processor_test.py')
# faust_dsp(Noise processor.dsp)
# add_library(noisicaa-builtin_nodes-noise-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-noise-processor PRIVATE -fPIC -std=c++11 -Wall -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-noise-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-noise-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-noise-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.faust_dsp('Noise')

8
noisicaa/builtin_nodes/oscillator/wscript

@ -25,10 +25,4 @@ def build(ctx):
ctx.py_module('node_description.py')
ctx.py_test('processor_test.py')
# faust_dsp(Oscillator processor.dsp)
# add_library(noisicaa-builtin_nodes-oscillator-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-oscillator-processor PRIVATE -fPIC -std=c++11 -Wall -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-oscillator-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-oscillator-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-oscillator-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.faust_dsp('Oscillator')

16
noisicaa/builtin_nodes/oscilloscope/wscript

@ -36,7 +36,15 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-oscilloscope-processor SHARED processor.cpp processor.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-oscilloscope-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-oscilloscope-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-oscilloscope-processor PRIVATE noisicaa-host_system)
ctx.shlib(
target='noisicaa-builtin_nodes-oscilloscope-processor',
source=[
'processor.cpp',
'processor.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
]
)

31
noisicaa/builtin_nodes/pianoroll/wscript

@ -28,12 +28,27 @@ def build(ctx):
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-pianoroll-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-pianoroll-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-pianoroll-processor_messages',
source=[
'processor_messages.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
]
)
# add_library(noisicaa-builtin_nodes-pianoroll-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-pianoroll-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-pianoroll-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-pianoroll-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-pianoroll-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-pianoroll-processor PRIVATE noisicaa-builtin_nodes-instrument-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-pianoroll-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
'noisicaa-builtin_nodes-pianoroll-processor_messages',
]
)

30
noisicaa/builtin_nodes/sample_track/wscript

@ -38,12 +38,26 @@ def build(ctx):
ctx.cpp_proto('processor_messages.proto')
# add_library(noisicaa-builtin_nodes-sample_track-processor_messages SHARED processor_messages.pb.cc)
# target_link_libraries(noisicaa-builtin_nodes-sample_track-processor_messages PRIVATE noisicaa-audioproc-public)
ctx.shlib(
target='noisicaa-builtin_nodes-sample_track-processor_messages',
source=[
'processor_messages.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
]
)
# add_library(noisicaa-builtin_nodes-sample_track-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-sample_track-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-sample_track-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-sample_track-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-sample_track-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
# target_link_libraries(noisicaa-builtin_nodes-sample_track-processor PRIVATE noisicaa-builtin_nodes-instrument-processor_messages)
ctx.shlib(
target='noisicaa-builtin_nodes-sample_track-processor',
source=[
'processor.cpp',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
]
)

6
noisicaa/builtin_nodes/score_track/wscript

@ -21,6 +21,8 @@
# @end:license
def build(ctx):
ctx.model_description('model.desc.pb')
ctx.py_module('__init__.py')
ctx.py_module('node_description.py')
ctx.py_module('model.py')
@ -28,8 +30,4 @@ def build(ctx):
ctx.py_module('node_ui.py')
ctx.py_module('track_ui.py')
ctx.py_test('track_ui_test.py')
ctx.model_description('model.desc.pb')
ctx.py_proto('model.proto')
# add_dependencies(noisicaa.builtin_nodes.score_track.model.proto model-noisicaa.builtin_nodes.score_track)

19
noisicaa/builtin_nodes/step_sequencer/wscript

@ -36,8 +36,17 @@ def build(ctx):
ctx.cpp_proto('model.proto')
ctx.cpp_proto('processor.proto')
# add_library(noisicaa-builtin_nodes-step_sequencer-processor SHARED processor.cpp processor.pb.cc model.pb.cc)
# target_compile_options(noisicaa-builtin_nodes-step_sequencer-processor PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-step_sequencer-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-step_sequencer-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-step_sequencer-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.shlib(
target='noisicaa-builtin_nodes-step_sequencer-processor',
source=[
'processor.cpp',
'processor.pb.cc',
'model.pb.cc',
],
use=[
'NOISELIB',
'noisicaa-audioproc-public',
'noisicaa-host_system',
'noisicaa-builtin_nodes-processor_message_registry',
]
)

8
noisicaa/builtin_nodes/vca/wscript

@ -25,10 +25,4 @@ def build(ctx):
ctx.py_module('node_description.py')
ctx.py_test('processor_test.py')
# faust_dsp(VCA processor.dsp)
# add_library(noisicaa-builtin_nodes-vca-processor SHARED processor.cpp)
# target_compile_options(noisicaa-builtin_nodes-vca-processor PRIVATE -fPIC -std=c++11 -Wall -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-builtin_nodes-vca-processor PRIVATE noisicaa-audioproc-public)
# target_link_libraries(noisicaa-builtin_nodes-vca-processor PRIVATE noisicaa-host_system)
# target_link_libraries(noisicaa-builtin_nodes-vca-processor PRIVATE noisicaa-builtin_nodes-processor_message_registry)
ctx.faust_dsp('VCA')

45
noisicaa/core/wscript

@ -31,22 +31,22 @@ def build(ctx):
ctx.py_test('fileutil_test.py')
ctx.py_module('ipc.py')
ctx.py_test('ipc_test.py')
#ctx.py_module('logging.pyi')
ctx.py_test('perf_stats_test.py')
ctx.py_module('process_manager.py')
ctx.py_test('process_manager_test.py')
ctx.py_module('recordfile.py')
ctx.py_test('recordfile_test.py')
ctx.py_module('stacktrace.pyi')
ctx.py_test('stats_test.py')
ctx.py_module('storage.py')
ctx.py_test('storage_test.py')
ctx.py_module('threads.py')
ctx.py_test('threads_test.py')
ctx.py_module('typing_extra.py')
# add_cython_module(logging_test CXX)
# target_link_libraries(${logging_test.so} PRIVATE noisicaa-core)
ctx.cy_module('perf_stats.pyx', use=['noisicaa-core'])
ctx.cy_module('logging.pyx', use=['noisicaa-core'])
ctx.cy_test('logging_test.pyx', use=['noisicaa-core'])
ctx.cy_module('status.pyx', use=['noisicaa-core'])
ctx.cy_module('stacktrace.pyx', use=['noisicaa-core'])
ctx.py_proto('empty_message.proto')
ctx.py_proto('storage.proto')
@ -55,30 +55,17 @@ def build(ctx):
ctx.py_proto('ipc_test.proto')
ctx.py_proto('session_data.proto')
# set(LIB_SRCS
# logging.cpp
# perf_stats.cpp
# refcount.cpp
# status.cpp
# stacktrace.cpp
# )
# add_library(noisicaa-core SHARED ${LIB_SRCS})
# target_link_libraries(noisicaa-core PRIVATE pthread)
# target_include_directories(noisicaa-core PRIVATE ${LIBUNWIND_INCLUDE_DIRS})
# target_link_libraries(noisicaa-core PRIVATE ${LIBUNWIND_LIBRARIES})
# add_cython_module(perf_stats CXX)
# target_link_libraries(${perf_stats.so} PRIVATE noisicaa-core)
# add_cython_module(logging CXX)
# target_link_libraries(${logging.so} PRIVATE noisicaa-core)
# add_cython_module(status CXX)
# target_link_libraries(${status.so} PRIVATE noisicaa-core)
# add_cython_module(stacktrace CXX)
# target_link_libraries(${stacktrace.so} PRIVATE noisicaa-core)
ctx.shlib(
target='noisicaa-core',
source=[
'logging.cpp',
'perf_stats.cpp',
'refcount.cpp',
'status.cpp',
'stacktrace.cpp',
],
use=['NOISELIB', 'UNWIND'],
)
ctx.recurse('stats')

35
noisicaa/host_system/wscript

@ -22,28 +22,15 @@
def build(ctx):
ctx.py_module('__init__.py')
#ctx.py_module('host_system.pyi')
ctx.cy_module('host_system.pyx', use=['noisicaa-host_system'])
# set(LIB_SRCS
# host_system.cpp
# host_system_lv2.cpp
# host_system_csound.cpp
# host_system_audio_file.cpp
# )
# add_library(noisicaa-host_system SHARED ${LIB_SRCS})
# target_compile_options(noisicaa-host_system PRIVATE -fPIC -std=c++11 -Wall -Werror -pedantic -DHAVE_PTHREAD_SPIN_LOCK)
# target_link_libraries(noisicaa-host_system PRIVATE noisicaa-core)
# target_include_directories(noisicaa-host_system PUBLIC ${LIBLILV_INCLUDE_DIRS})
# target_link_libraries(noisicaa-host_system PRIVATE ${LIBLILV_LIBRARIES})
# target_include_directories(noisicaa-host_system PRIVATE ${LIBCSOUND_INCLUDE_DIRS})
# target_link_libraries(noisicaa-host_system PRIVATE ${LIBCSOUND_LIBRARIES})
# target_include_directories(noisicaa-host_system PRIVATE ${LIBSNDFILE_INCLUDE_DIRS})
# target_link_libraries(noisicaa-host_system PRIVATE ${LIBSNDFILE_LIBRARIES})
# target_include_directories(noisicaa-host_system PRIVATE ${LIBAVUTIL_INCLUDE_DIRS})
# target_link_libraries(noisicaa-host_system PRIVATE ${LIBAVUTIL_LIBRARIES})
# target_include_directories(noisicaa-host_system PRIVATE ${LIBSWRESAMPLE_INCLUDE_DIRS})
# target_link_libraries(noisicaa-host_system PRIVATE ${LIBSWRESAMPLE_LIBRARIES})
# add_cython_module(host_system CXX)
# target_link_libraries(${host_system.so} PRIVATE noisicaa-host_system)
ctx.shlib(
target='noisicaa-host_system',
source=[
'host_system.cpp',
'host_system_lv2.cpp',
'host_system_csound.cpp',
'host_system_audio_file.cpp',
],
use=['NOISELIB', 'LILV', 'CSOUND', 'SNDFILE', 'AVUTIL', 'SWRESAMPLE'],
)

1
noisicaa/instrument_db/private/wscript

@ -27,4 +27,3 @@ def build(ctx):
ctx.py_module('sample_scanner.py')
ctx.py_module('scanner.py')
ctx.py_module('soundfont_scanner.py')
# )

52
noisicaa/lv2/wscript

@ -27,39 +27,21 @@ def build(ctx):
ctx.py_test('urid_mapper_test.py')
ctx.py_module('urid_mapper_process.py')
ctx.py_test('urid_mapper_process_test.py')
ctx.py_proto('urid_mapper.proto')
# set(LIB_SRCS
# urid_mapper.cpp
# feature_manager.cpp
# )
# add_library(noisicaa-lv2 SHARED ${LIB_SRCS})
# target_link_libraries(noisicaa-lv2 PRIVATE noisicaa-core)
# target_link_libraries(noisicaa-lv2 PRIVATE noisicaa-host_system)
# add_cython_module(core CXX)
# target_link_libraries(${core.so} PRIVATE noisicaa-lv2)
# add_cython_module(urid CXX)
# target_link_libraries(${urid.so} PRIVATE noisicaa-lv2)
# add_cython_module(options CXX)
# target_link_libraries(${options.so} PRIVATE noisicaa-lv2)
# add_cython_module(bufsize CXX)
# target_link_libraries(${bufsize.so} PRIVATE noisicaa-lv2)
# add_cython_module(worker CXX)
# target_link_libraries(${worker.so} PRIVATE noisicaa-lv2)
# add_cython_module(atom CXX)
# target_link_libraries(${atom.so} PRIVATE noisicaa-lv2)
# add_cython_module(urid_mapper CXX)
# target_link_libraries(${urid_mapper.so} PRIVATE noisicaa-lv2)
# add_cython_module(feature_manager CXX)
# target_link_libraries(${feature_manager.so} PRIVATE noisicaa-lv2)
ctx.cy_module('core.pyx', use=['noisicaa-lv2'])
ctx.cy_module('urid.pyx', use=['noisicaa-lv2'])
ctx.cy_module('options.pyx', use=['noisicaa-lv2'])
ctx.cy_module('bufsize.pyx', use=['noisicaa-lv2'])
ctx.cy_module('worker.pyx', use=['noisicaa-lv2'])
ctx.cy_module('atom.pyx', use=['noisicaa-lv2'])
ctx.cy_module('urid_mapper.pyx', use=['noisicaa-lv2'])
ctx.cy_module('feature_manager.pyx', use=['noisicaa-lv2'])
ctx.shlib(
target='noisicaa-lv2',
source=[
'urid_mapper.cpp',
'feature_manager.cpp',
],
use=['NOISELIB', 'LILV'],
)

13
noisicaa/music/wscript

@ -21,6 +21,8 @@
# @end:license
def build(ctx):
ctx.model_description('model.desc.pb', template='noisicaa/music/model.py')
ctx.py_module('__init__.py')
ctx.py_module('base_track.py')
ctx.py_test('base_track_test.py')
@ -41,7 +43,7 @@ def build(ctx):
ctx.py_test('project_test.py')
ctx.py_module('render.py')
ctx.py_test('render_test.py')
#ctx.py_module('rms.pyi')
ctx.cy_module('rms.pyx')
ctx.py_module('samples.py')
ctx.py_module('session_value_store.py')
ctx.py_module('transfer_function.py')
@ -50,17 +52,10 @@ def build(ctx):
ctx.py_test('writer_client_test.py')
ctx.py_module('writer_process.py')
# add_cython_module(rms CXX)
ctx.model_description('model.desc.pb', template='noisicaa/music/model.py')
#ctx.py_proto('model.proto')
# add_dependencies(noisicaa.music.model.proto model-noisicaa.music)
ctx.py_proto('model.proto')
ctx.py_proto('project.proto')
# add_dependencies(noisicaa.music.project.proto noisicaa.music.model.proto)
ctx.py_proto('model_base.proto')
ctx.py_proto('model_base_test.proto')
ctx.py_proto('writer_process.proto')
ctx.py_proto('render.proto')
ctx.py_proto('mutations.proto')
# add_dependencies(noisicaa.music.mutations.proto noisicaa.music.model.proto)

14
noisicaa/node_db/wscript

@ -34,13 +34,13 @@ def build(ctx):
ctx.py_proto('node_description.proto')
ctx.cpp_proto('node_description.proto')
# set(LIB_SRCS
# node_description.pb.cc
# )
# add_library(noisicaa-node_db SHARED ${LIB_SRCS})
# target_include_directories(noisicaa-node_db PRIVATE ${LIBPROTOBUF_INCLUDE_DIRS})
# target_link_libraries(noisicaa-node_db PRIVATE ${LIBPROTOBUF_LIBRARIES})
ctx.shlib(
target='noisicaa-node_db',
source=[
'node_description.pb.cc',
],
use=['NOISELIB', 'PROTOBUF'],
)
ctx.recurse('private')

10
noisidev/wscript

@ -28,15 +28,9 @@ def build(ctx):
ctx.py_module('unittest.py')
ctx.py_module('unittest_mixins.py')
ctx.py_module('unittest_processor_mixins.py')
ctx.py_module('unittest_engine_mixins.pyi')
ctx.py_module('unittest_engine_utils.pyi')
ctx.py_module('uitest.py')
ctx.py_module('demo_project.py')
ctx.py_module('build_model.py')
ctx.py_proto('model_desc.proto')
# add_cython_module(unittest_engine_mixins CXX)
# target_link_libraries(${unittest_engine_mixins.so} PRIVATE noisicaa-audioproc-engine)
# add_cython_module(unittest_engine_utils CXX)
# target_link_libraries(${unittest_engine_utils.so} PRIVATE noisicaa-audioproc-engine)
ctx.cy_module('unittest_engine_mixins.pyx', use=['LILV'])
ctx.cy_module('unittest_engine_utils.pyx', use=['LILV'])

13
testdata/ladspa/wscript vendored

@ -21,10 +21,9 @@
# @end:license
def build(ctx):
pass
# add_library(testdata-ladspa-passthru-plugin MODULE passthru.c)
# set_target_properties(testdata-ladspa-passthru-plugin PROPERTIES PREFIX "" OUTPUT_NAME passthru)
# add_library(testdata-ladspa-passthru-crasher MODULE crasher.c)
# set_target_properties(testdata-ladspa-passthru-crasher PROPERTIES PREFIX "" OUTPUT_NAME crasher)
ctx.ladspa_plugin(
source='passthru.c',
)
ctx.ladspa_plugin(
source='crasher.c',
)

20
testdata/lv2/test-options.lv2/wscript vendored

@ -21,20 +21,6 @@
# @end:license
def build(ctx):
pass
# add_library(testdata-lv2-options-plugin MODULE options.c)
# set_target_properties(testdata-lv2-options-plugin PROPERTIES
# PREFIX ""
# OUTPUT_NAME options
# )
# static_file(manifest.ttl)
# static_file(options.ttl)
# add_custom_target(
# testdata-lv2-options-data ALL
# DEPENDS
# manifest.ttl
# options.ttl
# )
ctx.lv2_plugin(
source='options.c'
)

20
testdata/lv2/test-passthru.lv2/wscript vendored

@ -21,20 +21,6 @@
# @end:license
def build(ctx):
pass
# add_library(testdata-lv2-passthru-plugin MODULE passthru.c)
# set_target_properties(testdata-lv2-passthru-plugin PROPERTIES
# PREFIX ""
# OUTPUT_NAME passthru
# )
# static_file(manifest.ttl)
# static_file(passthru.ttl)
# add_custom_target(
# testdata-lv2-passthru-data ALL
# DEPENDS
# manifest.ttl
# passthru.ttl
# )
ctx.lv2_plugin(
source='passthru.c'
)

20
testdata/lv2/test-state.lv2/wscript vendored

@ -21,20 +21,6 @@
# @end:license
def build(ctx):
pass
# add_library(testdata-lv2-state-plugin MODULE state.c)
# set_target_properties(testdata-lv2-state-plugin PROPERTIES
# PREFIX ""
# OUTPUT_NAME state
# )
# static_file(manifest.ttl)
# static_file(state.ttl)
# add_custom_target(
# testdata-lv2-state-data ALL
# DEPENDS
# manifest.ttl
# state.ttl
# )
ctx.lv2_plugin(
source='state.c'
)

32
testdata/lv2/test-ui-gtk2.lv2/wscript vendored

@ -21,28 +21,10 @@
# @end:license
def build(ctx):
pass
# add_library(testdata-lv2-ui-gtk2-plugin MODULE ui-gtk2.c)
# set_target_properties(testdata-lv2-ui-gtk2-plugin PROPERTIES
# PREFIX ""
# OUTPUT_NAME ui-gtk2
# )
# add_library(testdata-lv2-ui-gtk2-ui MODULE ui-gtk2-ui.c)
# target_include_directories(testdata-lv2-ui-gtk2-ui PRIVATE ${GTK2_INCLUDE_DIRS})
# target_link_libraries(testdata-lv2-ui-gtk2-ui PRIVATE ${GTK2_LIBRARIES})
# set_target_properties(testdata-lv2-ui-gtk2-ui PROPERTIES
# PREFIX ""
# OUTPUT_NAME ui-gtk2-ui
# )
# static_file(manifest.ttl)
# static_file(ui-gtk2.ttl)
# add_custom_target(
# testdata-lv2-ui-gtk2-data ALL
# DEPENDS
# manifest.ttl
# ui-gtk2.ttl
# )
ctx.lv2_plugin(
source='ui-gtk2.c'
)
ctx.lv2_plugin_ui(
source='ui-gtk2-ui.c',
use='GTK2',
)

96
waftools/cython.py

@ -0,0 +1,96 @@
# -*- mode: python -*-
# @begin:license
#
# Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.de>
#