Jump to content

Version 1.1.0 - Professional Released


Recommended Posts

Hi All,

Version 1.1.0 is ready for your hearing pleasure:

1. Bluetooth speaker support (you need to Install the Bluetooth plugin - free)

2. Live Stream/stations support

3. Volume control

Cost: $5.26

IMPORTANT NOTE:

This plugin requires the latest udx which is not in production yet (waiting for isy release in order to reduce the number of upgrades). Please follow the instructions here to install 3.5.5_6 before installing the plugins.

Enjoy!

With kind regards,
Michel

  • Like 2
Link to comment
Share on other sites

Just update to udx version 3.5.6_6 and installed audio player 1.1.0. The problem that I am having is that my speech files are being cut off before completion. Some in 1 second and others in about 3 seconds. Same files that i used in version 1.0.5 with no issue. I am using the speaker jack output. This is the log of one mp3 file played.

Thanks Gary

2024-03-12 17:17:53,225 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message command
2024-03-12 17:17:53,226 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING command
2024-03-12 17:17:53,226 Command    udi_interface.interface DEBUG    interface:_handleInput: PROCESS command message {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '1'}} from Polyglot
2024-03-12 17:17:53,226 Command    udi_interface      INFO     audio-player:processCommand: Got command: {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '1'}}
2024-03-12 17:17:53,226 Command    udi_interface      INFO     audio-player:processCommand: Playing #1:/storage/sounds/Medication.mp3
2024-03-12 17:17:53,226 Command    udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set ST to 0 to Polyglot
2024-03-12 17:17:53,226 Command    udi_interface.node DEBUG    node:reportDriver: Updating value to 0
2024-03-12 17:17:53,226 Command    udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set GV0 to 0 to Polyglot
2024-03-12 17:17:53,226 Command    udi_interface.node DEBUG    node:reportDriver: Updating value to 0
2024-03-12 17:17:53,227 Command    udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set GV3 to 100 to Polyglot
2024-03-12 17:17:53,227 Command    udi_interface.node DEBUG    node:reportDriver: Updating value to 100
2024-03-12 17:17:53,228 Thread-33  udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set ST to 1 to Polyglot
2024-03-12 17:17:53,228 Thread-33  udi_interface.node DEBUG    node:reportDriver: Updating value to 1
2024-03-12 17:17:53,228 Thread-33  udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set GV0 to 1 to Polyglot
2024-03-12 17:17:53,228 Thread-33  udi_interface.node DEBUG    node:reportDriver: Updating value to 1
2024-03-12 17:17:53,230 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '0', 'uom': 25, 'text': None}]}
2024-03-12 17:17:53,230 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '0', 'uom': 25, 'text': None}]}
2024-03-12 17:17:53,230 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV3', 'value': '100', 'uom': 51, 'text': None}]}
2024-03-12 17:17:53,231 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '1', 'uom': 25, 'text': None}]}
2024-03-12 17:17:53,231 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '1', 'uom': 25, 'text': None}]}
2024-03-12 17:17:53,263 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: ST to 0 UOM 25
2024-03-12 17:17:53,350 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: GV0 to 0 UOM 25
2024-03-12 17:17:53,393 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: GV3 to 100 UOM 51
2024-03-12 17:17:53,449 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: ST to 1 UOM 25
2024-03-12 17:17:53,490 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: GV0 to 1 UOM 25
2024-03-12 17:17:53,967 Dummy-34   udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set ST to 0 to Polyglot
2024-03-12 17:17:53,968 Dummy-34   udi_interface.node DEBUG    node:reportDriver: Updating value to 0
2024-03-12 17:17:53,968 Dummy-34   udi_interface.node DEBUG    node:setDriver: 0:AudioPlayer Reporting set GV0 to 0 to Polyglot
2024-03-12 17:17:53,968 Dummy-34   udi_interface.node DEBUG    node:reportDriver: Updating value to 0
2024-03-12 17:17:53,970 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '0', 'uom': 25, 'text': None}]}
2024-03-12 17:17:53,970 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '0', 'uom': 25, 'text': None}]}
2024-03-12 17:17:54,002 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: ST to 0 UOM 25
2024-03-12 17:17:54,090 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 0 :: GV0 to 0 UOM 25
2024-03-12 17:18:07,928 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll
2024-03-12 17:18:07,928 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll
2024-03-12 17:18:07,928 Command    udi_interface.interface DEBUG    interface:_handleInput: PROCESS shortPoll message {} from Polyglot
2024-03-12 17:18:07,929 Thread-35  udi_interface      INFO     audio-player:poll: short poll
 

 

 

