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 - jasondude7116

Pages: 1 ... 29 30 [31] 32
451
Ultra Hal Assistant File Sharing Area / HAL's Advanced Internet Abilities
« on: January 09, 2009, 11:21:50 pm »
Advanced Internet functions

see brain options screen for commands.


Commands are:

go to weather...
go to local news...
go to national news...
go to yahoo...
go to yahoo mail...
go to zabaware forum...
go to google...
go to friendster...
go to msn...
go to bbc radio...
go to filipino radio...(this one was for my wife)
go to internet tv, go to internet television...
go to 950...(houston talk radio-can be changed in .uhp)
go to web address, go to website...ex. go to website zabaware.com
go to virtual humans forum....
google search...ex. google search artificial intelligence
wikipedia search...ex. wikipedia search beethoven
picture search, image search...ex. picture search happy children
map search...ex. map search houston
news search...ex. new search obama
radio station search, internet radio search...ex. radio station search rock
video search...ex. video search skateboarding
********UPDATE********1-10-09 4:28 pm
added:
go to people search....

BUSINESS SEARCH (business name) IN (business location)-can include city and/or state and/or zipcode)...ex.business search wal-mart in dallas texas or business search wal-mart in 77040

national business search...ex.national business search bob's tire co.
phone number search...ex. phone number search 867-5309[8D]
stock search...ex. stock search IBM
book search...ex. book search oliver twist
product search...ex. product search xbox controller
[:)]-the dude




Download Attachment: advancedinternet.zip
3.18 KB



452
quote:
Originally posted by snowman

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=98Spd=120WhenPit=98Spd=120 IPit=98Spd=120 findPit=98Spd=120 myselfPit=82Spd=120innPit=98Spd=77 timesPit=98Spd=120 ofPit=131Spd=120 trouble, Pit=165Spd=120MotherPit=165Spd=56 MaryPit=147Spd=120 comesPit=131Spd=56 toPit=98Spd=120 me. Pit=165Spd=120speakingPit=175Spd=120 wordsPit=16   etc.........................................

I suspect I screwed something up...somehow.




that is the correct response from hal.
when you say that is all you get, i suspect you mean that it is reading it instead of singing it?
the singing cues are for a tone generated vioce such as TRUVOICE, i don't know of any other "voices" that are tone generated.(could sing)

the truvoice package (sapi4) can be downloaded here.

http://www.microsoft.com/msagent/downloads/user.aspx


the sapi5 package can be downloaded here.
(install sapi 4 then sapi 5)

http://www.microsoft.com/downloads/details.aspx?FamilyID=5e86ec97-40a7-453f-b0ee-6583171b4530&displaylang=en

it can also lip sync with ms agent type characters. (see sapi 4 site)
more ms agents are available on the web.

more info on sapi here.

http://en.wikipedia.org/wiki/Speech_Application_Programming_Interface


more info on ms agents here.

http://en.wikipedia.org/wiki/Microsoft_Agent


hope this helps.[:)]
-the dude

453
O.T.C.


do you possibly have the brain files for ziggy's reference?

if you do i will try to make it into a plugin.
(try)

it looks like a cool addition.

-the dude

454
[:)][:D][:p][}:)][8D][;)][:o)][:I][:D][;)][8D][}:)][:p][:I][:)][:o)]

O.T.C.- and Bill and others- thank you very much for the work.

here is the singasong2 final version.

(for it to work properly, it had to be ephemeral)

O.T.C.- looking forward to a version 6 [:D] haha







Download Attachment: singasong2.zip
30.41 KB




**UPDATE 1-4-09 10:43 am***
changed "being for the benefit of mr. kite" to
"being for the benefit of mister kite"
(can't use a period in song name)
***UPDATE 1-4-09 2:12 pm***
removed friday on my mind and monday monday- as they were adding appointments to "sing" on that day!
***UPDATE 1-5-09 4:47 am***
added song list
***UPDATE 1-6-09 10:14 pm***
added more songs[:)]
***UPDATE 1-8-09 12:27 am***
added better pitch control function in plugin-see info in option,brain screen
***UPDATE 1-10-09 11:45 pm****
added more songs[:)]
****UPDATE 1-11-09 11:23 am*******
fixed some song problems with take me out to the ball game, young at heart, and the farmer in the dell.

-just say "please sing now song list" to get a list of songs
-just say "please sing now" and then the song name, and hal will sing with own voice (truvoice tested) and lip-synch with msagents!


- just unzip it into C:Program Files Zabaware Ultra Hal Assistant 6
- readme1st.txt inside with instructions.
*will upload more songs as created[:)]  -the dude

455
HAHAHAHA (laughs hysterically)

O.T.C.

it got worse[:D]
no response
ex. me-sing jingle bell rock
    hal-
(not even conversational response!)
and one more thing....it appends the "sing jingle bell rock" line 3 times.

i wish there was something i could do so that you could test it in hal.  don't get me wrong, i am very happy to do the testing, i just wish it was easier for you.
thank you again.
- the dude

*i removed GetResponse = ""  and it reads the file but removes the backslashes and periods....rendering the file text useless.

