| ABNet pakage | |
|
+6Jack Barlett peter le cochon Omind jacinto alain tutancamon 10 posters |
|
Author | Message |
---|
korben 15/20
Number of posts : 69 Registration date : 2007-01-20
| Subject: Re: ABNet pakage Sun 11 May - 0:38 | |
| Hello, ce n'est pas mon intention d'apporter un peu plus de confusion dans ce topic... mais... j'ai réussi à utiliser le code fourni par jacinto (merci à toi encore une fois ) et vous savez quoi ? Si, c'est vrai : ça marche, et ça donne ça : - Code:
-
####### jour nuit Layer3D{size 1 1 translation 0 0 children[ Transform{translation -.9 -.87 0 children[ DEF ico_sol TouchSensor{} Shape{appearance Appearance{material DEF mat_ico Material{ambientIntensity .8 emissiveColor 1 1 1}texture ImageTexture{url "../Textures/ciel/i_daynight.gif"}} geometry IndexedFaceSet{coord DEF _icone Coordinate{point[-.06 -.06 0,-.06 .06 0,.06 .06 0,.06 -.06 0]} coordIndex[0,1,2,3,-1]solid FALSE }} ]} Transform{translation -.75 -.87 0 children[ DEF ico_lune TouchSensor{} Shape{appearance Appearance{material USE mat_ico texture ImageTexture{url"../Textures/ciel/i_daynight2.gif"}} geometry IndexedFaceSet{coord USE _icone coordIndex[0,1,2,3,-1]solid FALSE }} ]} ]}
DEF fond_jour Background{ skyColor .278 .345 .541 frontUrl "../Textures/ciel/cote1.jpg" rightUrl "../Textures/ciel/cote2.jpg" backUrl "../Textures/ciel/cote3.jpg" leftUrl "../Textures/ciel/cote4.jpg" topUrl "../Textures/ciel/top.jpg" }
DEF fond_nuit Background{ skyColor .1 .1 .1 backUrl "../Textures/ciel/ciel_etoiles.jpg" frontUrl "../Textures/ciel/ciel_etoiles_moon.jpg" leftUrl "../Textures/ciel/ciel_etoiles.jpg" rightUrl "../Textures/ciel/ciel_etoiles.jpg" topUrl "../Textures/ciel/ciel_etoiles.jpg" }
#fond-jour DEF jour1-1 DirectionalLight{intensity .9 direction -.9437 -.2972 .1451} DEF jour1-2 DirectionalLight{intensity .8 direction .3255 -.3316 -.8855} DEF jour1-3 DirectionalLight{intensity .9 direction .755 -.252 .6054} DEF jour1-4 DirectionalLight{intensity .3 direction .1013 .9948 .003768} DEF jour1-brume Fog{color .7 .7 .7 fogType "EXPONENTIAL" visibilityRange 500}
#fond_nuit DEF nuit1-1 DirectionalLight{on FALSE intensity .1 direction 0 -1 0} DEF nuit1-2 DirectionalLight{on FALSE intensity .1 direction 0 1 0} DEF nuit1-3 DirectionalLight{on FALSE intensity .1 direction .1 .1 .1} DEF nuit1-4 DirectionalLight{on FALSE intensity .1 direction -.1 -.1 -.1} DEF nuit1-brume Fog{color .7 .7 .9 fogType "EXPONENTIAL" visibilityRange 1500}
DEF wrlscript Script { eventIn MFString receiveChat eventIn SFTime night eventIn SFTime day eventIn SFTime verchat eventOut MFString adrAv1 eventOut SFBool Alume eventOut SFBool Eteint url "vrmlscript: function day(stra) { Alume=TRUE; Eteint=FALSE; adrAv1='jour'; } function night(stra) { Alume=FALSE; Eteint=TRUE; adrAv1='nuit'; }
function verchat(stra) {adrAv1='';} function receiveChat (str,time) { if( str[0]!='jour'&&str[0]!='giorno'&&str[0]!='tag'&&str[0]!='dia'&&str[0]!='day'&& str[0]!='nuit'&&str[0]!='notte'&&str[0]!='nacht'&&str[0]!='noche'&&str[0]!='night') return;
if (str[0]=='jour'||str[0]=='giorno'||str[0]=='tag'||str[0]=='dia'||str[0]=='day') { Alume=TRUE; Eteint=FALSE; } if (str[0]=='nuit'||str[0]=='notte'||str[0]=='nacht'||str[0]=='noche'||str[0]=='night') { Alume=FALSE; Eteint=TRUE; } }" }
ROUTE SharedZone.groupChat_changed TO wrlscript.receiveChat ROUTE wrlscript.adrAv1 TO SharedZone.sendToChat ROUTE ico_lune.touchTime TO wrlscript.night ROUTE ico_sol.touchTime TO wrlscript.day ROUTE wrlscript.Alume TO fond_jour.set_bind ROUTE wrlscript.Eteint TO fond_nuit.set_bind
ROUTE wrlscript.Alume TO jour1-1.set_on ROUTE wrlscript.Alume TO jour1-2.set_on ROUTE wrlscript.Alume TO jour1-3.set_on ROUTE wrlscript.Alume TO jour1-4.set_on ROUTE wrlscript.Alume TO jour1-brume.set_bind
ROUTE wrlscript.Eteint TO nuit1-1.set_on ROUTE wrlscript.Eteint TO nuit1-2.set_on ROUTE wrlscript.Eteint TO nuit1-3.set_on ROUTE wrlscript.Eteint TO nuit1-4.set_on ROUTE wrlscript.Eteint TO nuit1-brume.set_bind
Je le mets ici au cas où celà pourrait être utile à quelqu'un d'autre. Ici ne sont gérées que 2 positions : jour et nuit. Et si ce message tient trop de place, pas de pb : virez-le Que la force du vrml soit avec vous | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: ABNet pakage Sun 11 May - 0:53 | |
| LouiZE ne vire rien sinon yaurait pas Nos membres ont posté un total de 64084 messages LOOOL merci korben , je vais regarder ça .. ça peut pas faire la pluie et le beau temps aussi ? | |
|
| |
korben 15/20
Number of posts : 69 Registration date : 2007-01-20
| Subject: Re: ABNet pakage Sun 11 May - 20:28 | |
| Hello,
par contre, ça ne semble pas marcher avec abnet2 ; dommage.
couic | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| |
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Fri 16 May - 18:44 | |
| | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Fri 16 May - 19:19 | |
| - Quote :
Free License - Terms and Conditions:
Once you've added speech to a web site, you must fill and submit a 'talking site submission form' for that site. You also have to submit this form if your web site address changes. We will then feature it in the 'Talking Sites' section of our web site, and use the information on file to notify you on future SpeechPlugin development to make sure that your web site will work properly with future and past versions of the plug-in. This requirement is waived in the Commercial license. If for any reason you wish not to submit your talking site, you must obtain the Commercial license. Each talking page in your web site must display the SpeechPlugin logo. The logo must be displayed on any page that embeds the SpeechPlugin, at all times, whether or not it is actually talking. If SpeechPlugin is installed on the client machine, it must display the logo:
If SpeechPlugin is not installed on the client machine, it must display the logo:
Please refer to 'The process of adding speech to your site' section of the technical guide for detailed technical instructions on how to display the logos properly. This requirement is waived in the Commercial license. If you wish to modify the logos or not display them at all, you must obtain the Commercial license. You are not allowed to distribute the SpeechPlugin from your web site. If necessary, your site should direct users to our web site in order to download it. Downloading the plug-in is an easy and automatic process, which can take anywhere between several seconds to several minutes, depends on the internet connection speed and the missing component(s) on the client machine. All talking pages in your web site must be accessible to the public through the world wide web. This requirement is waived in the Commercial license. If access to one or more talking pages in your web site is in any way restricted to a specific group of users, you must obtain the Commercial license.
| |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Fri 16 May - 19:46 | |
| | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Sun 18 May - 2:57 | |
| ... never mind, Tutancamon. Anyways, Windows comes with it's inbuilt TTS engine... not the best, but it doesn't need any plugins if the voices shipped with windows and office are enough for you ... Could you try if this works for you? - Code:
-
<html> <head> <title>M$ WINDOWS inbuilt TTS</title> <script language="Javascript" type="text/javascript"> <!-- speach=new ActiveXObject("SAPI.SpVoice"); var voices = speach.GetVoices(); speach.Voice=voices[0];
function speakOut(txt){
speach.Speak(txt);
} //--> </script> </head> <body> <input type="text" name="the_text" onclick="this.value=''" size=64></input> <input type="button" onclick="speakOut(the_text.value)" value="Say It"></input> </body> </html>
Huggs, P.S.: For some reason, it only works locally on my puter ... www.3d-check.com/workshop/tts.htm does not work. Probably you can't run it on a web page. At the other hand, as an hta it works : http://www.3d-check.com/workshop/tts.hta | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Sun 18 May - 14:40 | |
| - peter le cochon wrote:
- ... never mind, Tutancamon.[...]
http://web.clicknet.ro/adun/TTS.HTML - Code:
-
<html> <body onLoad="init()">
<object ID="TTS" CLASSID="CLSID:E4DFABBD-F5F6-11D3-8421-0080C6F79C42" Width="0" Height="0" >
<embed TYPE="application/x-SpeechPlugin" name="" HIDDEN > </embed>
</object>
<script language="Javascript"> TTS.Speak ("Peter I make this examplefor You!"); </script>
</body> </html> - Code:
-
TextToSpeech class = > Vtext.dll <OBJECT CLASSID="clsid:2398E32F-5C6E-11D1-8C65-0060081841DE" ID=TextToSpeech VIEWASTEXT data="DATA:application/x-oleobject;BASE64,L+OYI25c0RGMZQBgCBhB3gICAADYEwAA2BMAAA=="> </OBJECT> Thankx for Your example. Yess, ... now I know about twoo speech sinthesizers ! Wow, is so cool !
Last edited by tutancamon on Sun 18 May - 15:24; edited 2 times in total | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Sun 18 May - 15:20 | |
| It does not work for me ... What SAPI are you running? May be I must install SAPI 5.3 Btw : http://msdn.microsoft.com/en-us/library/ms723627(VS.85).aspx Sounds good to me. | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Sun 18 May - 15:31 | |
| - peter le cochon wrote:
- It does not work for me ...[...]
Boss, please, go and install that plugin. And after installation, get some voices. And then that plugin will work for You. Go to http://www.speaksforitself.com/speaksforitself/download.asp? and read with atention all text from that web-page. I use Window XP 2001 and IExplorer 6 | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Sun 18 May - 15:46 | |
| Lol, okay. It works fine. I must say that it's a tiny and fast install. It recognizes and uses the speach engines installed on the system and I've got quite a lot ... from old experiments with MS-Agent. Okay, let's give it a try for the 3D chat, Tutancamon. cYa Peter | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| |
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Sun 18 May - 16:51 | |
| - tutancamon wrote:
- What do You say about vrml avatars with talking heads ?
Lol, yes, I also taught about that ... but having 20 avatars with animated faces on a 3d world will require a 10 Core Pentium XXII ... or so. I'm still struggeling with the terms and conditions : 1) That logo is way to large 2) your pop-up method is sort of beyond law 3) and I'm not a friend of putting a lot of work into something that will be forbidden or disabled once it works... May be I try again the MS-Agent way ... http://www.microsoft.com/msagent/ There is a good SDK for it, you can design your voices and the Agent itself can be whatever you want (a tiny flag in a corner?). You can use as many agents simultaneously (for different languages), etc. etc . etc ... Downside : MS-Agent only works on SAPI 4 Keep on investigating, Tutancamon. Peter | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Sun 18 May - 20:32 | |
| ehe, he, he, ... he ... Speaking about M.S.Agents: a cool site is here: http://dogagent.com/nindex.html | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Mon 19 May - 14:23 | |
| Also, - peter le cochon wrote:
- [...]There is a good SDK for it, you can design your voices and the Agent itself can be whatever you want (a tiny flag in a corner?). You can use as many agents simultaneously (for different languages), etc. etc . etc ...
Downside : MS-Agent only works on SAPI 4
Keep on investigating, Tutancamon.
Peter That address is very, very important. ThankYou very much. But, in that place is none seriously documentation for SAPI ... Go here: MS Speech API Documentation: http://www.text-reader.com/ttshelp/ DirectSS: http://www.text-reader.com/ttshelp/adding-VB.html TRSpeaker: http://www.text-reader.com/trspeaker_English/index.html - Quote :
- TRSpeaker component is an ActiveX control that adds Text-to-Speech capabilities to your application. If your program uses this component, it can read aloud any text data. This control aggregates The MS Direct Speech Synthesis control (DirectSS). TRSpeaker has all the methods, properties and events that the MS Direct Speech Synthesis control has. So you can use it the same way as the DirectSS. Why then should I use TRSpeaker instead of DirectSS control?
Because : http://www.dirfile.com/tr_speaker_component.htm | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: ABNet pakage Mon 19 May - 20:04 | |
| ok it works for me with Sam voice | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Mon 19 May - 20:24 | |
| ... mhhhh .... yes, sounds good, Tutan. Doesn't need any Logos, at least It's the best solution by now, but you will need to convince people to download and install another more ActiveX control ... or write an installer for both, the viewer and the TTS... It will be difficult to find a TTSengine as good as the one shipped with Blaxxun... even more if we take into consideration that the whole Blaxxun install is something like 5.3 MB (viewer, tts, chat-controls). There must be a way for using the inbuilt TTS without using the server, no? .... ... that would be a goal. I've read somwhere (probably Cyworx) that you can use DLLs inside the URL of a vrml script node (or something like that) ... and that it could be probably used for sending text-strings to Blaxxun's TTS. (We) Keep on searching ...
Last edited by peter le cochon on Mon 19 May - 20:40; edited 1 time in total | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: ABNet pakage Mon 19 May - 20:28 | |
| today I got 2 points for my car , LOL Peter , I will get 2 more points tommorow 4h + 4h +4h +4h of conferences .......very long lol But I met many ppl more crazy than me ,.. the worst one on motors cars ..... btw I got too your Sam voice today , LOL , Peter thanx tutanc | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Mon 19 May - 20:46 | |
| | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| |
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: ABNet pakage Mon 19 May - 22:18 | |
| | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Tue 20 May - 10:39 | |
| - peter le cochon wrote:
- [...]All that TTS stuff is very complicated, Tutan ... and at the end it will never be as good as the Blaxxun voices. We must find out how to use the inbuilt TTS, if there's a way.
Than Boss, study this blaxxunCCpro.ocx, and make it to run without his link to blaxxun server ... | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: ABNet pakage Tue 20 May - 19:46 | |
| - tutancamon wrote:
Than Boss, study this blaxxunCCpro.ocx, and make it to run without his link to blaxxun server ... well, I guess there's not a lot to study, not having the source code (in my case : not even having it ). Anyways, tell me all you know about that ocx and it's link with the blaxxun server ... BOSS Peter | |
|
| |
tutancamon +200
Number of posts : 685 Age : 62 Localisation : Europa / România / Bucuresti Registration date : 2007-09-07
| Subject: Re: ABNet pakage Tue 20 May - 20:53 | |
| - peter le cochon wrote:
- tutancamon wrote:
Than Boss, study this blaxxunCCpro.ocx, and make it to run without his link to blaxxun server ... well, I guess there's not a lot to study, not having the source code (in my case : not even having it ).
Anyways, tell me all you know about that ocx and it's link with the blaxxun server ... BOSS
Peter If you have more time, than go and use a disassembler to study the code, and you will find routines that work with the server. blaxxunCCpro.ocx, read from the *.bxx file all informations it need to run. In that file ( *.bxx ) , if not exist URL and PORT NUMBER of server, then blaxxunCCpro.ocx, not work. ... And ofcuorse, the server must be online. : - Code:
-
<EMBED>*.WRL<EMBED> => work with 'blaxxuncc3d.ocx' <EMBED>*.BXX<EMBED> => work with our 'blaxxunCCpro.ocx' You know, when I was young, I desassembled a few programs, but it was in 'Z80' microprocessor's language ... If You know the PENTIUM's language, then will be perfect for You !
Last edited by tutancamon on Tue 20 May - 21:36; edited 4 times in total | |
|
| |
Sponsored content
| Subject: Re: ABNet pakage | |
| |
|
| |
| ABNet pakage | |
|