Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - snowman

Pages: 1 ... 60 61 [62]
916
Ultra Hal Assistant File Sharing Area / Hal's JOURNAL (CAPTAINS LOG)
« on: January 30, 2009, 11:32:38 pm »
Hey Dude, I figured how to make it write multiple sentences all at once or individually. It also doesn't need to be forced into lower case now. I still need to do some more work with it though but I'm making good head-way. I wrote this to keep you up-to-date.

I'm having nearly to think outside the box it seems to accomplish this. Sorry I haven't posted what exactly I'm doing. I'm trying so many different things that it would be hard to do that.

Hal is processing sentences individually so even though a user has written them all at one time Hal still processes them one at a time. In order to process all the sentences so to be appended to a single file then something in hal would have to be turned on. Like to begin dictation you would say "Start Journal" and then when you were finished you could say "End Journal" or something like that.

So What needs to be done is when you say "Start Journal" a piece of information needs to be either created in the database or as an individual file and then a VBScript decision can be made. For instance, If DataExists = true then LogCont = 1 and If DataExists = False Then LogCont = 0. So if you were to say "Start Journal" then the "switch" would be turned on and all the sentences you said afterwards would then be recorded in your dated Journal file. The same thing can be done with "End Journal" you would just change the data back to the original state by that user command and the LogConst would thereby change to not allow record journal dictation.

I'm about half way there I think. We'll get there yet.

If anybody here knows of a way of appending data to the database, like 'journal file is running, and then to compare it to a variable like I mentioned above then that would be cool.

I only know how to create a .txt file and then check its data for comparison's sake.

917
Ultra Hal Assistant File Sharing Area / Hal's JOURNAL (CAPTAINS LOG)
« on: January 29, 2009, 02:58:31 pm »
'Dude' that is awe inspiring![:)][:D][8D][:)][:D][8D][:)]

I knew that allot of people had read the readastory topic and that they would deffinately be at least curious about helping.

However, I didn't know you were going to tackle your own demon.[8D]

[:)]You did good, Dude, you did good.[:)]

I was looking at your code. If anything that I might learn something from it. I know very little about scripting (for now) but I'm generally a fast learner. It takes a highly organized mind to create a script that is worth it's code so I commend you on your work.

I can see some room for improvements and expansion on your journal.zip. But since you laid out the outline then others or even yourself (or even me) can find it easier to build on this pluggin.

I hope others here at zabaware like O.T.C.E. - ramccoid - Darcy - will - lightspeed - ted - One ect. and all those interested parties will add there 2 cents worth (or perhaps even $1.50) in this coding project. All your ideas and code snippets would be greatly appreciated.

There truly is allot of potential with idea.

By the way dude GET SOME SLEEP!  1-2 hours of sleep per night over time will cause death.....or flat-out insanity. I think the minimum is 4 hours a night. I end up with about six.

Last night I decided to see if I could work my magic with your file appending idea and I managed to append without any problem with sentence punctuation. I appended multiple sentences all at once and individually using the..
objOutputFile = objFSO.OpenTextFile("C:Program FilesabawareUltra Hal Assistant 6storyLog.txt", 8, True)
objOutputFile.WriteLine(ImputeString)s

I'll explore my idea a little further or until I permanently crash Hal. Whichever comes first.[;)]

Thanks Again 'Dude, your pluggin are cool! [;)][8D][:)][:D]

918

Hal can remember phone numbers, email addresses, street addresses, appointments, birthdays. It can run programs, browse the internet, give us the weather, give basic definitions. About the only thing left is keeping track of larger datafiles.

Hal should be able to store and read encyclopedia articles, a captains log, as well as sing songs, read stories, read books, perhaps store recipes, or even be agile and be able to store any size of text with any title you choose to give it so it could keep track of anything you wish. Like a blackberry... only cut and paste. All this or most of this 'should' be designed into the Hal brain itself.

Some have been working on the Wikapedia pluggin, you did a good job on the readastory and singasong, reading a book could easily be apart of the readastory, only it would be in chapters and perhaps read in succession as you said Dude:
"if you said read log entry 1.22.09 it could read all the 1.22.09.* files or you could say read log entry 1.22.09.1 for a specific entry." only instead of entry dates it would be chapters.

Things like recipes, How to's, or even employee and statistical information should be apart of Hal. It would definitely make Hal more useful and appealing to a larger customer base.

Yep, I think this is getting bigger than you and I.
Anybody know where the big dogs live. Here boy![8] [:)]

919
That is an awsome idea!

It could automatically give the entry a date so later you just refer to that particular journal date.

Star Date 1.22.09 -- the dude has come up with another brilliant idea

Star Date 1.22.09.001 -- must remind the dude that (I'm not sure) string lengths have a maximum lenth.

Star Date 1.22.09.002 -- probably still need to append to the same file because string length would significantly reduce each entry log.

Star Date 1.22.09.003 -- Not to mention the fact that most people would use this feature so much that....

Star Date 1.22.09.004 there would potentially be thousands and thousands of individual files with there own star date.

Does anybody know for sure how long a String can be in Hal? I know that Hal can only process so much but whats the potential of a possible string length that can be used for the dudes purposes?

Keep up the good work Dude. Im sure Jean Luc would be proud.[:)][8D]

