본문 바로가기

Daily Develope

검색하기
Daily Develope
프로필사진 noggame

  • 분류 전체보기 (112)
    • Develope (53)
      • Python (31)
      • Web (18)
      • ETC (4)
    • AI (16)
    • DB (6)
    • MicroService (7)
      • Docker (6)
      • Kubernetes (1)
    • OS (15)
      • Linux (10)
      • Windows (1)
      • Mac (4)
    • Git (7)
    • Algorithm (1)
    • Favorite (4)
      • 책갈피 (4)
      • Music (0)
Guestbook
Notice
  • migration 중입니다...
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • DB
  • Container
  • git
  • PostgreSQL
  • docker
  • LLM
  • pandas
  • list
  • numpy
  • GitLab
  • judge
  • enV
  • KAKAO
  • Windows
  • Laravel
  • evaluation
  • TORCH
  • AI
  • Package
  • Python
  • 책갈피
  • Paper
  • file
  • Linux
  • format
  • Mac
  • pytorch
  • Flask
  • Converting
  • Database
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록libros (1)

Daily Develope

[Python] PCM 파일 통합 및 WAV로 변환

PCM 파일 통합(합치기) : PCM은 파일의 시작에 소리 정보를 담고있는 header가 존재하지 않기 때문에, raw 데이터(Byte Code)를 그대로 읽어서 합치면된다. targetList = ["{대상파일1_경로}", "{대상파일2_경로}"] destinationPath = "{생성파일경로}" buf = bytearray() for file in targetList: f = open(file, 'rb') buf += f.read() f.close() wf = open(destinationPath, 'wb') wf.write(buf) wf.close() PCM 에서 WAV 로의 변환 : PCM 데이터를 WAV로 변환하려는 경우 WAV 파일이 어떻게 쓰였는지 나타내는 He..

Develope/Python 2022. 2. 15. 13:49
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바