Main Menu

Recent posts

#1
Help and Questions / Re: Is there a way to get MIDI...
Last post by chr15m - November 29, 2022, 02:40:28
No problem, understood. Have filed an issue anyway, thanks: https://bugs.openmpt.org/view.php?id=1640
#2
Help and Questions / Re: Is there a way to get MIDI...
Last post by Saga Musix - November 28, 2022, 18:42:29
Yes, please do. It isn't quite easy to implement this (same as with the other parameter recording options) so I have no idea how long it would take until we can have this feature.
#3
Help and Questions / Re: Is there a way to get MIDI...
Last post by chr15m - November 28, 2022, 08:58:59
Should I make a feature request on the issue tracker?
#4
Help and Questions / Re: Is there a way to get MIDI...
Last post by chr15m - November 28, 2022, 08:42:22
Thanks for looking into it, much appreciated. I think it's fine if there is recorded pattern data that fights against the new data, I guess that's the same for any parameter record like cutoff etc.
#5
Help and Questions / Re: Is there a way to get MIDI...
Last post by Saga Musix - November 28, 2022, 08:11:44
Since at the time of recording the row has already been played, it isn't really possible to do this at the moment. I'll see what can be done to improve this, but it will probably not be quite perfect due to the simple fact that already recorded pattern data will "fight" against the newly-added live data.

Edit: Misunderstood question at first
#6
Help and Questions / Is there a way to get MIDI pit...
Last post by chr15m - November 28, 2022, 05:54:49
Question in the title. It would be great if I could noodle on the pitch wheel and have the playing sample affected by that. At the moment I have to use a soundfont sampler VST to get pitch wheel to affect the pitch of instruments. If I use a VST to generate pitch wheel events they are correctly record them to the column as pitch effects, but they don't affect the sound until the second time through the loop.
#7
Development Corner / Re: libopenmpt - How to enable...
Last post by Danny-E 33 - November 26, 2022, 19:10:29
Oh, thank you for the tip. I feel kind of silly, the fix was easy.

ldd ./bin/crystaltrackerd | grep libopenmpt showed that my binary was using /usr/lib/x86_64-linux-gnu/libopenmpt.so.0 by accident.

I just had to edit my LDFLAGS by changing -lopenmpt to lib/libopenmpt.a in my Makefile.

Thanks for the help! The interactive extension is working just fine now  :)
#8
Development Corner / Re: libopenmpt - How to enable...
Last post by manx - November 26, 2022, 18:56:08
No, you do not need to do anything special to make the _ext interfaces available. What you did looks correct to me.

Just a wild guess: The missing symbol was added in libopenmpt 0.5, and I did a quick test build of 0.6.6 and it indeed does export that symbol. What might be happening is that your binary loads a system-installed libopenmpt instead of the one you built. ldd ./bin/crystaltrackerd | grep libopenmpt might give some clues.

You may solve such issues by either setting -rpath when linking or setting LD_LIBRARY_PATH= when running. Details on what would be the best solution probably depend on your build system.

#9
Development Corner / libopenmpt - How to enable ope...
Last post by Danny-E 33 - November 26, 2022, 18:02:47
For my project, I built libopenmpt 0.6.3 from source using the following:
# Build libopenmpt-0.6.3
pushd lib
wget https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.6.3+release.autotools.tar.gz
mkdir libopenmpt && tar xf libopenmpt-0.6.3+release.autotools.tar.gz -C libopenmpt --strip-components=1
cd libopenmpt
./configure --prefix="$(realpath "$PWD/../..")" \
    --without-mpg123 \
    --without-ogg \
    --without-vorbis \
    --without-vorbisfile \
    --without-sndfile \
    --without-flac
make CXX="g++-8 -std=c++17"
make install
popd
and have been using the openmpt::module class which has been working great.

I tried changing `new openmpt::module(_data)` to `new openmpt::module_ext(_data)` (and updated the include to #include <libopenmpt/libopenmpt_ext.hpp> of course) which compiles without errors but I get the following error at run-time:
$ ./bin/crystaltrackerd
./bin/crystaltrackerd: symbol lookup error: ./bin/crystaltrackerd: undefined symbol: _ZN7openmpt10module_extC1ERKSt6vectorIhSaIhEERSoRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_St4lessISD_ESaISt4pairIKSD_SD_EEE

Is there something I have to do to "enable" the extensions? (Specifically the "interactive" extension; need access to set_channel_mute_status() etc.)

I hope it's something simple like passing an extra flag to configure and/or make when building libopenmpt from source, but I can't find any documentation on it.

Thanks!
#10
Free Music Downloads / [Pop/Disco] 2000 Miles Away (Y...
Last post by Lo Bellver - November 26, 2022, 02:37:53
https://www.youtube.com/watch?v=eq4YUYXEsQw

The song was originally composed using Mod Plug Tracker back in 2005/2006, but I've made some arrangements using REAPER and then hired real musicians to play the instruments and sing. Still, the core of the song is pure Mod Plug Tracker.

I lost the original MPT file years ago :_( (One of the few songs I lost in MPT format, so sad)