Programmer sought to make stack run on webpage

This is the place to offer or seek development services - offer to build apps for others or find a developer to work for you

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Programmer sought to make stack run on webpage

Post by SimonV »

A while ago, with the assistance of Klaus, I made a Livecode stack that converts phonetic sound symbols into live sound: you type, it speaks.
It works well but is not currently up to the latest Apple standards.

I would like to know if it would be possible to make it run on my s4phonetics website with HTML5.
If that can be done, I would like to find a clever person who could assist me in making it happen.
I am not much of a programmer.

I look forward to hearing from you.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Programmer sought to make stack run on webpage

Post by richmond62 »

As a holder of a M.A. in Linguistics (SIUC Carbondale) I might have a go, but, unless you post the stack I won't know where to begin.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus »

I just had a look at the old stack and I'm not sure if this will be possible with LCs HTML5 export.
It creates and uses a temporary M3U file and an external application SOX to play the sounds.
-> https://sox.sourceforge.net
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

Hi Klaus.
Might it be possible to change the way the stack works so that it could run on a website?
What do you think…
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus »

Maybe with a long JavaScript?
As I wrote, no experience in web-stuff, sorry.
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

If you Google “sound file concatenation with javascript” you will get a lot of results. It seems to me that there must be a way to gather together sounds into a single one with Javascript.

My understanding of HTML5 is that it automatically converts Livecode code into Javascript code that can be run on a webpage.

If the above is correct, then it should be possible to write the part of my application that takes the sounds associated with the phonetic symbols in Javascript directly and add it as an external resource.

So, maybe, I need to find a Javascript developer to just do that.

It would be nice if that could be done, and a publicisable achievement for HTML5.

I want to make this happen.

Please help.
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Programmer sought to make stack run on webpage

Post by jacque »

SOX runs on Linux and most servers use Linux, so it should be possible to call out to SOX on a server. I don't know how, but if you could get the right javascript commands it might work using "do as javascript".
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

I found this, for instance:

Tiny ****.js module to concat multiple audio files using ffmpeg
audioconcat provides a programmatic interface to do basically the same as calling ffmpeg via CLI like:
ffmpeg -i "concat:(@@@@@1).mp3|@@@@@.mp3" -acodec copy %%%.mp3


But I don't know anything about Javascript…


PS
**** = node
@@@@@ = audio
%%% = out
otherwise I can't post
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus »

I don't think that you need to concatenate the files, just look for a way to use JS to play the resulting M3U file which the stack will produce. Something like this: https://github.com/opi/m3uStreamPlayer
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

Klaus, If you cooperated with a Javascript developer, do you think you could sort this out for me and make my application run on my website?
It is outside my competence.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus »

Sorry, Simon, I don't have a HTML5 license and this is also outside my competence.
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

OK Klaus. Can you think of anyone who could do this?
SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 328
Joined: Sat Aug 16, 2008 9:48 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SWEdeAndy »

This should be doable. Getting the HTML5-deployed LC stack to cooperate with the m3u player is indeed the crux, and may well require help from a javascript expert (which I'm not). But I do have an HTML5 license and have experimented a bit with LC stacks on web. We could always do a preliminary test and see where we run into trouble, and then take it from there.
Andreas Bergendal
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
(WIS_WebDeployHelper, WIS_ScriptDependencies, WIS_BrowserAnimation)
WhenInSpace: https://wheninspace.com
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus »

SimonV wrote: Mon Jan 16, 2023 6:45 pmOK Klaus. Can you think of anyone who could do this?
What about SWEdeAndy for a start? :-)
SimonV
Posts: 10
Joined: Tue May 28, 2013 7:31 am
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV »

Hello SweAndy, I will email you.
(starts writing a message)
Post Reply