Change the pitch of a sound file in pure data

Поділитися
Вставка
  • Опубліковано 7 сер 2024
  • You can change the rate at which a sound file plays by manipulating the phasor object to read the sound file from an array or table of data. The rate at which phasor consumes the data will dictate the speed and pitch of the playback. Other significant objects used are soundfiler and tabread4 object.

КОМЕНТАРІ • 16

  • @banyeli9094
    @banyeli9094 Рік тому

    Thx so clear and so helpful ;)

  • @da23ad
    @da23ad 4 роки тому

    @ob wex what would it takes to play the wav sound at 27005KHz (instead of 44100KHz) ?

  • @user-ek1sv5nu4g
    @user-ek1sv5nu4g 3 роки тому

    Thank you very much for your tutorial! I can read the sound file and play it according to your previous tutorial with readsf, but now after I click read, there is no sound wave in the array. I don't understand what the problem is

  • @soldateska
    @soldateska 6 років тому

    great tutorials thank you so much! one question: loading the soundfile doesnt work for me like that, guess because i m on pd vanilla. Is there any alternative to load a soundfile with one click on vanilla? is it enough to put the soundfile in the same folder as the pd patch, or do i have to put somewhere the path of the soundfile? thanks!!

    • @user-hw4qu8ed8j
      @user-hw4qu8ed8j 5 років тому +1

      dunno if u figured it out already but u could use the {openpanel} object connected to a message box that says [read -resize $1 array] or I think [read -resize ../desktop/samplename/ array] might work as well. (samplename and array is replaced with customized name) For me it worked both ways but the openpanel method seemed to work everytime!

    • @user-hw4qu8ed8j
      @user-hw4qu8ed8j 5 років тому

      Btw the second method works only when the sample is stored on your desktop, you could probably use downloads or other file names.

  • @veronikatabakova8755
    @veronikatabakova8755 2 роки тому

    Hey, thank you very much for this tutorial. I'm quite new to PD, so this is really helpful! Just wondering - is there a way to stop the sound file automatically, after playing, without pressing the 0 messages, so it's not looping. I would highly appreciate your help! Thanks

    • @QVisible
      @QVisible  2 роки тому

      I'm a little rusty because I haven't used PD in a while. But I've covered it in one of the follow up tutorials 👍

  • @dj-smoothi4218
    @dj-smoothi4218 Рік тому

    I noticed that for me at least, the longer an audio file is the faster it plays. A six minute JFK speech is played in less than a second! Not sure why?
    It looks like soundfiler has updated to have two outlets since this the video was released or maybe I'm using the wrong version of pd.
    I was able to place this between expr and phasor~ to get it to work more efficiently with the same range on from the slider:
    [sig~ ]
    -
    [*~]

    • @QVisible
      @QVisible  Рік тому

      could well be. I was using what is now a very old version.

  • @Wassup92294
    @Wassup92294 7 років тому +1

    What if we wanted to shift the pitch without changing the speed at which it goes through the sample

    • @QVisible
      @QVisible  7 років тому

      It would be very different. You would have to do a mathematical calculation to create a whole new signal. For example if you were to change the pitch to higher without changing the speed, you would have to transform the current wave into multiples of itself with a shorter wavelength. It would take a lot of calculation. I don't know if there is a PD object that does this automatically.

    • @Wassup92294
      @Wassup92294 7 років тому

      you've really let me down ob wex...

    • @QVisible
      @QVisible  7 років тому

      +Wassup92294 I l know! ...Im so ashamed! ☺

    • @Wassup92294
      @Wassup92294 7 років тому

      could be this?

    • @gabrielhansen2667
      @gabrielhansen2667 7 років тому

      where did you get that screenshot from?