Link to comment
Share on other sites

The preloaded files seem to go to completion as far as I can tell. May mp3 files are located on the 1 TB drive I installed with a path of /storage/sounds 

Edited by garybixler
Link to comment
Share on other sites

I can confirm the same as @garybixler with the volume resetting back to 100% as well as the stopping too soon of the custom messages. Mine are stored on the same drive as the samples, just a different folder. 

Question on adding radio streaming. I imagined that name is placed in "Key" and url placed in "Value" in PG3 > AudioPlayer but it doesn't seem to work.

Edit: I moved one of my sound clips to the "sounds" file in PG3 and the player still cuts the audio short. AudioPlayer seems to play about 4 seconds of a 6 second clip.

Edited by TJF1960
Link to comment
Share on other sites

@garybixler & @TJF1960, please send me one of your files that do not work to support@universal-devices.com.

For live streaming, in the configuration tab, there's a custom parameter called stations. What you need to do is:

name===url,name1===url1, .... 

e.g.

AM888===https://am888.com/live,AM999===https://am999.com/live 

You have to find the URLs for those stations.

With kind regards,
Michel

Link to comment
Share on other sites

Same here.  My custom MP3 files that are in /storage/sounds are cut short.  One created from a text to MP3 program is 6kb in size, outputting "This is a test."  Used to play fine before upgrading to the Pro plugin.  Now just makes a fast burp.  The files play fine in Windows Media Player.

Link to comment
Share on other sites

44 minutes ago, Michel Kohanim said:

For live streaming, in the configuration tab, there's a custom parameter called stations. What you need to do is:

name===url,name1===url1, .... 

e.g.

AM888===https://am888.com/live,AM999===https://am999.com/live 

You have to find the URLs for those stations.

With kind regards,
Michel

@Michel Kohanim, After upgrading to the new version of AudioPlayer there was not a custom parameter called stations. I updated, then reinstalled it 2 or 3 times with no change. I deleted it from the slot and then installed it into the same slot. Now the stations parameter showing. Steaming works great! Thanks Michel!

sound bite sent.

-Tim

Edited by TJF1960
Link to comment
Share on other sites

Thank you. It seems that the vlc library we use considers a pause as the end of the stream due to the encoding used. Will try to figure out what's going on.

I am also thinking that we add a TTS directly in the plugin so that you don't have to create audio files.

With kind regards,

Michel

  • Like 1
Link to comment
Share on other sites

Thanks Michel.

As for the TTS directly added to the plugin, I would be concerned as to the quality of the voice reading the text. It took me awhile to find a good fluent human sounding voice as good as Alexa and with my preferred tonal quality and also free.  Just my opinion.

I was also thinking that I could use the combination of output jacks and Bluetooth as a two channel source. For example set up the output jacks sourcing a paging system and the Bluetooth for streaming. I assume it would just be a matter of setting up programs for the purpose of switching between the two. Hopefully the BT would stay connected to the paired device. 

Thanks

Link to comment
Share on other sites

@garybixler,

That makes sense. With regard to speaker vs. BT, switching the output does NOT unpair the speaker. In short, you can switch the output without any issues. 

Alternatively, you can install another copy of this plugin so that you can have both simultaneously: one playing music and one making announcements without interrupting the music (warning, I have not tested this yet).

With kind regards,
Michel

  • Like 1
Link to comment
Share on other sites

If it means to create a new mp3 tts with the added underscores I tried that. What it does however is say the words underscore, underscore ...

Assuming that version 1.0.5 will still work correctly it be possible to remove my purchased 1.1.0 version so I can reload the original audio player?

Thanks

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...