gliberror like in the GitHub issue, but I do get a couple errors like this before it quits with error state:
tests/bt-check.h:153:5: error: too many arguments to function ‘_tcase_add_test’ 153 | _tcase_add_test (tc, tf, fname, signal, allowed_exit_value, start, end); | ^~~~~~~~~~~~~~~
Hey there Stefan, I'm still poking around Buzztrax from time to time. I was using "pulsesrc" in a song, I think that's a regular gstreamer plugin, and I found that it only worked if I created it straight away in the song. If I save and then load again, the pulsesrc plugin fails to start:
ERROR: Failed to connect: Invalid argument (GStreamer encountered a general resource error.)
Finally, I found that if I removed the saved pulsesrc properties "server" and "device" from the saved file then that solved the problem. What do you think might be going on here?
Also, would you mind if we saved the songs pretty-printed? It makes debugging a lot easier. It's an easy change in
xmlSaveFormatFile (file_name, song_doc, 1)
Hello, I think there might be an issue with the UI interactions for the boolean parameter types. Both
toggled events are connected on the checkbox, and it seems button release is fired before the toggle one. It's in
update_param_after_interaction is called, but at that stage the value of the property hasn't been updated because
on_checkbox_property_toggled hasn't been called. The effect is for the parameter to take on the value of the checkbox at the last click, not the current click.
For now I've just commented out
button-release-event for the checkbox and restored the call to
on_checkbox_property_toggled, but please let me know if there's a better fix.
make docsafter unpacking the tarball. In front of the parallel make https://code.opensuse.org/package/buzztrax/blob/master/f/buzztrax.spec#_243
make -j1 docs GEN src/lib/core/marshal.h INFO: Reading src/lib/core/marshal.list... CC src/lib/core/libbuzztrax_core_la-core.lo
Hello again! On the question of looping, I did track down some of the discussions you had with the gstreamer team around audiomixer. Really, this project is very bold in the way that it makes use of the gstreamer framework, I think that's impressive as I learn more about it.
In thinking about this naively, I would approach the problem by treating the gstreamer pipeline as a "live stream" scenario and just having Buzztrax keep the timing. For example, if a loop was defined, then "bt_pattern_control_source_get_value" would take the stream elapsed time and calculate the real song position by an offset and modulo with the loop length. If you have some time to go into it, what are some of the technical issues or some of the other design goals you have that would make this approach unsuitable?
make) i am running into an error. i'm wondering if it's related to #91?
CC src/lib/core/libbuzztrax_core_la-song-io-native-bzt.lo src/lib/core/song-io-native-bzt.c: In function ‘bt_song_io_native_bzt_save’: src/lib/core/song-io-native-bzt.c:399:13: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations] 399 | gpointer data = g_memdup (mem, (guint) len); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/lib/core/core.h:22, from src/lib/core/core_private.h:56, from src/lib/core/song-io-native-bzt.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:6536: src/lib/core/libbuzztrax_core_la-song-io-native-bzt.lo] Error 1
-Werrorso that warnings are not treated as errors. it appears to build now, but i can't find the executable to run. i tried
make install, but get this error:
libtool: install: /usr/bin/install -c .libs/libbuzztrax-ic.lai /home/david/buzztrax/lib/libbuzztrax-ic.la libtool: warning: relinking 'libbuzztrax-core.la' libtool: install: (cd /home/david/code/buzztrax; /bin/sh "/home/david/code/buzztrax/libtool" --silent --tag CC --mode=relink gcc -g -O2 -export-symbols-regex "^_?(bt_|Bt|BT_).*" -version-info 2:0:1 -o libbuzztrax-core.la -rpath /home/david/buzztrax/lib src/lib/core/libbuzztrax_core_la-core.lo src/lib/core/libbuzztrax_core_la-tools.lo src/lib/core/libbuzztrax_core_la-buzzcallbacks.lo src/lib/core/libbuzztrax_core_la-application.lo src/lib/core/libbuzztrax_core_la-audio-session.lo src/lib/core/libbuzztrax_core_la-childproxy.lo src/lib/core/libbuzztrax_core_la-cmd-pattern.lo src/lib/core/libbuzztrax_core_la-cmd-pattern-control-source.lo src/lib/core/libbuzztrax_core_la-experiments.lo src/lib/core/libbuzztrax_core_la-machine.lo src/lib/core/libbuzztrax_core_la-parameter-group.lo src/lib/core/libbuzztrax_core_la-pattern.lo src/lib/core/libbuzztrax_core_la-pattern-control-source.lo src/lib/core/libbuzztrax_core_la-persistence.lo src/lib/core/libbuzztrax_core_la-processor-machine.lo src/lib/core/libbuzztrax_core_la-sequence.lo src/lib/core/libbuzztrax_core_la-settings.lo src/lib/core/libbuzztrax_core_la-setup.lo src/lib/core/libbuzztrax_core_la-sink-bin.lo src/lib/core/libbuzztrax_core_la-sink-machine.lo src/lib/core/libbuzztrax_core_la-song.lo src/lib/core/libbuzztrax_core_la-song-info.lo src/lib/core/libbuzztrax_core_la-song-io.lo src/lib/core/libbuzztrax_core_la-song-io-native.lo src/lib/core/libbuzztrax_core_la-song-io-native-bzt.lo src/lib/core/libbuzztrax_core_la-song-io-native-xml.lo src/lib/core/libbuzztrax_core_la-source-machine.lo src/lib/core/libbuzztrax_core_la-value-group.lo src/lib/core/libbuzztrax_core_la-wavetable.lo src/lib/core/libbuzztrax_core_la-wave.lo src/lib/core/libbuzztrax_core_la-wavelevel.lo src/lib/core/libbuzztrax_core_la-wire.lo src/lib/core/libbuzztrax_core_la-marshal.lo libbuzztrax-ic.la libbuzztrax-gst.la -lgthread-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lxml2 -lgstcontroller-1.0 -lgstaudio-1.0 -lgstbase-1.0 -lgsttag-1.0 -lgstfft-1.0 -lm -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lasound -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -lgsf-1 -lgobject-2.0 -lglib-2.0 -lxml2 -lm -lgstaudio-1.0 -lgstpbutils-1.0 -lrt ) /usr/bin/ld: cannot find -lbuzztrax-ic /usr/bin/ld: cannot find -lbuzztrax-gst collect2: error: ld returned 1 exit status libtool: error: error: relink 'libbuzztrax-core.la' with the above command before installing it make: *** [Makefile:3419: install-libLTLIBRARIES] Error 1 make: Leaving directory '/home/david/code/buzztrax' make: *** [Makefile:8337: install-am] Error 2 make: Leaving directory '/home/david/code/buzztrax' make: *** [Makefile:7771: install-recursive] Error 1 make: Leaving directory '/home/david/code/buzztrax' make: *** [Makefile:8330: install] Error 2
ok, i actually got it to run and start, though i haven't played around with the program yet to see if it works. got past the above error by running
make clean install. but then i got this error when trying to run
(buzztrax-edit:50838): GLib-GIO-ERROR **: 10:17:13.754: Settings schema 'org.gnome.desktop.interface' is not installed Trace/breakpoint trap (core dumped)
to get past that, i had to set an environment variable: