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
      last edited by

      The documentation suggests there was once a slider for panning from left to right. Which makes a lot of sense.

      But now there's not.

      What values mean what?

      I've tried -100 and 100, and they don't seem to make any difference.

      0_1510028675967_panningSounds.jpg

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

        It used to be a slider, but now it’s a number. They must’ve forgotten to update the descriptions. If you read what pan does, it changes which speaker plays the sound. iPads only have 1 speaker really, so this only works for external speakers or headsets.

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

          @Aidan-Oxley said in Sounds: Panning, what values do what?:

          it changes which speaker plays the sound. iPads only have 1 speaker really, so this only works for external speakers or headsets

          I know what Peter Pan does, it's right there in my question. And I'm using an iPad Pro with four speakers, two on each side. Plus headphones. No changes in either scenario.

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

            @Aidan-Oxley My question is this: what values should I be using to get full right, and full left?

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

              @Deeeds I have used panning before and it worked, but I just tried it with my iPad Pro and AirPods and it isn’t working. I’m guessing it’s a bug.
              Also, @Murtaza would it be possible for changing the pitch to have a switch for whether or not it changes the speed too?

              Lol I was trying it out on some music and made Owl City sound like a monster🐲

              D 1 Reply Last reply Reply Quote 1
              • 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
                                            • First post
                                              Last post