npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

realtime-voice-changer

v1.0.0

Published

A real-time voice changer application using WebSockets and ONNX/TensorFlow/PyTorch

Downloads

17

Readme

OpenVoiceChanger(OVC)

WebSockets와 ONNX/TensorFlow/PyTorch를 사용한 실시간 음성 변환 애플리케이션입니다.

특징

  • ONNX와 TensorFlow.js를 사용한 실시간 오디오 처리
  • 실시간 통신을 위한 WebSocket 서버
  • HTTP 요청 처리를 위한 Express 서버
  • 다양한 오디오 효과 설정 가능

사전 요구 사항

  • Node.js
  • npm (Node Package Manager)
  • Python (PyTorch 처리를 위해 필요)
  • ngrok

설치

1. 리포지토리 클론:

git clone https://github.com/sioaeko/OpenVoiceChanger.git
cd OpenVoiceChanger

2. 의존성 npm 설치:

npm install

3. 유의사항

  • ONNX 모델 파일이 ./path/to/your/model.onnx에 있는지 확인합니다.
  • PyTorch를 사용하는 경우, Python 환경이 설정되고 의존성이 설치되었는지 확인합니다.

사용법

1. Express 서버 실행

Express 서버는 오디오 데이터 처리를 위한 HTTP 요청을 처리합니다.

npm start

2. Websocket 서버 실행

WebSocket 서버는 실시간 오디오 처리를 담당합니다.

npm run websocket

3. ngrok을 이용하여 서버를 포트포워딩 없이 호스팅

ngrok을 사용하여 로컬 서버를 포트포워딩 없이 외부에 호스팅할 수 있습니다.

1. HTTP 서버 을 위한 ngrok 시작

ngrok http 3001

2. websocket 서버 을 위한 ngrok 시작

ngrok http 3002

4. 프론트엔드 세팅

프론트엔드가 WebSocket 서버의 ngrok URL에 연결되었는지 확인합니다.

// 프론트엔드 예제 코드
const ws = new WebSocket('ws://your-ngrok-url.ngrok.io');

5. 프로젝트 구조

/realtime-voice-changer
├── .gitignore
├── package.json
├── server
│   ├── server.js
│   └── websocket-server.js
├── pages
│   ├── index.js
│   └── api
│       └── process-audio.js
└── README.md

라이선스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE 파일을 참조하십시오.

Thanks for