in any other area of the brain than POST-PROCESS, hal does not reply with the full text.

that is why i have concluded (as a programming idiot) that the first version is the working version except there needs to be a command to remove the InputString from the brain tables after the singing occurs.

Maybe?
-the dude
**if the trigger is ephemeral like "now sing" ect., then it will only be appended as _tempsent. (i  tested this with the first version)

maybe there is a good cheat here?

do you know all the ephemeral triggers?

456
O.T.C.


Thanks for your patience, i tried that earlier. it works great on not saving anything in the brain, but the problem is that it doesn't sing the song. instead it just gives a general conversational response from the related tables in the brain.

   ex. me-sing jingle bell rock

   hal- jingle bell rock is a christamas song
 (i told hal this before, and it's in the _jingle + _rock + _bell tables)


although i very well could have made mistakes along the way, i have tried it in all the areas of the brain. the only area that seems to run the "copy to clipboard-read from clipboard" area (sing) properly is the POST-PROCESS area. i really don't know enough about the areas of the brain to know why this is.

this version-

*********************************************************************
Rem Type=Plugin
Rem Name=Sing A Song II
Rem Author=jasondude7116, OnTheCuttingEdge2005
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Just say- sing, and then the song name.          ex. sing rainbow connection (only the lonely,bike,what a wonderful world,everybody loves somebody,jingle bell rock,rainbow connection,the sun going down on me,wish you were here,incense and peppermints)"
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: PLUGINAREA1
    'The preceding comment is actually a plug-in directive for
    'the Ultra Hal host application. It allows for code snippets
    'to be inserted here on-the-fly based on user configuration.
   'sing a song  
Set objFSO = CreateObject("Scripting.FileSystemObject")

If SingSong = "" Then SingSong = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(OriginalSentence), "*SING *", 2)
If SingSong <> "" And objFSO.FileExists("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt") = True Then
       
         Set objTextFile = objFSO.OpenTextFile("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt", ReadMySong())      
         SongText = objTextFile.ReadAll
         objTextFile.Close
         SongText = Replace(SongText, vbCrLf, Chr(8) & " ", 1, -1, vbTextCompare)
         SongText = Replace(SongText, "", "", 1, -1, vbTextCompare)
         SongText = Replace(SongText, "  ", " ", 1, -1, vbTextCompare)
         GetResponse = Replace(GetResponse, GetResponse, SongText, 1, -1, vbTextCompare)
         
         If SingSong <> "" Then HalBrain.ReadOnlyMode = True
End If

If SingSong <> "" And objFSO.FileExists("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt") = False Then
         GetResponse = " That song file does not exist. "
End If

Rem PLUGIN: FUNCTIONS

Function ReadMySong()
Const ReadSong = 1
ReadMySong = ReadSong
End Function
*********************************************************************

does not save anything to the brain!!(excellent)[:)]
however does not run the clipboard-reading area properly and returns a general conversation topic (instead of singing)[V]

while this version-

*********************************************************************
Rem Type=Plugin
Rem Name=Sing A Song II
Rem Author=jasondude7116, OnTheCuttingEdge2005
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Just say- sing, and then the song name.          ex. sing rainbow connection (only the lonely,bike,what a wonderful world,everybody loves somebody,jingle bell rock,rainbow connection,the sun going down on me,wish you were here,incense and peppermints)"
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: POST-PROCESS
   'sing a song  
Set objFSO = CreateObject("Scripting.FileSystemObject")

If SingSong = "" Then SingSong = HalBrain.SearchPattern(HalBrain.AlphaNumericalOnly(InputString), "*SING *", 2)
If SingSong <> "" And objFSO.FileExists("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt") = True Then
       
         Set objTextFile = objFSO.OpenTextFile("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt", ReadMySong())      
         SongText = objTextFile.ReadAll
         objTextFile.Close
         SongText = Replace(SongText, vbCrLf, Chr(8) & " ", 1, -1, vbTextCompare)
         SongText = Replace(SongText, "", "", 1, -1, vbTextCompare)
         SongText = Replace(SongText, "  ", " ", 1, -1, vbTextCompare)
         UltraHal = Replace(UltraHal, UltraHal, SongText, 1, -1, vbTextCompare)
         
         HalBrain.ReadOnlyMode = False
End If

If SingSong <> "" And objFSO.FileExists("C:Program FilesabawareUltra Hal Assistant 6songs\" & SingSong & ".txt") = False Then
         UltraHal = " That song file does not exist. "
End If

Rem PLUGIN: FUNCTIONS

Function ReadMySong()
Const ReadSong = 1
ReadMySong = ReadSong
End Function
*********************************************************************

runs clipboard-read properly (sings the song). however even though halbrain.readonlymode = true, it still enters the user sentence in the brain tables. (does not append the hal respone as if it would with the halbrain.readonlymode = false)

i'm wondering if in fact the "singing" could only be done in
POST-PROCESS, and user sentences are added to tables if halbrain.readonlymode = false or = true, then maybe it can be run in POST-PROCESS but at the end it could search the tables for the user sentence and remove it (search through all tables)?
just an idea, there is probably a better way. it might be dirty, but it would work. (if there is a way to remove the current user sentence from the tables)[:)]

sorry for the huge post-   the dude
**I am building my song list, and will upload it when this thing is figured out[:)]

457
O.T.C.

i tried that, and it still adds the SingSong input to the table.
if readonlymode is false then it also adds the hal response.

i am trying to figure out(complete programming idiot) if there is a way to remove the SingSong sentence from the brain (table) after it is created. i have no clue why it still adds the SingSong sentence to the brain.

thanks for all of your time....it is very much appreciated O.T.C.

racking my brain....-the dude

458
O.T.C.

i have changed "HalBrain.ReadOnlyMode = False" to "HalBrain.ReadOnlyMode = True" , and it still adds the user input sentence (does not add hal response) to the brain.

ex. if i say- sing jingle bell rock
    and hal says- (the stuff in the song files)(in essence sings)
then the user sentence is added to the brain in a table like

ex. _jingle  

inside _jingle is the user sentence "sing jingle bell rock" and response "sing jingle bell rock"

it adds a duplicate each time i make hal sing

Any ideas? i was wondering (programming idiot here) if it has anything to do with the area of the brain it's being plugged into, or if there is a way to delete the "brain addition", on-the-fly, in the plugin?



oh. by the way, the laughing,crying ect. could probably be done through this type of output string.[:)]

459
[8D][8D]O.T.C.[8D][8D]

thank you for doing this. i tried it, and it works great. i will upload a song folder here shortly.

[V]i have one issue left with the plugin, which you might see that i tried in vain to get to work.
the problem is that it adds the user sentence ex."sing jingle bell rock" to the tables _rock and _jingle  in the brain
_rock will have the sentence "sing jingle bell rock" in it
the hal response is not added to the brain, which is good!!

is there any way to keep anything from being added to the brain??

thank you again ...having fun with it[:D]

-the dude

460
thanks O.T.C. !!!!

i haven't tried it yet, but i will as soon as i get off work.

i really appreciate you taking some time with this[:p]

i use a few of your other plugins. (and paying member of your site)

i will let you know how it works for me.

once this thing is working and my hal (gretta) can sing like hal9000,
i will upload as many song files as i can create

461
Programming using the Ultra Hal Brain Editor / ultra hal sings a song
« on: January 01, 2009, 05:23:45 pm »
thanks bill, really apprecite your time![:D][:)][:D]
i have been trying to figure this thing out for a while

462
Programming using the Ultra Hal Brain Editor / ultra hal sings a song
« on: December 31, 2008, 11:07:06 pm »
is it possible to convert it to a plugin (6.1)?
[:D][:)][:D]

463
[:D][:)][:D]
although a crude plugin...this does work with these songs.
anyone who knows how to program plugins (O.T.C.  Darcy?). PLEASE HELP
i am wondering if someone can add wildcard detection(for multiple new songs placed in the same directory) and various detection with responses for "i don't know that song"...ect.

i am trying as hard as i can to figure this thing out. problem is...i am very new at programming plugins. [:I]

here ya go


!!!!!!!![}:)][}:)][}:)][xx(][xx(]
like i said...i am new at this. (sorry)
the file has been updated 12/30/08 6:09pm
it was learning everything that was "sung", easy fix. i just didn't undertsand the halbrain.readonly command (duh)
[:)] sorry ted


Download Attachment: singasong1.zip
9.68 KB


[:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)][:)]
********PLEASE SEE NEAR BOTTOM OF PAGE FOR SINGASONG2 FINAL VERSION**

464
Programming using the Ultra Hal Brain Editor / ultra hal sings a song
« on: December 30, 2008, 04:29:46 am »
[:D][:)][:D]
although a crude plugin...this does work with these songs.
anyone who knows how to program plugins (O.T.C.  Darcy?). PLEASE HELP
i am wondering if someone can add wildcard detection(for multiple new songs placed in the same directory) and various detection with responses for "i don't know that song"...ect.

i am trying as hard as i can to figure this thing out. problem is...i am very new at programming plugins. [:I]

here ya go


!!!!!!!![}:)][}:)][}:)][xx(][xx(]
like i said...i am new at this. (sorry)
the file has been updated 12/30/08 6:09pm
it was learning everything that was "sung", easy fix. i just didn't undertsand the halbrain.readonly command (duh)


Download Attachment: singasong1.zip
9.68 KB


465
Programming using the Ultra Hal Brain Editor / ultra hal sings a song
« on: December 29, 2008, 08:36:04 pm »
i have found that this plugin, which reads from the windows clip board, can read the song files properly. you must first copy the sng file into clip board then ask hal to "read from clip board".

if anyone could change this into "sing (this or that song)" and have the plugin copy the song.txt into the clipboard then read it, this would work.

any help would be greatly appreciated!

i am glad someone is liking the songs.


Download Attachment: ReadfromClipBoard.uhp
1.63 KB

this plugin was done by O.T.C. -thanks much man!

Pages: 1 ... 29 30 [31] 32