Adding Lua Library to Corona

I am making an app that involves using text-to-speech but there is not an API for that in Corona, could I bring in a Lua Library that does text-to-speech? [import]uid: 57095 topic_id: 34584 reply_id: 334584[/import]

If it’s a pure lua module you should be able to drop it in the folder with your mail.lua and use “require” to load it. If that module though uses dostring() or a couple of other dynamic loading methods, it may not work, or if it needs access to some compiled binary libraries it probably won’t work.

[import]uid: 199310 topic_id: 34584 reply_id: 137523[/import]

To make sure I understand you, using this library would not work because it requires installing a few components, http://lua-espeak.luaforge.net/. [import]uid: 57095 topic_id: 34584 reply_id: 137693[/import]

That library will not work – the Lua part is just a binding to espeak, which is not Corona-friendly.

Well, possibly it might work with Corona Enterprise, but I don’t see an easy or cheap solution for text-to-speech there. :frowning:

Jay
[import]uid: 9440 topic_id: 34584 reply_id: 137699[/import]

If it’s a pure lua module you should be able to drop it in the folder with your mail.lua and use “require” to load it. If that module though uses dostring() or a couple of other dynamic loading methods, it may not work, or if it needs access to some compiled binary libraries it probably won’t work.

[import]uid: 199310 topic_id: 34584 reply_id: 137523[/import]

To make sure I understand you, using this library would not work because it requires installing a few components, http://lua-espeak.luaforge.net/. [import]uid: 57095 topic_id: 34584 reply_id: 137693[/import]

That library will not work – the Lua part is just a binding to espeak, which is not Corona-friendly.

Well, possibly it might work with Corona Enterprise, but I don’t see an easy or cheap solution for text-to-speech there. :frowning:

Jay
[import]uid: 9440 topic_id: 34584 reply_id: 137699[/import]