920
62KB is approximately 10,500 words or 44 pages of average print.

That's a reasonable size for most topics. Although books would then be out of the question.


921
I found out what the problem was. But not untill I re-installed Hal, and all his accessories. I tried Art's advice already, however, what I should have done is shut Hal down before I started the HapSAPISetup.exe.

It Worked.


I wander how many computer related suicides have there been over the last 50 years? Art? Dude? Anybody?[B)]

Oh well, At least thats the end of that topic, (famous last words!!)[:D]

922
I meant it when I said I really didn't care for the other voices anyway. Except maybe for nostalgia's sake. Like Peaty, for instance, sounds like he used too when he was a desktop assistant (spyware)several years back. You didn't know what he was doing, but hey, I thought he was cool.

It seems that Kate and Paul just gave up. Like I said before, they work every where else, including in Hal options. I think that there could be a problem in Hal itself. Maybe I should just re-install him. Hmmmm.[?]

Well, I'm new (very, very new) at programming. Hal got me interested in it (so-to-speak). So for 20+ years out of programming you're doing good from my point of view. By the way, 20 years ago I was 9.[:p]

Here's what I thought of so far about the StoryListener part of your readastory.zip.

First of all we would need to establish a title for the text that would reflect the subject material. Maybe you could say something like: "I want to tell you about .Subject" and then Hal would create a .text file called .Subject.

Because it would be difficult to write a story on one string through the ImputeString window, You could append line-upon-line to the .Subject.text file that has already been created earlier. I think 'Set objTextFile = fso.OpenTextFile("Subject.txt", 8, True)' appends to text documents.

The Hal User would then say something like 'The End' when he was finished to end the function.

Any STORY ADDITIONS would be added when the User would say something like 'I want to say more about .Subject'. Then the next lines would continue to append to the stated document, .Subject.

Again, Say something like 'The End' would effectively end the function and return the User to normal Hal mode.

Deleting the story or any part of it might be a trick. Outside of finding and deleting or editing it manually. You have to do this, as with everything else you teach Hal, so I guess this is acceptable. (It would be nice if this could be done under the brain editor console.)

During this function Hal would not record or respond with any typical hal response. (I wander if that would be difficult to do)

Afterwards you could use your readastory pluggin to re-read the information. You might have to re-name the pluggin to reflect a more universal tone. It would store and retrieve any information you feed it.[:)]

You could say something like 'Please tell me about .Subject' and it would then retrieve it.

It would also be nice if the Hal's console had a 'shut up' button. It would be handy with this pluggin for certain. Especially if he got into a whopper of a tale. I know that all you have to do is either select an option button or just exit Hal and it would do the same thing. Maybe there is a way of shutting him up through the Impute window. Like saying 'Be Quiet' or 'Die Devil’s Spawn'. [:(!][V]

Alias: Aaron W Snow
Happy Code Hunting[8D][:D][:p]

923
I have Windows Vista Ultimate and it only supports Microsoft Speech SDK 5.3. I found that out after you gave your advice on seaching it further on the internet. Thanks.
   Of course I didn't realize this untill I installed SAPI 4 and 5.1 first. Then Hal wouldn't let me use Kate and Paul. I could use them in the Hal Options but not in the main console. Hal would just spit out text and not speak. (Unlike before when Hal wouldn't sing). I finally used Microsoft Anna. She works in Hal but doesn't sound as good as Paul and Kate.
  After I realized I needed to unintall SAPI 4 and 5.1 I realized I uninstalled all the voices except for Anna, Paul, and Kate. Oh well, I didn't need them anyway. After that I tryed Hal using Kate and Paul and again they would only work in the Hal options and also in the Hal's Text-to-Speek reader but not in the console.
   Anna still works. At least she hasn't left me.
Any suggestions would be a plus.

  I have a suggestion on a new pluggin jasondude7116. I've notice the readastory.zip, poempack1.zip, advancedinternet.zip, and of course the infamous singasong2.zip. How about a pluggin that would allow you to tell Hal a story and then it would store it on a .txt file. Then later you could run your cool readastory plug and it would include it and any additional storys you told as well. Allot of extra data could be stored like this. For instance, you could store technical information, encyclopeadia articles, How-to's, the possibilies could be endless. Perhaps you could even append information to previously spoken staments.

Anyway it was just an idea.[:D]

I hope you keep this up. Your deffinately inspiring me on the posiblities of Hal.

Peace out dude.[8D]


924
I seem to be having some trouble with your singasong2.zip
When I type in "please sing now let it be" all I get is this....

.Chr="Monotone"\Pit=98\Spd=120WhenPit=98\Spd=120 IPit=98\Spd=120 findPit=98\Spd=120 myselfPit=82\Spd=120innPit=98\Spd=77 timesPit=98\Spd=120 ofPit=131\Spd=120 trouble, Pit=165\Spd=120MotherPit=165\Spd=56 MaryPit=147\Spd=120 comesPit=131\Spd=56 toPit=98\Spd=120 me. Pit=165\Spd=120speakingPit=175\Spd=120 wordsPit=16   etc.........................................

I suspect I screwed something up...somehow.

Pages: 1 ... 60 61 [62]