Z-Blog Application Center > PHP plug-in >Listener - text to speech

Listener - text to speech

  • ID : GSListener
  • edition : one point one four
  • author : yao0O ( Author website )  Contact author
  • Official website : https://www.book101.cn/post/6.html
  • system requirements : Z-BlogPHP 1.7.2 Tenet
  • Update Date : 2023-05-24 13:09:12   Updated within one year
  • amount of downloads : seventy-nine
  • Scoring : The average score of 7 people voting is 10/10
  • PHP version : 7.0 and higher
  • size : 123KB

Please login

The GSListener plug-in helps users convert the content of articles into (synthetic) speech, so that users can [listen] to articles.


  • Play, pause and resume

  • Drag forward and backward

  • Adjustable volume

  • Only the first time synthesis is required

  • You can clean the voice file at the background article management office



This plug-in uses Baidu voice synthesis function Demo address: https://www.book101.cn/book/6/9892.html  


Before using, please register Baidu developers, create corresponding applications and obtain: Baidu developer App Key, Secret Key, or contact me.


Note: If the basic voice library has been opened but the boutique voice library has not been opened, Baidu's default basic voice options will be used for synthesis.


Register Baidu developers to obtain AppKey and other information https://login.bce.baidu.com/

Create an app and purchase a voice library:

 image.png


Front display

 image.png

 image.png


Plug in configuration

 WeChat screenshots_20220812131723.png


Article page cleaning voice file

 image.png


Update records:

Ver 1.14

1. Modify the bug caused by the name error in the background [Auto Modify Article Title] configuration


Ver 1.13

Perfect functions:

  1. Set the read aloud button behind the title to the label {$article. PlayTitle} separately

  2. Do not modify the original {$article. Title} to ensure that it is applicable in any template

  3. Add [Read aloud] button separately, please use {$article. PlayTitle}


Ver 1.12

Perfect functions:

  1. Increase the setting of the number of words for segmental synthetic speech


Ver 1.11

Perfect functions:

  1. Add exception capture


Ver 1.10

Perfect functions:

  1. [Repair] Synthesis problem when selecting Baidu Boutique audio library


Ver 1.9

Perfect functions:

  1. [Add] Automatically delete old audio files when saving articles


2022-03-04

Perfect functions:

  1. Added option to compose only article summaries

  2. Add to choose whether to play voice automatically


2021-10-29

Perfect functions:

  1. When adjusting synthetic voice, loading information and picture overlap

  2. Fix the html code problem in the title bar of the page after using tpure and starting SEO


2021-10-28

Perfect functions:

  1. Increase the switch of real-time synthetic voice

  2. If not, add the [Read aloud] button after the article title

  3. Adjust background configuration layout

  4. Add relevant description


2021-10-25

Perfect functions:

  1. On the article list page, add the audio cleaning function

  2. Perfect and optimize internal code


2021-10-20

Perfect description, etc.:

  1. Add the connection to apply for registration of Baidu developers Add the connection and description to obtain AppKey, Secret Key

  2. Add instructions for obtaining free or purchasing


2021-10-14

Perfect functions

  1. Analysis, judgment and display of the returned content of Baidu voice synthesis interface


2021-10-09

Additional functions:

  1. Split long text into blocks for speech synthesis

  2. Merge multiple mp3 files after synthesis


2021-10-04

Perfect functions:

  1. Display loading dynamic diagram during voice conversion


2021-10-01

Complete the development of basic functions of GSListener:

  1. The text in the article can be converted into voice with Baidu voice synthesis function

  2. Relevant containers can be added on the article content page to accommodate the player

  3. Baidu developer related configuration can be configured in the background


Hello, Z Blog related website has opened the real name system, please log in Bind your phone , and then make comments. Thank you for your support.

Please add QQ if you contact me. [QQ] 41203951 | [Secret code] ZblogPHP | Pay attention to the following points to avoid accidental deletion: 1) Ask questions directly; 2) Please bring the error message or screenshot; 3) If you cannot reply in time, please do not brush the screen. |Related website: [Website]: https://xabenyi.cn/ |[Room 101]: https://book101.cn  

ZBLOG Application Center - Application Purchase and Use Agreement


1. Before purchasing an app, you need to confirm whether the app meets your needs. Digital products do not support trial. According to Article 25 of the Consumer Protection Law, the app is a digital product downloaded online and cannot be refunded once it is downloaded and installed after purchase.
2. The application you purchased in the application center, Only the license of the application, and the ownership of the application still belongs to the application provider.
3. An application can only be used for a single account. Without the consent of the website and the application provider, No secondary release, gift, resale, lease, piracy, etc , otherwise we will Permanently close the user account And reserves the right to continue to investigate relevant responsibilities.
4. If The website containing the application is resold or given away, leased, etc. Please purchase the application with a new account or remove the application Otherwise, it will be deemed as violating the use agreement and permanently canceling the right to use the account.
5. Unless otherwise specified, the purchased applications only include relevant use rights and free update services, and the application center and application provider do not provide additional after-sales installation and other services.
6. The risks in your use of the application are entirely borne by the user, including system damage, data loss and any other risks.
seven Users shall not use this app to engage in any behavior that violates laws, regulations and social public order and good customs in any way. Users must bear all legal responsibilities for the possible consequences of their improper use, and the website and application provider will not bear any responsibility.
eight If the application provider and the website find that the user installs the application on illegal websites such as pornography, gambling, drugs and fraud, they will stop the user's use rights and services, and report the user's illegal information to the network supervision department.
9. The website and application providers reserve the right to change, restrict, freeze or terminate your use of certain content without notifying you and assuming no responsibility for you.


Purchasing Guide


1. Please first Registered account , and Sign in Application Center.
2. Directly click "Buy App" and follow the instructions.


Download Guide


1. The buyer logs in on his Z-Blog website, enters the background, and clicks the "Application Center" menu on the left menu bar.
2. On the home page of the "Application Center", log in using the application center registration account.
3. Enter "My Application Warehouse" to see the successfully purchased applications. Click "Download" to download and install them.


Other precautions


1. If you cannot normally access the application center through the background of your own website, please purchase carefully, because this may cause the application to fail to download and install smoothly.
2. If the paid application cannot be downloaded normally, please check Z-Blog and application updates in the background of your website. If you have updated to the latest version and still cannot download, please contact us in time.
3. The local settings may be overwritten when the update is applied. Please make a backup before the update.