Closed ST-Music closed 1 year ago
I have reproduced the directory bug. It looks like the opcode does not exist in the Android build. I am investigating.
Thanks for the reply Michael.
On Tue, Aug 29, 2023, 9:31 p.m. Michael Gogins @.***> wrote:
I have reproduced the directory bug. It looks like the opcode does not exist in the Android build. I am investigating.
— Reply to this email directly, view it on GitHub https://github.com/gogins/csound-android/issues/19#issuecomment-1698358948, or unsubscribe https://github.com/notifications/unsubscribe-auth/A23TOBRMGXUCDZRKUIUTWBDXX2JVPANCNFSM6AAAAAA4AX44QA . You are receiving this because you authored the thread.Message ID: @.***>
Indeed, the directory opcode is in the same plugin library as the ftsamplebank opcode. Rory Walsh wrote this. The android build system does not build or package this library. It should be easy to fix. There are a few other plugins like this that might also be missing and could be put back.
Odd as it was included in the previous build but good to hear you can hopefully resolve this. Then I can get back to putting it thru it's paces. Thanks again.
On Tue, Aug 29, 2023, 9:48 p.m. Michael Gogins @.***> wrote:
Indeed, the directory opcode is in the same plugin library as the ftsamplebank opcode. Rory Walsh wrote this. The android build system does not build or package this library. It should be easy to fix. There are a few other plugins like this that might well be missing.
— Reply to this email directly, view it on GitHub https://github.com/gogins/csound-android/issues/19#issuecomment-1698370471, or unsubscribe https://github.com/notifications/unsubscribe-auth/A23TOBQ2MARXM675K7JPNH3XX2LVNANCNFSM6AAAAAA4AX44QA . You are receiving this because you authored the thread.Message ID: @.***>
This situation was caused a few years ago when the core Csound developers removed a number of plugin opcodes from the Csound GitHub repository, and changed the way that the remaining opcodes are built. The current situation is clearly explained in Opcodes/CMakeLists.txt
.
By the way, although this change involved removing a number of my own contributions from the Csound repository, I nevertheless agree that it was a good idea. Csound was becoming difficult to maintain due to increasing external dependencies, lack of manpower, dislike of C++, and lack of C++ expertise. I think it is very important to keep maintaining and improving Csound, and there aren't enough people involved.
The Csound for Android build system was already building some of these plugins. The following is a list of all plugin opcode libraries built by the standard Csound build system, with notes as to their current status for Android.
The directory opcode now works.
That's great, let me know when to test the next beta (with a link).
Thanks!
On Wed, Aug 30, 2023, 5:25 p.m. Michael Gogins @.***> wrote:
Closed #19 https://github.com/gogins/csound-android/issues/19 as completed.
— Reply to this email directly, view it on GitHub https://github.com/gogins/csound-android/issues/19#event-10237529324, or unsubscribe https://github.com/notifications/unsubscribe-auth/A23TOBQVGLIUEL5PDJNN6NDXX6VUXANCNFSM6AAAAAA4AX44QA . You are receiving this because you authored the thread.Message ID: @.***>
https://github.com/gogins/csound-android/releases/tag/v36
On Wed, Aug 30, 2023, 17:29 stmusic @.***> wrote:
That's great, let me know when to test the next beta (with a link).
Thanks!
On Wed, Aug 30, 2023, 5:25 p.m. Michael Gogins @.***> wrote:
Closed #19 https://github.com/gogins/csound-android/issues/19 as completed.
— Reply to this email directly, view it on GitHub https://github.com/gogins/csound-android/issues/19#event-10237529324, or unsubscribe < https://github.com/notifications/unsubscribe-auth/A23TOBQVGLIUEL5PDJNN6NDXX6VUXANCNFSM6AAAAAA4AX44QA>
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/gogins/csound-android/issues/19#issuecomment-1699867656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIGJLSLNADYXPCTJQI6S3XX6WB7ANCNFSM6AAAAAA4AX44QA . You are receiving this because you modified the open/close state.Message ID: @.***>
I get the same error with both opcodes:
https://www.dropbox.com/scl/fi/s1e84t0gguc2v56trr9dn/Screenshot_20230827_220514.jpg?rlkey=h88072vavvy5l5r7yys3waiaf&dl=0
I have tried the manual example: https://csound.com/docs/manual/directory.html
as well as:
and changing the path to: "/storage/emulated/0/Music/samples", ".wav"
(no backslash following samples)
I tested with the previous version & either path will work.
Side note: I have no difficulty loading single samples from directories now so that's working great.