From f2ecb5a3cb3ddf3ef3ce6c3aea09fe338336cdb2 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 21 May 2023 19:03:33 -0700 Subject: =?UTF-8?q?audio/faust:=20Update=202.54.9=20=E2=86=92=202.59.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by: portscout --- audio/faust/Makefile | 11 +++++++++-- audio/faust/distinfo | 12 +++++++----- audio/faust/files/example-freeverb_demo.dsp | 2 ++ audio/faust/files/example-simple.dsp | 10 ++++++++++ audio/faust/files/example.dsp | 10 ---------- audio/faust/pkg-message | 8 ++++---- audio/faust/pkg-plist | 3 ++- 7 files changed, 34 insertions(+), 22 deletions(-) create mode 100644 audio/faust/files/example-freeverb_demo.dsp create mode 100644 audio/faust/files/example-simple.dsp delete mode 100644 audio/faust/files/example.dsp diff --git a/audio/faust/Makefile b/audio/faust/Makefile index 422e97e1ad0f..db04a3b06978 100644 --- a/audio/faust/Makefile +++ b/audio/faust/Makefile @@ -1,5 +1,5 @@ PORTNAME= faust -DISTVERSION= 2.54.9 +DISTVERSION= 2.59.6 CATEGORIES= audio devel MAINTAINER= yuri@FreeBSD.org @@ -18,7 +18,8 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= grame-cncm GH_TUPLE= \ - grame-cncm:faustlibraries:f9efea9:grame_cncm_faustlibraries/libraries + grame-cncm:faustlibraries:b91fdeb:grame_cncm_faustlibraries/libraries \ + ccrma:faust2ck:db879cb:faust2ck/tools/faust2ck SHEBANG_FILES= tools/faust2appls/* tools/benchmark/faustbench tools/sound2faust/sound2reader @@ -72,4 +73,10 @@ post-install-HIGHLIGHT-on: ${INSTALL_DATA} ${WRKSRC}/syntax-highlighting/faust.vim ${STAGEDIR}${PREFIX}/share/vim/vimfiles/syntax/ # 6) EMACS TODO +do-test: install + @${CP} ${FILESDIR}/example-freeverb_demo.dsp ${TEST_WRKSRC} + @cd ${TEST_WRKSRC} && \ + faust2jaqt example-freeverb_demo.dsp && \ + ./example-freeverb_demo + .include diff --git a/audio/faust/distinfo b/audio/faust/distinfo index 00969c8362ed..da88aef7a965 100644 --- a/audio/faust/distinfo +++ b/audio/faust/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1672024334 -SHA256 (grame-cncm-faust-2.54.9_GH0.tar.gz) = 14648f020d77874e6f7411d7ff605820015645bbd4b891b24bee3d3a898e48d2 -SIZE (grame-cncm-faust-2.54.9_GH0.tar.gz) = 70137859 -SHA256 (grame-cncm-faustlibraries-f9efea9_GH0.tar.gz) = 19c98d857edee00ae7682c222377c9e4fcc51d54029d7fe59bb66b2e2cdaf77c -SIZE (grame-cncm-faustlibraries-f9efea9_GH0.tar.gz) = 7810456 +TIMESTAMP = 1684717642 +SHA256 (grame-cncm-faust-2.59.6_GH0.tar.gz) = 71f36957d2af99c303dbc3779a9253666561b7d2ff310cd5d87d897e4a3514ba +SIZE (grame-cncm-faust-2.59.6_GH0.tar.gz) = 69872005 +SHA256 (grame-cncm-faustlibraries-b91fdeb_GH0.tar.gz) = 6bdf288490812aad47c003e3cbef1e9d2816d23a85fc0f348d53ba8b5d526c82 +SIZE (grame-cncm-faustlibraries-b91fdeb_GH0.tar.gz) = 7852514 +SHA256 (ccrma-faust2ck-db879cb_GH0.tar.gz) = 78a4ca3deef0940122c68cb4872b9423778177ddf02d113f8f01d0e37351f816 +SIZE (ccrma-faust2ck-db879cb_GH0.tar.gz) = 328939 diff --git a/audio/faust/files/example-freeverb_demo.dsp b/audio/faust/files/example-freeverb_demo.dsp new file mode 100644 index 000000000000..e4a654ed2b87 --- /dev/null +++ b/audio/faust/files/example-freeverb_demo.dsp @@ -0,0 +1,2 @@ +import("stdfaust.lib"); +process = ba.pulsen(1, 10000) : pm.djembe(60, 0.3, 0.4, 1) <: dm.freeverb_demo; diff --git a/audio/faust/files/example-simple.dsp b/audio/faust/files/example-simple.dsp new file mode 100644 index 000000000000..01bc9c7e4d71 --- /dev/null +++ b/audio/faust/files/example-simple.dsp @@ -0,0 +1,10 @@ +// from https://faustdoc.grame.fr/tutorials/basic-osc/ + +import("stdfaust.lib"); +f = hslider("freq",440,50,2000,0.01); +g = hslider("gain",1,0,1,0.01); +t = si.smoo(button("gate")); +phasor(freq) = (+(freq/ma.SR) ~ ma.frac); +osc(freq) = sin(phasor(freq)*2*ma.PI); +organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; +process = organ(f)*g*t; diff --git a/audio/faust/files/example.dsp b/audio/faust/files/example.dsp deleted file mode 100644 index 01bc9c7e4d71..000000000000 --- a/audio/faust/files/example.dsp +++ /dev/null @@ -1,10 +0,0 @@ -// from https://faustdoc.grame.fr/tutorials/basic-osc/ - -import("stdfaust.lib"); -f = hslider("freq",440,50,2000,0.01); -g = hslider("gain",1,0,1,0.01); -t = si.smoo(button("gate")); -phasor(freq) = (+(freq/ma.SR) ~ ma.frac); -osc(freq) = sin(phasor(freq)*2*ma.PI); -organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; -process = organ(f)*g*t; diff --git a/audio/faust/pkg-message b/audio/faust/pkg-message index b14849248ecd..19e56c6667a8 100644 --- a/audio/faust/pkg-message +++ b/audio/faust/pkg-message @@ -6,13 +6,13 @@ signal processing. In order to try it, you can put the dsp program from https://faustdoc.grame.fr/tutorials/basic-osc/ into the source file -example.dsp, and run the faust compiler that will create +example-freeverb_demo.dsp, and run the faust compiler that will create Qt UI with Jack audio backend: $ sudo pkg install -A qt6-base -$ cp files/example.dsp . -$ faust2jaqt example.dsp -$ ./example # this assumes that Jack audio server is up and running +$ cp files/example-freeverb_demo.dsp . +$ faust2jaqt example-freeverb_demo.dsp +$ ./example-freeverb_demo # this assumes that Jack audio server is up and running It will create the window with sliders and a button that you would need to press. diff --git a/audio/faust/pkg-plist b/audio/faust/pkg-plist index d903ad6a0d64..30ccc9d4b9a7 100644 --- a/audio/faust/pkg-plist +++ b/audio/faust/pkg-plist @@ -262,7 +262,7 @@ lib/ios-libsndfile.a lib/libOSCFaust.a lib/libfaust.so lib/libfaust.so.2 -lib/libfaust.so.2.54.9 +lib/libfaust.so.2.59.6 %%HIGHLIGHT%%share/apps/katepart/syntax/faust.xml %%DATADIR%%/AU/AUPublic/AUBase/AUBase.cpp %%DATADIR%%/AU/AUPublic/AUBase/AUBase.h @@ -844,6 +844,7 @@ lib/libfaust.so.2.54.9 %%DATADIR%%/stdfaust.lib %%DATADIR%%/supercollider.cpp %%DATADIR%%/synths.lib +%%DATADIR%%/teensy/README.md %%DATADIR%%/teensy/teensy.cpp %%DATADIR%%/teensy/teensy.h %%DATADIR%%/template-llvm.cpp -- cgit v1.2.3