≡ menu
× menu

cnnmmd

overview


A chat client for your desktop:

Language used: JavaScript
Development environment: Electron

Installation: Manual


*
If individual settings are required before installation, modify the file following the steps below.

Copy the following files directly into the desktop app development environment (Electron) folder:

# Transcription source:
> ${dirtop}/cnnmmd/export/app/xoxxox/appelc/doc
 
> index.js
 
> params.js
  >apptlk.htm

Setting: Setting


The individual configuration files are as follows (the contents of the files that specify addresses are also shown): [※A] [※B]

# Library reference:
>
${dirtop}/cnnmmd/import/cnnmmd_xoxxox_tlkelc/export/app/xoxxox/appelc/doc
 
> params.js
    - export const UrlPrm =
'http://localhost:10002/xoxxox/lib/params_tlk.js' //
Content server address ~ port ~ parameter path - export const UrlLib =
'http://localhost:10002/xoxxox/lib/shared_tlk.js' //
Content server address ~ port ~ library path # Individual settings:
>
${dirtop}/cnnmmd/import/cnnmmd_xoxxox_tlkweb/export/web/xoxxox/lib
 
> params_tlk.js
    - adrsnd: 'http://localhost:10001/sps000' //
Intermediate connector address~port~outbound endpoint - adrrcv: 'http://localhost:10001/gpp000' //
Address, port, and receiving endpoint of intermediate connector - adrchr:
'http://localhost:10002/xoxxox/img/<c>_<m>.png' //
Content server address ~ port ~ character image path (including substitution variables)

※A
If you want to modify a plugin file, copy it to your custom folder in the same layout, modify the copied file, and then update the main (export) version as needed:
# Plugin side:
> ${dirtop}/cnnmmd/import/${plugin}/export/.../${target}
# Custom folder side:
> ${dirtop}/cnnmmd/import/${custom}/export/.../${target}
$ cd ${dirtop}/cnnmmd/manage/bin

$ ./remove.sh && ./append.sh
※B
The custom folder is a folder in Import (by default, a folder called “import/custom”) that contains the following files:
> manage/cnf/latest.txt

execution


Start the necessary servers and run the workflow.

Then go to the folder for your desktop app development environment (Electron) and run:

$ npm start

A character window will appear on the desktop . Press the following buttons in order to start a conversation:

> [rcvvce] # Receive audio
> [sndvce] # Send audio

※C
At the beginning of a conversation or when switching speakers, it takes some time (possibly minutes on a CPU) for the speech synthesis engine to load the dictionary and individual models -- while the speech synthesis node display is active, models are loading or speech data is being generated.