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
Location: Hong Kong
Contact:

Programmer sought to make stack run on webpage

Post by SimonV » Fri Jan 13, 2023 8:07 pm

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: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Programmer sought to make stack run on webpage

Post by richmond62 » Fri Jan 13, 2023 10:10 pm

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: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus » Sat Jan 14, 2023 4:03 pm

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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Sat Jan 14, 2023 4:09 pm

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: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus » Sat Jan 14, 2023 4:34 pm

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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Sat Jan 14, 2023 7:15 pm

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: 7229
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Programmer sought to make stack run on webpage

Post by jacque » Sat Jan 14, 2023 7:20 pm

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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Sat Jan 14, 2023 7:32 pm

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: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus » Sun Jan 15, 2023 1:09 pm

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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Mon Jan 16, 2023 7:16 am

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: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus » Mon Jan 16, 2023 9:33 am

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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Mon Jan 16, 2023 6:45 pm

OK Klaus. Can you think of anyone who could do this?

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Programmer sought to make stack run on webpage

Post by SWEdeAndy » Tue Jan 17, 2023 9:22 am

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
WhenInSpace: https://wheninspace.se

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Programmer sought to make stack run on webpage

Post by Klaus » Tue Jan 17, 2023 3:58 pm

SimonV wrote:
Mon Jan 16, 2023 6:45 pm
OK 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
Location: Hong Kong
Contact:

Re: Programmer sought to make stack run on webpage

Post by SimonV » Wed Jan 18, 2023 7:23 pm

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

Post Reply

Return to “Developer Services Marketplace”