728x90 분류 전체보기720 윳쿠리 텍스트 목소리 변환(Text2Speech) 사이트 http://yukkuritalk.com/ 2022. 11. 9. 게임 - 비주얼 노벨 제작 엔진(Ren'Py) 이름에서 알 수 있듯 파이썬의 게임 개발 라이브러리인 Pygame이 기반이다. 비주얼 노벨류의 게임 개발 목적으로 만들어진 엔진이며 Ren'Py를 이용해 출시한 대표적인 게임들은 두근두근 문예부, 어 펫 샵 애프터 다크, 장애소녀가 있다. 멀티 플랫폼을 지원해서 윈도우, 리눅스, 맥에서 구동이 가능하다. 근데 파이썬 기반이라서 인터프리터 방식으로 처리하기 때문에 모바일 같은 일부 플랫폼에서 잔렉이 생길 수도 있나고 한다. 참고: https://namu.wiki/w/Ren'Py Ren'Py - 나무위키 스크립트 문법은 파이썬에서 영감을 받아 다른 비주얼 노벨 엔진들보다 코드가 직관적이고 간결하다. 다만 스크립트 언어 자체가 파이썬인 것은 아니며, 스크립트 도중에 블록을 열어 빌트인 namu.wiki 2022. 11. 9. PyQt - 테이블 헤더 배경 색 변경 self.table_invest = QtWidgets.QTableWidget(self.tab) self.table_invest.setStyleSheet('QTableWidget{\ncolor:black;}\nQHeaderView::section{background-color: rgb(23,33,43); };') 참고: https://forum.qt.io/topic/87371/how-to-change-qtablewidget-header-color-and-selection-color 2022. 11. 8. 일렉트론 - 사용자로부터 웹 캠, 마이크 가져오기 웹 캠, 마이크 가져오기 window.addEventListener('DOMContentLoaded', () => { navigator.getUserMedia({video: true, audio: true}, (localMediaStream) => { var video = document.querySelector('video') video.srcObject = localMediaStream video.autoplay = true }, (e) => {}) }) 참고: [웹 캠 가져오기] https://stackoverflow.com/questions/38276409/electron-allowing-access-to-webcam 2022. 11. 7. 리액트 - 웹 소켓(ws) 통신 + useEffect에서 웹 소켓(ws) 사용 with useRef ws-server.js (웹 소켓 서버측) const WebSocketServer = require('ws').Server; const wss = new WebSocketServer({ port: 8080 }); wss.on('connection', function connection(ws) { ws.on('message', function message(data) { console.log('received: %s', data); }); ws.send('something'); }); index.js (리액트) import React, { useState ,useEffect, useRef} from 'react'; const [socketConnted, setSocketConnected] = useStat.. 2022. 11. 7. npm - 구글 번역기 모듈(translate-google) npm https://www.npmjs.com/package/translate-google translate-google A free and unlimited for Google Translate, Multi-translation support object input. Latest version: 1.5.0, last published: a year ago. Start using translate-google in your project by running `npm i translate-google`. There are 13 other projects in the npm r www.npmjs.com 설치 npm i translate-google 예제 const translate = require('tra.. 2022. 11. 7. 리액트 - 음성 끝나고 나서 텍스트 새로 기록하기(react-speech-recognition) 원래처럼 transcript를 출력하면 여태껏 말했던 텍스트들을 그대로 가져오는 게 아니라, 말을 끝난 뒤에 다시 말을 하면 이전 텍스트를 지우고 다시 기록하는 방식 const [subtitle, setSubtitle] = useState(''); const { transcript, interimTranscript, resetTranscript, browserSupportsSpeechRecognition, finalTranscript, } = useSpeechRecognition(); useEffect( ()=>{ console.log('마이크 녹화 시작'); SpeechRecognition.startListening({continuous: true}); }, [] ); useEffect( ()=>{ i.. 2022. 11. 6. 자바스크립트 - text to speech(text2speech)(SpeechSynthesisUtterance) function say(m) { var msg = new SpeechSynthesisUtterance(); var voices = window.speechSynthesis.getVoices(); msg.voice = voices[10]; msg.voiceURI = "native"; msg.volume = 1; msg.rate = 1; msg.pitch = 0.8; msg.text = m; msg.lang = 'en-US'; speechSynthesis.speak(msg); } 출처: https://stackoverflow.com/questions/15653145/using-google-text-to-speech-in-javascript Using Google Text-To-Speech in Javascr.. 2022. 11. 5. 윈도우 - text to speech(text2speech), 목소리 및 언어 변경하기 사용 가능한 목소리들 확인하기 Add-Type -AssemblyName System.Speech $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer $speak.GetInstalledVoices() | Select-Object -ExpandProperty VoiceInfo | Select-Object -Property Culture, Name, Gender, Age 목소리 설정 및 출력 Add-Type -AssemblyName System.speech $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer $speak.SelectVoice('Microsoft Heami Desktop') $s.. 2022. 11. 5. 리액트 - 음성을 텍스트로(react-speech-recognition) docs https://github.com/JamesBrill/react-speech-recognition/blob/master/docs/API.md GitHub - JamesBrill/react-speech-recognition: 💬Speech recognition for your React app 💬Speech recognition for your React app. Contribute to JamesBrill/react-speech-recognition development by creating an account on GitHub. github.com npm https://www.npmjs.com/package/react-speech-recognition#developing react-speech.. 2022. 11. 4. 윈도우 - 악성 소프트웨어 제거 도구(mrt) 2022. 11. 3. 그림 - 클립스튜디오, 그림 꿀팁사전 https://www.clipstudio.net/drawing 그림 꿀팁사전 그림 꿀팁사전 | 일러스트, 디자인, 만화, 애니메이션 등 그리기의 모든 것에 대한 정보 사이트 www.clipstudio.net 2022. 11. 2. 이전 1 ··· 26 27 28 29 30 31 32 ··· 60 다음 728x90