๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
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.
728x90