Forum
    • Categories
    • Register
    • Login

    .preset made on Windows arent recalling audio files on mac due to Foldername/ vs Foldername\

    Scheduled Pinned Locked Moved Bug Reports
    bugwindowsaudio filesmac
    9 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mwplugs
      last edited by

      within user presets made on windows files are recalled
      fileName="AUDIO_FILES"FolderName\Soundfile.wav"

      this makes the paths unable to be found on mac

      when you save a preset on mac it saves as
      fileName="AUDIO_FILES"FolderName/Soundfile.wav"

      changing the direction of the slash makes the presets recall correctly

      i have about 500 presets so...what should i do...and also this should be addressed

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey
        last edited by

        Samples should be stored in the Samples folder and they should be recalled through sample maps not by presets. Could you explain your project setup a little more?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        M 1 Reply Last reply Reply Quote 1
        • M
          mwplugs @David Healey
          last edited by

          @d-healey its using the audio loop players which default to pull from the Audio Files folder

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @mwplugs
            last edited by David Healey

            @mwplugs Oh now I understand. I don't know if there is a solution (I mean you could just do find/replace on all / for all presets (if you use a text editor like Atom or Sublime you could do it in seconds)). But I don't think that would be a good solution. I'm guessing this is something @Christoph-Hart will need to take care of in the HISE codebase.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • M
              mwplugs
              last edited by

              any ideas? it seems silly to have to bust out notepad++ and have to do replace on all these lines and also have to have seperate mac and pc presets

              1 Reply Last reply Reply Quote 1
              • M
                mwplugs
                last edited by

                i know the audio loop player isnt talked about much but its actually incredible for oneshots ;) is there any program that can do replace all on a batch of files at once? that might have to do for the time being

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @mwplugs
                  last edited by

                  @mwplugs Yeah, Atom, Sublime Text, and Cuda Text can all do that. I'm having a look at the HISE source now to see if I can spot anything obvious.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • M
                    mwplugs
                    last edited by

                    ughhh lol

                    1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey
                      last edited by David Healey

                      I think instead of using AUDIO_FILES you should use the {PROJECT_FOLDER} wildcard like with sample maps. That may resolve the / \ issue too. I don't have a suitable project setup to test this so let me know if it solves it.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post

                      27

                      Online

                      2.1k

                      Users

                      13.0k

                      Topics

                      112.6k

                      Posts