logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Sounds: Panning, what values do what?

    Scheduled Pinned Locked Moved
    Comments & Feedback
    5
    25
    834
    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.
    • D
      Deeeds @iTap Development
      last edited by

      @iTap-Development Agreed: Pitch change without speed change.

      And speed change without pitch change. The single best feature of youtube.

      On panning, glad I'm not going insane. Nothing I tried got it working. Thought it was me. I'm a huge fan of panning sounds.

      And arpeggios. Try this with headphones:

      https://soundcloud.com/poly_mod/ended-up-in-berlin

      Aidan_FireA 2 Replies Last reply Reply Quote 1
      • Aidan_FireA
        Aidan_Fire @Deeeds
        last edited by

        @Deeeds Wow, I never knew there was an iPad with more that one speaker! I’m gonna play with this too now, I have some headsets and speakers to try this on.

        1 Reply Last reply Reply Quote 0
        • Aidan_FireA
          Aidan_Fire @Deeeds
          last edited by

          @Deeeds Ok I just tried it, normal iPad speakers no effect (understandable since only one speaker anyway). External speakers no effect, then I tested them with another random game and it seems that with at least these particular speakers, when playing sound from iPad only one speaker actually works. Tried it with headset, it worked and the scale was between -100 to 100. -100 played full sound left speaker, 0 played full sound through both, 100 played through right speaker.

          1 Reply Last reply Reply Quote 0
          • iTap DevelopmentI
            iTap Development
            last edited by

            @Murtaza will panning work on iPad Pro speakers?

            1 Reply Last reply Reply Quote 0
            • MurtazaM
              Murtaza Admin
              last edited by

              Being on iPad Pro shouldn’t make a difference regarding pan since it’s a software adjustment not hardware.

              I’m thinking this is a bug introduced with ios11 and how it handles audio. Because I don’t think we made any audio changes.

              iTap DevelopmentI 1 Reply Last reply Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Murtaza
                last edited by

                @Murtaza I just tested in garage band and panning has effect on iPad Pro there.

                Aidan_FireA 1 Reply Last reply Reply Quote 0
                • Aidan_FireA
                  Aidan_Fire @iTap Development
                  last edited by

                  @iTap-Development Does hyperPad sound panning work on your iPad Pro though?

                  iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                  • iTap DevelopmentI
                    iTap Development @Aidan_Fire
                    last edited by iTap Development

                    @Aidan-Oxley no it doesn’t… so maybe it is something they will have to support? Although, it wasn’t working even with AirPods. So maybe when they fix it it will work on Pro.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Deeeds @iTap Development
                      last edited by Deeeds

                      @iTap-Development @Aidan-Oxley @Murtaza

                      Found the problem:

                      The audio engine can only pan Mono sounds, not stereo sounds.

                      When it's playing a stereo sound it ignores panning values -> completely.

                      With a mono sound, as (I think it was Aidan) said, 100 is full right, -100 is full left.

                      Works on iPad Pro, headphones, everything. Furthermore, it's polyphonically instancing each play of the same sound. Meaning it lets each instance of a playing a sound finish, even if you initiate another playing of the same sound.

                      Not sure how many sounds it will play at once before it gives up, probably varies from CPU to CPU.

                      iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                      • iTap DevelopmentI
                        iTap Development @Deeeds
                        last edited by

                        @Deeeds so garage band is mono sound?

                        D 2 Replies Last reply Reply Quote 0
                        • D
                          Deeeds @iTap Development
                          last edited by

                          @iTap-Development No, probably not. More modern sound engines are capable of panning stereo sounds in all sorts of fun and interesting ways.

                          Old sound engines are not. And I'd bet that OpenAL is what's being used in hyperPad, probably an old version, without Stereo sample panning facilities.

                          The other thing that's gotta be considered, in regards to Garage Band, many of its sounds aren't just samples, but are synthesised in various ways, wherein the limits of samples goes right out the window.

                          1 Reply Last reply Reply Quote 0
                          • D
                            Deeeds @iTap Development
                            last edited by Deeeds

                            @iTap-Development I can describe this better:

                            A stereo sample (.wav) is already panned by the producer. Some of the sound is set to come out the left, some to the right.

                            Any sound engine that's going to provide further panning control must make one of three choices:

                            Does panning diminish the sound from one side of the sample, or steer and add sound from one side to the other side? Or, really ugly, blend left and right as if it's a mono recording and then split on demand.

                            Early sound engines didn't bother making this choice, or providing these choices for the user to decide from.

                            Quite infamously, this problem existed in Unity for a long time, just as it does in hyperPad, wherein panning simply wouldn't do anything if handed a stereo sample. I had forgotten about this as I've avoided using Unity for quite some time.

                            iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                            • iTap DevelopmentI
                              iTap Development @Deeeds
                              last edited by

                              @Deeeds ok I see.
                              If that’s the case I would agree an audio engine upgrade would be good.

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Deeeds @iTap Development
                                last edited by

                                @iTap-Development Yeah, audio is the secret sauce of all great entertainment. The best of the reasonable options, far and away, is this: https://www.fmod.com

                                And they're very nice people, too. Truly passionate and committed to their art and craft.

                                1 Reply Last reply Reply Quote 0
                                • MurtazaM
                                  Murtaza Admin
                                  last edited by

                                  Here's a secret... We're actually switching the audio engine :).
                                  We're working on swapping to this engine for audio: http://audiokit.io/

                                  We're going to start by swapping over existing functionality, then overtime add the other cool features that audiokit enables.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    Deeeds @Murtaza
                                    last edited by

                                    @Murtaza Have you tested it? I vaguely remember seeing rumours concerned about its performance when contrasted with others.

                                    MurtazaM 1 Reply Last reply Reply Quote 0
                                    • MurtazaM
                                      Murtaza Admin @Deeeds
                                      last edited by

                                      @Deeeds
                                      We've done some early tests and it was fine. Since in our case we're not really using it at the scale of other game engine it was performing fine.

                                      Additionally, since we're starting with limited functionality (just replacing existing audio in hyperPad) we're using the "simple" stuff the audio engine provides. They've also been advancing quite a bit over the past year.

                                      D iTap DevelopmentI 2 Replies Last reply Reply Quote 0
                                      • D
                                        Deeeds @Murtaza
                                        last edited by

                                        @Murtaza I just checked, it's a queuing issue and decompression issue for compressed files I'd read about (mp3 etc) so perhaps add a feature that decompresses user files that are compressed and I think it's otherwise good.

                                        1 Reply Last reply Reply Quote 0
                                        • iTap DevelopmentI
                                          iTap Development @Murtaza
                                          last edited by

                                          @Murtaza I think a really cool feature would be to be able to creat and export an audio file to send or save on iPad. So basically being able to make an app like garage band.
                                          And even export images from a drawing app.

                                          1 Reply Last reply Reply Quote 0
                                          • HamedH
                                            Hamed Admin
                                            last edited by

                                            @iTap-Development Even cooler would be using hyperPad as an audio mixer and funneling it into garageband in real time :wink:

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