Cant' load xi-instuments with more than 1 sample included

yustin
Posts: 9
Joined: 26 Jan 2023 15:06

Cant' load xi-instuments with more than 1 sample included

Post by yustin »

i created some xi-instrument in milkytracker and tried to load it into the sampleplayer
unfortunatelly the player just shows the ones with one sample included :(
Last edited by yustin on 26 Jan 2023 22:41, edited 1 time in total.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Cant' load xi-instuments with more than 1 sample included

Post by kjetil »

That shouldn't happen. Can you attach one of the instruments that doesn't work? (maybe it's a newer XI format of some sort..)
yustin
Posts: 9
Joined: 26 Jan 2023 15:06

Re: Cant' load xi-instuments with more than 1 sample included

Post by yustin »

here we go ...
created with milkytracker
works in soundtracker 1.0.4 :)
Attachments
bd3.7z
xi-instrument with 3 samples
(3.69 KiB) Downloaded 493 times
Last edited by yustin on 27 Jan 2023 10:39, edited 1 time in total.
yustin
Posts: 9
Joined: 26 Jan 2023 15:06

Re: Cant' load xi-instuments with more than 1 sample included

Post by yustin »

here is the archive
https://archive.org/details/kiarchive.7z
for further testing

i guess the bug is somewhere in Qt_sample_requester_widget
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Cant' load xi-instuments with more than 1 sample included

Post by kjetil »

Yes I think you are right that the bug is in Qt_sample_requester_widget. Probably an easy fix.
In the mean time though, you can just drag "xi" files into the track you want to play it in, or drag it into the instrument widget.
yustin
Posts: 9
Joined: 26 Jan 2023 15:06

Re: Cant' load xi-instuments with more than 1 sample included

Post by yustin »

Confirmed ! Drag'n'droping files works. :)
Is there any other way than using xi-instruments to load more than one sample into sampleplayer ?
Thanks for your help.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Cant' load xi-instuments with more than 1 sample included

Post by kjetil »

Yes, you can also load a soundfont into the sample player. Unfortunately there isn't a GUI to set multiple samples yourself.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Cant' load xi-instuments with more than 1 sample included

Post by kjetil »

Fixed in this commit: https://github.com/kmatheussen/radium/c ... 5e60a2efb7
Will be included in the next release. Thanks for reporting!
yustin
Posts: 9
Joined: 26 Jan 2023 15:06

Re: Cant' load xi-instuments with more than 1 sample included

Post by yustin »

Thank YOU very much !!!
I added the patch to the PKGBUILD and it seems to work.
As soon as i get rid of this error
In file included from Qt/Qt_preferences_callbacks.cpp:31:
Qt/../common/nsmtracker.h:73:6: error: #error "Missing -O2 or -O3 compiler option"
73 | #error "Missing -O2 or -O3 compiler option"
i'll start debugging on my own ;)
It's pretty amazing what you created !
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Cant' load xi-instuments with more than 1 sample included

Post by kjetil »

Hi, no problem. :-)
That error you get happens if you change BUILD_TYPE without also running ./make_clean.sh. So ./make_clean.sh should fix it.
Post Reply