Package yarp

Class Sound

    • Constructor Detail

      • Sound

        protected Sound​(long cPtr,
                        boolean cMemoryOwn)
      • Sound

        public Sound​(int bytesPerSample)
      • Sound

        public Sound()
      • Sound

        public Sound​(Sound alt)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(Sound obj)
      • subSound

        public Sound subSound​(int first_sample,
                              int last_sample)
      • resize

        public void resize​(int samples,
                           int channels)
      • resize

        public void resize​(int samples)
      • get

        public int get​(int sample,
                       int channel)
      • get

        public int get​(int sample)
      • set

        public void set​(int value,
                        int sample,
                        int channel)
      • set

        public void set​(int value,
                        int sample)
      • getSafe

        public int getSafe​(int sample,
                           int channel)
      • getSafe

        public int getSafe​(int sample)
      • setSafe

        public void setSafe​(int value,
                            int sample,
                            int channel)
      • setSafe

        public void setSafe​(int value,
                            int sample)
      • isSample

        public boolean isSample​(int sample,
                                int channel)
      • isSample

        public boolean isSample​(int sample)
      • clear

        public void clear()
      • getFrequency

        public int getFrequency()
      • setFrequency

        public void setFrequency​(int freq)
      • getBytesPerSample

        public int getBytesPerSample()
      • getSamples

        public int getSamples()
      • getChannels

        public int getChannels()
      • getRawDataSize

        public int getRawDataSize()