Python Audio Processing Basics - How to work with audio files in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024

ความคิดเห็น • 25

  • @mayankdwivedi1893
    @mayankdwivedi1893 2 ปีที่แล้ว +2

    Extremely helpful video ! kudos man!

  • @__________________________6910
    @__________________________6910 2 ปีที่แล้ว +4

    Which extension you are using to play the audio file in the vs code. comment the extension name.

    • @AssemblyAI
      @AssemblyAI  2 ปีที่แล้ว +4

      It's called audio-preview

    • @briancooper2737
      @briancooper2737 2 ปีที่แล้ว +2

      Thank you for that question

  • @InternetGeezer
    @InternetGeezer ปีที่แล้ว

    Thank you, this tutorial was so helpful!

  • @josales3570
    @josales3570 ปีที่แล้ว +1

    Hey, could you help me in my project? I'm trying to play audio from youtube videos. Using pytube I have the audio stream "" but I dont want to save in the computer, and then load in memory again. Do you know how to play this stream with pyaudio?

  • @q2ten
    @q2ten ปีที่แล้ว +1

    I'm getting a ValueError every time I try and use this with my audio, is there any chance i could get some help? The error code says "ValueError: x and y must have same first dimension, but have shapes (22043,) and (44086,)", I know they need to be the same length but .reshape doesn't work and I have no idea what to do

    • @drueh5041
      @drueh5041 ปีที่แล้ว +3

      Change your data type in "signal_array = np.frombuffer(signal_wave, dtype=np.int32)"

    • @q2ten
      @q2ten ปีที่แล้ว

      @@drueh5041 thanks I’ll try that

  • @sandymlgenai
    @sandymlgenai ปีที่แล้ว

    Given a flute music file, how can we convert the music to notes and decompress the file back to audio blocks using literally any method( trained spectograms, any ML algorithm..)

  • @vjayanand1
    @vjayanand1 6 หลายเดือนก่อน

    Hi, I get an error stating OSError: [Errno -9981] Input overflowed. OSError Traceback (most recent call last)
    Cell In[23], line 16
    14 while True:
    15 i += 1
    ---> 16 data = stream.read(CHUNK)
    17 rms = audioop.rms(data,2)
    File ~/anaconda3/lib/python3.10/site-packages/pyaudio/__init__.py:570, in PyAudio.Stream.read(self, num_frames, exception_on_overflow)
    567 if not self._is_input:
    568 raise IOError("Not input stream",
    569 paCanNotReadFromAnOutputOnlyStream)
    --> 570 return pa.read_stream(self._stream, num_frames,
    571 exception_on_overflow)

  • @mayankdwivedi1893
    @mayankdwivedi1893 2 ปีที่แล้ว

    How can the 'frames' object have bytes as its data type? It is a collection of Integers right? Shouldn't it be of type 'list'?

  • @subhomandal9165
    @subhomandal9165 2 ปีที่แล้ว

    That’s so nice to see the audio modules together.
    But, what if I want to do the recording and getting it out through some STT-TTS module at the runtime, without need of saving the file?

  • @bryanfondrick5247
    @bryanfondrick5247 2 ปีที่แล้ว +1

    Very nice video, but could you turn off the pop ups. Some times it is hard to see what you are typing.

  • @rubenguerrerorivera7462
    @rubenguerrerorivera7462 7 หลายเดือนก่อน

    Awesome! thanks!

  • @__________________________6910
    @__________________________6910 2 ปีที่แล้ว +1

    Noice ! Pratick

  • @dexnug
    @dexnug 2 ปีที่แล้ว

    hi..what is the meaning y-axis in the 15:31??what is the meaning of that number?

  • @gourabguha3167
    @gourabguha3167 7 หลายเดือนก่อน

    Could you share the code repo pls

  • @TheMorphingOne
    @TheMorphingOne 4 หลายเดือนก่อน

    Thank you

  • @Since-em2vy
    @Since-em2vy 6 หลายเดือนก่อน

    woow wowww wwowowwww🤩😄😄

  • @andrewildschutz5356
    @andrewildschutz5356 9 หลายเดือนก่อน +3

    Coding is so confusing and not consistent.

    • @aragorn420
      @aragorn420 7 หลายเดือนก่อน

      lol

    • @madhavgupta6140
      @madhavgupta6140 5 หลายเดือนก่อน

      Exactly... did not like the explanation at all