Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed May 26, 2023
1 parent 4ae9a49 commit 293df10
Show file tree
Hide file tree
Showing 12 changed files with 827 additions and 379 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "tests/stubs"]
path = tests/stubs
url = https://github.com/Nall-chan/SymconStubs
[submodule ".vscode"]
path = .vscode
url = https://github.com/Nall-chan/SymconVSCTasks.git
2 changes: 1 addition & 1 deletion .style
Submodule .style updated 3 files
+14 −11 .php-cs-fixer.php
+22 −0 README.md
+85 −0 json-check.php
1 change: 1 addition & 0 deletions .vscode
Submodule .vscode added at fd9b03
360 changes: 360 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

33 changes: 23 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[![SDK](https://img.shields.io/badge/Symcon-PHPModul-red.svg)](https://www.symcon.de/service/dokumentation/entwicklerbereich/sdk-tools/sdk-php/)
[![Version 2.01](https://img.shields.io/badge/Modul%20Version-2.01-blue.svg)]()
[![Version 2.2](https://img.shields.io/badge/Modul%20Version-2.2-blue.svg)]()
[![Version 5.1](https://img.shields.io/badge/Symcon%20Version-5.1%20%3E-green.svg)](https://www.symcon.de/forum/threads/30857-IP-Symcon-5-1-%28Stable%29-Changelog)
[![License](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-green.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
[![Check Style](https://github.com/Nall-chan/VoiceRSS/workflows/Check%20Style/badge.svg)](https://github.com/Nall-chan/VoiceRSS/actions)
[![Run Tests](https://github.com/Nall-chan/VoiceRSS/workflows/Run%20Tests/badge.svg)](https://github.com/Nall-chan/VoiceRSS/actions)
# Symcon-Modul: VoiceRSS
[![Spenden](https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_SM.gif)](#6-spenden)

# Symcon-Modul: VoiceRSS <!-- omit in toc -->
Online-TTS Engine von VoiceRSS in IPS nutzen.
Free bei max. 350 Anfragen pro Tag.

Expand All @@ -14,10 +16,11 @@ Free bei max. 350 Anfragen pro Tag.

- [1. Funktionsumfang](#1-funktionsumfang)
- [2. Voraussetzungen](#2-voraussetzungen)
- [3. Installation & Konfiguration](#3-installation--konfiguration)
- [3. Installation \& Konfiguration](#3-installation--konfiguration)
- [4. Funktionsreferenz](#4-funktionsreferenz)
- [5. Anhang](#5-anhang)
- [6. Lizenz](#6-lizenz)
- [6. Spenden](#6-spenden)
- [7. Lizenz](#7-lizenz)

## 1. Funktionsumfang

Expand Down Expand Up @@ -50,7 +53,7 @@ Free bei max. 350 Anfragen pro Tag.

```php
boolean TTSV_GenerateFile(integer $InstanceID, string $Text, string $Filename);
boolean TTSV_GenerateFileEx(integer $InstanceID, string $Text, string $Filename, string $Format, string $Codec, string $Language)
boolean TTSV_GenerateFileEx(integer $InstanceID, string $Text, string $Filename, string $Format, string $Codec, string $Language, int $Speed, string $Voice)
```
Erzeugt eine Audiodatei.
Wird kein absoluter Pfad bei `$Filename` angegeben, so wird die Datei im Script-Ordner von IPS gespeichert.
Expand All @@ -61,7 +64,7 @@ boolean TTSV_GenerateFileEx(integer $InstanceID, string $Text, string $Filename,

```php
string TTSV_GetDataContent(integer $InstanceID, string $Text);
string TTSV_GetDataContent(integer $InstanceID, string $Text, string $Format, string $Codec, string $Language)
string TTSV_GetDataContent(integer $InstanceID, string $Text, string $Format, string $Codec, string $Language, int $Speed, string $Voice)
```
Erzeugt Rohdaten zur weiterverarbeitung.
Im Fehlerfall wird false zurückgegeben.
Expand All @@ -84,7 +87,7 @@ IPS_SetName($MediaID, "Test");

```php
integer TTSV_GenerateMediaObject(integer $InstanceID, string $Text, integer $MediaID);
integer TTSV_GenerateMediaObjectEx(integer $InstanceID, string $Text, integer $MediaID, string $Format, string $Codec, string $Language)
integer TTSV_GenerateMediaObjectEx(integer $InstanceID, string $Text, integer $MediaID, string $Format, string $Codec, string $Language, int $Speed, string $Voice)
```
Erzeugt/befüllt ein MedienObject im logischen Baum von IPS.
- Wird als $MediaID eine ID eines vorhandenes MedienObject übergeben, so wird Dieses mit den Audiodaten gefüllt.
Expand Down Expand Up @@ -113,6 +116,10 @@ Erlaubte Parameter siehe:

**Changelog:**

Version 2.2:
- Sprechgeschwindigkeit und Stimme in der Konfiguration ergänzt.
- Alle ---Ex Funktionen erwarten jetzt Speed und Voice als Parameter.

Version 2.1:
- Fehler in der Fehlerbehandlung behoben.

Expand All @@ -125,10 +132,16 @@ Erlaubte Parameter siehe:
Version 1.0:
- Erstes Release

Die Library ist für die nicht kommerzielle Nutzung kostenlos, Schenkungen als Unterstützung für den Autor werden hier akzeptiert:
## 6. Spenden

Die Library ist für die nicht kommerzielle Nutzung kostenlos, Schenkungen als Unterstützung für den Autor werden hier akzeptiert:

PayPal:
<a href="https://www.paypal.com/donate?hosted_button_id=G2SLW2MEMQZH2" target="_blank"><img src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" border="0" /></a>

<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G2SLW2MEMQZH2" target="_blank"><img src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" border="0" /></a>
Wunschliste:
<a href="https://www.amazon.de/hz/wishlist/ls/YU4AI9AQT9F?ref_=wl_share" target="_blank"><img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Amazon_icon.svg" border="0" width="100"/></a>

## 6. Lizenz
## 7. Lizenz

[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
Loading

0 comments on commit 293df10

Please sign in to comment.