Skip to content

Commit 1663c52

Browse files
James Bradburyweefuzzytremblaptmhglndjamesb93
authored
[Release] 1.0.0-beta5 (flucoma#138)
* copy the misc folder in installation target * Add relative path file writing for data objects In principle consistent with other Max objects (which aren't wholly consistent in edge cases) * reset points if dict is successfully parsed * crediting (flucoma#78) crediting the new team * update kdtree help file * add fluid.stats~ and change category to statistical analysis * move stft and add fluid.grid~ * grid out help file real estate * adds fluid.plotter to the autocomplete objectlist * adds fluid.waveform~ to objectlist * first tab beautified * reorder latency message * getlatency after changing preset * Transients Help File (flucoma#82) * grid out help file * update transients~ help file * ci/automatic building (flucoma#29) * incorporate Ted's changes and recommendations Revert "fix pre/post cmake" This reverts commit 7d04ffb. Create does-it-build.yml does it build? consume SDK curl the 8.0.3 SDK add a ls stage for sanity remove cmake flags for OSX architectures move list cmd add working directories for steps that urn in build use macos as runner use ninja for build process add specific name for build will write a text file named foo to the home directory see if we can headless max patchers also build on the ci branch Buf2List: tidy up and add a 'buffer' message for immediate processing Revert "fat binaries" This reverts commit 35ef645. Revert "build script" This reverts commit 1ee3f5a. # Conflicts: # create.sh Initialize dumpDictionary pointer in MaxWrapper explicitly, as this is assumed in destructor removed dangling script naming to buf2list corrected buf2list use in mlpclass corrected interface of mds to make it more interactive updated buf2list2buf helpfiles with doc dial back automatic patch testing in workflow * Adjust cmake to handle changes to Max SDK from 8.2 onwards (flucoma#32) * Adjust cmake to handle changes to Max SDK from 8.2 onwards * correct typo * Update macos-build-test.yml use the latest sdk from github * you actually have to git clone... * only build ampslice for now * test releasing * make names + commits * give a proper asset name * use ref for tag * Update macos-build-test.yml * spell prerelease properly * change convention for naming n stuff * Update macos-build-test.yml * add windows-build script * quotes around path for windows * test a composite workflow * update composite * make a nightly action * now check to see if we can build and see an external * update infrastructure * check with cached outputs too * pre check in the right place * dont check a non-existant file * remove nightly cache workflow * build and combine * remove bad line * do some sanity checks for cleaning * inspect what is going on * cleanup ls -R and change to latest macos * see if we can copy the entire externals folder * check * now build fat and see * remove mistake space * get uname * get clang version * get system info * try some silicon black magic * use custom core * use https * check if core is there * core is only one folder up * make a release again * make externals early * 🩴 :burger: * pass DCMAKE_APPLE flag * full install of max * make release builds on windows * remove pdbs from release-packaging * dont remove pdb files * fix paths because they have spaces 👿 * try and deal with the hell that is windows * now release it! * try again * only build on dev and ci branches * now with DDOCS=ON * ddocs off * provide a more detailed tag for nightly builds * also make docs * use blas compilation branch (temporarily) * fix malformed paths * missing -D * take max_ref and merge with final compile * delete nightly before remaking it * delete extraneous experimental patch Co-authored-by: James Bradbury <jamesbradbury93@gmail.com> Co-authored-by: weefuzzy <gungwho@gmail.com> * dont use BLAS branch (fixed in pr#67) * remove dangling line * use dev branch of flucoma core for ci * cleanup english and patching on tab 2 * deferlow on file load (was failing before) * update cosmetics * point to /reference/sines in the learn platform not ampslice * add learn and flucoma.org links * apply 10x10 grid * cancel previous runs if a new push is made * Only need 1 outlet * update outlet assistance * update outlet 1 assist * change tag name of nightly to be versionless * Remove per-PR merge checks * update bufselect * add links to top of file * initial cleanup * patcher for linking to learn articles more easily * changes to chroma help file * remove spaces from installation path name (flucoma#90) * fix references to spaced package name in CI * sorted the package-info with a few fun anachronicisms * missed a space in macbuild target * only do a release on dev branch * only do a release on dev branch * trigger build on PR * remove per PR building * remove release checking * add a deferlow to fluid.learn * provide a small musical example on first tab * add chroma frequency calculation * replace list.change with zl.change * human unit test maxpat * make a soundful demonstration on each tab * fix incorrect refrences to previous help files * update positioning of online reference/flucoma link * Fix fluid.learn abstraction not displaying properly (flucoma#101) * initial cleanup * changes to chroma help file * add a deferlow to fluid.learn * provide a small musical example on first tab * add chroma frequency calculation * replace list.change with zl.change * make a soundful demonstration on each tab * fix incorrect refrences to previous help files * update positioning of online reference/flucoma link * update fluid.learn patch to render more reliably * Load media files from package abstraction (flucoma#102) * a preliminary go at the bufloader * tighten regex and implement auto loading * add second tab for curating statistics with bufselect * add cosmetic upgrades to second tab and neaten first tab * fix loading woes with fluid.learn * more cosmetic upgrades to patch * cosmetic upgrades to chroma * [Review Changes] BufChroma Help File (flucoma#98) * update fluid.bufchroma~ help file * Fix fluid.learn abstraction not displaying properly (flucoma#101) * initial cleanup * changes to chroma help file * add a deferlow to fluid.learn * provide a small musical example on first tab * add chroma frequency calculation * replace list.change with zl.change * make a soundful demonstration on each tab * fix incorrect refrences to previous help files * update positioning of online reference/flucoma link * update fluid.learn patch to render more reliably * Load media files from package abstraction (flucoma#102) * a preliminary go at the bufloader * tighten regex and implement auto loading * stripping back of first tab * an interactive playback mechanism with chroma data * chroma lookup * add more detail tab * polish patch * layout fixes for help patch * [Review Changes] KDTree Help File (flucoma#92) * more cleanup on fluid.kdtree * separate tabs * add analysis data * cleanup tab 1 * add presliced corpus points * add a tab simplifying the explanation * cosmetic upgrades * add numbered instructions * [CI] Refactor and use composite actions (flucoma#106) * use flucoma actions * use composite actions to build windows * remove duplicate env setu * use maxdocs composite action * do CI on every ci located branch * Re-enable building docs as part of ALL * [CI] Fat Binaries (flucoma#107) * do CI on every ci located branch * bump to v3 * [CI] Actions@v4 (flucoma#108) * do CI on every ci located branch * use v4 of actions * update docs * Re-enable building docs as part of ALL * [CI] Fat Binaries (flucoma#107) * do CI on every ci located branch * bump to v3 * [CI] Actions@v4 (flucoma#108) * do CI on every ci located branch * use v4 of actions * update docs * indentation * remove duplicate * typo * [CI] Fix Documentation Build (flucoma#115) * fix ci docs component * make release all the time * use ubuntu latest for building docs * [Enhance] Update fluid.waveform~ (flucoma#116) * update to translational api layer * use new api in help file * buf -> buffer * alias indicesbuffer to addmarkers * update help to reflect internal api * singular for methods * update waveform help * fix pluarlisation of methods and arguments * update help file for fluid.waveform * various cosmetic upgrades (flucoma#103) * BufNNDSVD Help File (flucoma#88) * update bufnndsvd~ helpfile * add playback to the help file * [Docs] Fix Layout issues in BufChroma help (flucoma#117) * fixes layout issues of bufchroma * fix bufcompose load issue * Update fluid.sines~.maxhelp * update dataset help file (flucoma#120) * labelset cosmetics * remove frombuffer tab * [Docs] Blocking Help Tab (flucoma#121) * add back blocking attribute * add attribute blocking to bufnndsvd * add tab to bufstft * add tab to bufselect * change release action * [Docs] BufLoudness Help (flucoma#122) * griddify help file * remove js starter * experiment with waveform-based interface * first tab done (possibly) * finish multichannel tab * PAs changes * [Docs] Loudness Help File (flucoma#118) * shell out loudness second tab * cosmetic updates to second tab * update second tab * PA suggestions * typo * more typos * [Docs] Audiotransport Help File (flucoma#105) * work on audiotransport help file * add fluid.learn abstraction * cosmetic updates * [Enhance] Retrieve toy DataSets (flucoma#126) * pull datasets from the location specificed in PR 88 of core * pull datasets to misc * also add an abstraction for loading datasets * update help file with new asset names * add misc to ignore * copy from Data instead of DataSets * copy resources on cmake configure * moved patchers from misc to patchers * delete the files tracked by mistake * update bufchroma to have an adaptive number of chroma (flucoma#129) * AmpSlice Help File (flucoma#81) * griddify help file * in progress work for explaining thresholds and curves * update bpatchers for providing linkage to sites * update ampslice to be more friendly and clear * add margin to link helper bpatchers (so they display correctly on load) * update help file to accomodate bpatcher changes * make text box way longer than it needs to be. * update cosmetics * update with review advice * update learn subpatchers * shuffle cosmetics * update bufaudiotransport names (flucoma#131) * Update nightly.yaml Add workflow dispatch for manual launch * correct docs path variable in CMake * [Docs] Grid Help File (flucoma#110) * add datasets that can be reused for examples * update to fluid.grid helpfile * try and make learn load in the right order... * update aesthetics and separation of tabs * cosmetic upgrades * Revert "add datasets that can be reused for examples" This reverts commit 20f58a3e972867a7947ae6946d1862be67afd2f6. * update dataloader abstraction * fix layout with new dataset loader * Max buffer references weren't being freed safely (ASan) (flucoma#132) * update quickstart * [Fix] fluid.plotter~ clear label data (flucoma#135) * fix single quotes * remove old var * clear all of the data that we need to clear * re-order precedence of colouring (flucoma#136) Co-authored-by: weefuzzy <gungwho@gmail.com> Co-authored-by: tremblap <info@pierrealexandretremblay.com> Co-authored-by: Timo Hoogland <timohoogland@gmail.com> Co-authored-by: James Bradbury <jamesbradbury93@gmail.com> Co-authored-by: Ted Moore <ted@tedmooremusic.com>
1 parent adc71b0 commit 1663c52

39 files changed

Lines changed: 20646 additions & 16006 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tmp
1515
**/package-info.json
1616
media
1717
docs
18+
misc
1819
interfaces/max.db.json
1920
interfaces/flucoma-obj-qlookup.json
2021
/.vs

CMakeLists.txt

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ FetchContent_GetProperties(flucoma-core)
6868
if(NOT flucoma-core_POPULATED)
6969
FetchContent_Populate(flucoma-core)
7070
add_subdirectory(${flucoma-core_SOURCE_DIR} ${flucoma-core_BINARY_DIR})
71+
file(GLOB FLUCOMA_CORE_RESOURCES ${flucoma-core_SOURCE_DIR}/Resources/Data/*.*)
72+
file(COPY ${FLUCOMA_CORE_RESOURCES} DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/misc)
7173
include(flucoma_version)
7274
include(flucoma-buildtools)
7375
include(flucoma-buildtype)
@@ -78,6 +80,9 @@ set_if_toplevel(VAR CMAKE_LIBRARY_OUTPUT_DIRECTORY
7880
SUPERBUILD "${CMAKE_SOURCE_DIR}/max_externals")
7981

8082
if(DOCS)
83+
84+
set(MAX_DOC_OUT "${CMAKE_SOURCE_DIR}/docs" CACHE PATH "")
85+
8186
if(FLUID_DOCS_PATH)
8287
get_filename_component(
8388
FETCHCONTENT_SOURCE_DIR_FLUCOMA-DOCS ${FLUID_DOCS_PATH} ABSOLUTE
@@ -92,13 +97,9 @@ if(DOCS)
9297
add_subdirectory(${flucoma-docs_SOURCE_DIR} ${flucoma-docs_BINARY_DIR})
9398
endif()
9499

95-
set(MAX_DOC_PATH "${CMAKE_SOURCE_DIR}/docs" CACHE PATH "")
96-
# add_custom_target(MAX_MAKE_DOCS ALL)
97-
# add_dependencies(MAX_MAKE_DOCS MAKE_MAX_REF)
98-
# add_custom_command(TARGET MAX_MAKE_DOCS POST_BUILD
99-
# COMMAND ${CMAKE_COMMAND} -E copy_directory "${FLUID_MAX_REF_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/docs"
100-
# COMMENT "${MAX_DOC_PATH}"
101-
# )
100+
101+
102+
add_custom_target(MAX_MAKE_DOCS ALL DEPENDS MAKE_MAX_REF)
102103
endif()
103104

104105
# Misc setup and subroutines
@@ -128,10 +129,10 @@ endforeach ()
128129
#install bits. Max packages bundle Windows and Mac builds together
129130
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/release-packaging")
130131
set(MAX_INSTALL_PREFIX "." CACHE PATH "Prefix for assembling max package")
131-
set(FLUID_PACKAGE_NAME "Fluid Corpus Manipulation" CACHE STRING "Name for published package")
132+
set(FLUID_PACKAGE_NAME "FluidCorpusManipulation" CACHE STRING "Name for published package")
132133
set(MAX_PACKAGE_ROOT ${MAX_INSTALL_PREFIX}/${FLUID_PACKAGE_NAME})
133134

134-
foreach(PACKAGE_DIRECTORY examples;extras;help;init;patchers;interfaces;javascript;jsui)
135+
foreach(PACKAGE_DIRECTORY examples;extras;help;init;patchers;interfaces;javascript;jsui;misc)
135136
install(DIRECTORY ${PACKAGE_DIRECTORY} DESTINATION ${MAX_PACKAGE_ROOT})
136137
endforeach(PACKAGE_DIRECTORY)
137138

@@ -140,16 +141,18 @@ install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/
140141
FILES_MATCHING REGEX "\\.(mxo|mxe|mxe64)")
141142

142143
# install(CODE [[ message(STATUS "${flucoma-core_SOURCE_DIR}") ]])
143-
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/AudioFiles/"
144-
DESTINATION "${MAX_PACKAGE_ROOT}/media")
144+
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/AudioFiles/"
145+
DESTINATION ${MAX_PACKAGE_ROOT}/media)
146+
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/Data/"
147+
DESTINATION ${MAX_PACKAGE_ROOT}/misc)
145148
install(FILES icon.png package-info.json QuickStart.md
146149
DESTINATION ${MAX_PACKAGE_ROOT})
147150
install(FILES ${flucoma-core_SOURCE_DIR}/distribution.lic
148151
DESTINATION ${MAX_PACKAGE_ROOT}
149152
RENAME LICENSE.md)
150153

151154
if(DOCS)
152-
install(DIRECTORY "${MAX_DOC_PATH}/"
155+
install(DIRECTORY "${MAX_DOC_OUT}/"
153156
DESTINATION "${MAX_PACKAGE_ROOT}/docs"
154157
PATTERN "*.xml")
155158
endif()

QuickStart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
There is now an 'extras' giving the overview of the toolbox, and a shortcut (shift-f) to create fluid.* objects. Full documentation, and examples, are also available.
88

9+
> We use `maxsubstitution` in the various text files of the `init` folder of the package. If you are using Max 7 you will see an error "max doesn't understand definesubstitution". You can ignore this.
10+
911
#### Enjoy!
1012

1113
> This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 725899).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ This will assemble a package in `release-packaging`.
2929
#### FluCoMa core development team (in alphabetical order)
3030
Owen Green, Gerard Roma, Pierre Alexandre Tremblay
3131

32-
#### Other contributors:
33-
Alex Harker, Francesco Cameli
32+
#### Other contributors (in alphabetical order):
33+
James Bradbury, Francesco Cameli, Alex Harker, Ted Moore
3434

3535
--
3636

extras/Fluid Corpus Manipulation Toolkit.maxpat

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
,
1212
"classnamespace" : "box",
13-
"rect" : [ 437.0, 79.0, 935.0, 795.0 ],
13+
"rect" : [ 437.0, 87.0, 935.0, 795.0 ],
1414
"bglocked" : 0,
1515
"openinpresentation" : 1,
1616
"default_fontsize" : 12.0,
@@ -330,10 +330,10 @@
330330
"maxclass" : "comment",
331331
"numinlets" : 1,
332332
"numoutlets" : 0,
333-
"patching_rect" : [ 664.0, 718.707512999999949, 266.0, 22.0 ],
333+
"patching_rect" : [ 664.0, 718.707512999999949, 266.0, 21.0 ],
334334
"presentation" : 1,
335-
"presentation_rect" : [ 616.020935000000009, 424.19876099999999, 266.0, 22.0 ],
336-
"text" : "undocumented😬",
335+
"presentation_rect" : [ 616.020935000000009, 424.19876099999999, 266.0, 21.0 ],
336+
"text" : "A set of data associated with identifiers.",
337337
"textcolor" : [ 0.129412, 0.129412, 0.129412, 0.6 ]
338338
}
339339

@@ -474,7 +474,7 @@
474474
"patching_rect" : [ 657.0, 803.165829000000031, 342.0, 35.0 ],
475475
"presentation" : 1,
476476
"presentation_rect" : [ 616.020935000000009, 387.19876099999999, 284.479034000000013, 35.0 ],
477-
"text" : "fluid.list2buf",
477+
"text" : "fluid.dataset~",
478478
"textcolor" : [ 0.129412, 0.129412, 0.129412, 0.82 ]
479479
}
480480

@@ -723,7 +723,7 @@
723723
"maxclass" : "bpatcher",
724724
"numinlets" : 1,
725725
"numoutlets" : 1,
726-
"offset" : [ -15.0, -90.0 ],
726+
"offset" : [ -1095.0, -555.0 ],
727727
"outlettype" : [ "" ],
728728
"patcher" : {
729729
"fileversion" : 1,
@@ -736,7 +736,7 @@
736736
}
737737
,
738738
"classnamespace" : "box",
739-
"rect" : [ 35.0, 88.0, 1370.0, 777.0 ],
739+
"rect" : [ 35.0, 88.0, 1007.0, 777.0 ],
740740
"bglocked" : 1,
741741
"openinpresentation" : 1,
742742
"default_fontsize" : 12.0,
@@ -1199,7 +1199,7 @@
11991199
"patching_rect" : [ 1348.274196000000074, 577.580650999999989, 120.0, 21.0 ],
12001200
"presentation" : 1,
12011201
"presentation_rect" : [ 1290.0, 570.0, 120.0, 21.0 ],
1202-
"text" : "Buffer Analysis"
1202+
"text" : "Statistical Analysis"
12031203
}
12041204

12051205
}
@@ -1712,7 +1712,7 @@
17121712
"spacing_x" : 1.0,
17131713
"spacing_y" : 24.0,
17141714
"tabcolor" : [ 0.012, 0.447, 0.71, 0.5 ],
1715-
"tabs" : [ "fluid.pca~", "fluid.kmeans~", "fluid.mds~", "fluid.umap~" ]
1715+
"tabs" : [ "fluid.pca~", "fluid.kmeans~", "fluid.mds~", "fluid.umap~", "fluid.grid~" ]
17161716
}
17171717

17181718
}
@@ -1890,11 +1890,11 @@
18901890
"parameter_enable" : 0,
18911891
"patching_rect" : [ 1328.548387000000048, 602.903228000000013, 149.193547999999993, 119.967742999999999 ],
18921892
"presentation" : 1,
1893-
"presentation_rect" : [ 1290.0, 585.0, 149.193542000000008, 59.967742999999999 ],
1893+
"presentation_rect" : [ 1290.0, 585.0, 149.193541999999979, 119.967743000000041 ],
18941894
"spacing_x" : 1.0,
18951895
"spacing_y" : 24.0,
18961896
"tabcolor" : [ 0.012, 0.447, 0.71, 0.5 ],
1897-
"tabs" : [ "fluid.bufstats~" ]
1897+
"tabs" : [ "fluid.bufstats~", "fluid.stats~" ]
18981898
}
18991899

19001900
}
@@ -2157,7 +2157,7 @@
21572157
"numoutlets" : 1,
21582158
"outlettype" : [ "" ],
21592159
"patching_rect" : [ 590.903226000000018, 21.0, 50.0, 35.0 ],
2160-
"text" : "fluid.list2buf"
2160+
"text" : "fluid.dataset~"
21612161
}
21622162

21632163
}
@@ -2387,7 +2387,7 @@
23872387
"spacing_x" : 1.0,
23882388
"spacing_y" : 24.0,
23892389
"tabcolor" : [ 0.012, 0.447, 0.71, 0.5 ],
2390-
"tabs" : [ "fluid.bufsines~", "fluid.buftransients~", "fluid.bufhpss~", "fluid.bufnmf~", "fluid.bufstft~" ]
2390+
"tabs" : [ "fluid.bufsines~", "fluid.buftransients~", "fluid.bufhpss~", "fluid.bufnmf~" ]
23912391
}
23922392

23932393
}
@@ -2431,7 +2431,7 @@
24312431
"spacing_x" : 1.0,
24322432
"spacing_y" : 24.0,
24332433
"tabcolor" : [ 0.012, 0.447, 0.71, 0.5 ],
2434-
"tabs" : [ "fluid.bufpitch~", "fluid.bufloudness~", "fluid.bufmelbands~", "fluid.bufmfcc~", "fluid.bufspectralshape~", "fluid.bufchroma~", "fluid.bufnndsvd~" ]
2434+
"tabs" : [ "fluid.bufpitch~", "fluid.bufloudness~", "fluid.bufmelbands~", "fluid.bufmfcc~", "fluid.bufspectralshape~", "fluid.bufchroma~", "fluid.bufnndsvd~", "fluid.bufstft~" ]
24352435
}
24362436

24372437
}
@@ -3872,9 +3872,9 @@
38723872
"styles" : [ {
38733873
"name" : "max6box",
38743874
"default" : {
3875+
"textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ],
38753876
"bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ],
3876-
"accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ],
3877-
"textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ]
3877+
"accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ]
38783878
}
38793879
,
38803880
"parentstyle" : "",
@@ -3892,6 +3892,7 @@
38923892
, {
38933893
"name" : "max6message",
38943894
"default" : {
3895+
"textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ],
38953896
"bgfillcolor" : {
38963897
"type" : "gradient",
38973898
"color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
@@ -3901,8 +3902,7 @@
39013902
"proportion" : 0.39,
39023903
"autogradient" : 0
39033904
}
3904-
,
3905-
"textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ]
3905+
39063906
}
39073907
,
39083908
"parentstyle" : "max6box",

0 commit comments

Comments
 (0)