• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    AUAudioFilePlayer bug

    Troubleshooting and Bug Reports
    4
    6
    1.4k
    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.
    • F
      fifou
      last edited by

      Hi All,

      In AUAudioFilePlayer, Output position is not accurate. When playing a whole file, the end of the file is always around 91-92 of the output position.

      When changing play start to another value than 0, the  moving playhead of the player goes "outside of the actor" at the end of the file whhen playing.

      Tested with AIFF and WAV on OSX10.11.6 - Isadora 2.5.2

      Best

      Philippe

      MacBookPro 15' 2012 - QuadCore i7 @ 2,66GHz - 16GB RAM - NVIDIA GeForce GT 650M 1024Mo VRAM - 2 Internal SATA SSD Hard Drives - OSX10.13.6 - Isadora 3.0.7

      bonemapB 1 Reply Last reply Reply Quote 0
      • bonemapB
        bonemap Izzy Guru @fifou
        last edited by

        @fifou said:

        the player goes "outside of the actor

        I have seen things like this when the Scene Editor is either zoomed in or out.

        Regards 

        Bonemap  

        http://bonemap.com | Australia
        Izzy STD/USB 3.2.6 | + Beta 3.x.x
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
        Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
        A range of deployable older Macs

        markM 1 Reply Last reply Reply Quote 1
        • markM
          mark @bonemap
          last edited by

          @fifou 

          I am not able to recreate this problem with two test files, one 0:50 in length, the other 1:11.1. Are you playing very long files? If so, how long?

          What is the sample rate of the files?

          Does the sample rate of the output device match the file sample rate above? (This shouldn't need to match, but I am asking so we can sort out the bug.) 

          Here's a test patch I made that reports the time based on the media time to percent.

          Best Wishes,
          Mark

          audio-file-player-time-test.izz

          Media Artist & Creator of Isadora
          Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

          1 Reply Last reply Reply Quote 0
          • FredF
            Fred
            last edited by

            Are you by any chance using an Motu interface?

            http://www.fredrodrigues.net/
            https://github.com/fred-dev
            OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
            Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
            Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

            1 Reply Last reply Reply Quote 0
            • F
              fifou
              last edited by

              I found it !

              The culprit is 48KHz files.

              44,1KHz files behave ok.

              @ Mark : Thanks for the media percent to time user actor.

              Extra request : I you dig into AUAudioFilePlayer's code, is it easy for you to add an EndLoop Trigger output, it would be sooooooo useful.

              @Fred : No, I'm using internal soundcard

              All the best

              Philippe

              MacBookPro 15' 2012 - QuadCore i7 @ 2,66GHz - 16GB RAM - NVIDIA GeForce GT 650M 1024Mo VRAM - 2 Internal SATA SSD Hard Drives - OSX10.13.6 - Isadora 3.0.7

              1 Reply Last reply Reply Quote 1
              • markM
                mark
                last edited by

                @fifou said:

                The culprit is 48KHz files.

                 OK, will investigate.

                Media Artist & Creator of Isadora
                Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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