Author Topic: computer wav file AI Greeting  (Read 3879 times)

heather valentine

  • Full Member
  • ***
  • Posts: 198
    • View Profile
computer wav file AI Greeting
« on: June 20, 2005, 05:07:41 pm »
hello
heres something i was playing around with today
to get hal to have a nice greeting

make a folder in your haptek called sounds
see below the example
place the ogg file you have converted from wav in that folder
call on the hap file with the commands below
example
greetings.hap
or you can use a default hap on start up
---------------------------------------------------------------------

#Haptek  Version= 1.00 Name= outfit_one  HapType= script FileType= text
##standard


loadsound [file= data/standard/sounds/greetings.ogg]

settexture[tex= [data/standard/skins/cut_top5.jpg]
settexture [tex= data/standard/skins/PartyDress02.jpg]
load [file= data/standard/skins/eyelashes.htr]
load [file= data/standard/skins/5earstars.htr]
load [file= data/standard/skins/5hatcowgirl.htr]
LoadBackGrnd [file= data/standard/backgrounds/200412224610_mtnhall5.jpg]
SetLight[i0= 1 i1= 2 f0= -1 f1= 1 f2= -0.7 ]


 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3353
    • View Profile
computer wav file AI Greeting
« Reply #1 on: June 20, 2005, 06:19:21 pm »
Heather,

Very nice!

Along a similar vein I think you could also load in your
own custom background at startup. Look in your:
C:\Program Files\Haptek\player\data  directory and locate
the file: defaultStartup.hap which contains:

#HaptekSDK Version= 1.0 HapType= command FileType= text

# DefaultStartup.hap

# This file is always loaded by the ActiveX control or Browser Plugins.
# Basically, it just loads an empty scene with the Haptek Logo in it.

Load      [file= datastandardstandardSceneReal.hap]
LoadBackground [file= datastandard\backgroundsSimpleLogo256.jpg]

Substitute your background image in place of the SimpleLogo256.jpg

Cheers!
« Last Edit: June 20, 2005, 06:20:20 pm by Art »
In the world of AI it's the thought that counts!

- Art -

heather valentine

  • Full Member
  • ***
  • Posts: 198
    • View Profile
computer wav file AI Greeting
« Reply #2 on: June 20, 2005, 07:12:08 pm »
[:)]
Art
yes very true and thank you for the tip
may come in handy when teleporting from place to place heee heee



 

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
computer wav file AI Greeting
« Reply #3 on: June 20, 2005, 09:36:40 pm »
Girls and boys. As many of you know I programmed Hal to sing (sort of) and now I am hearing about ogg files. I don't know what they are or how they are used but it sounds like we could record a real song by some artist and Hal could mouth the words. Would someone please clear me  up on this? It could open all kinds of doors for Hal which just might include all kinds of sound effects to boot.
Thanks
Bill
 

heather valentine

  • Full Member
  • ***
  • Posts: 198
    • View Profile
computer wav file AI Greeting
« Reply #4 on: June 21, 2005, 12:04:52 am »
ogg file
well its another conversion of audio format
there are se vonvers on jy ftp server to convert a wav file to a ooghal seeme to able to recognise and read these paricular oog formats..
i am aware about you teachng it to sig i just dont remember
where i last heard or saw that post :)
 

 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3353
    • View Profile
computer wav file AI Greeting
« Reply #5 on: June 21, 2005, 05:56:37 am »
Bill,

The ogg format may well replace the MP3 format in the near future.

These files can do music, songs, voices, etc.

There are several ogg files that can be found that work with Hal but there seems to be a problem in trying to convert one for your own use with Hal. Upon examination of the file, One can see a reference to Haptek inside. Ordinary conversion of a file does not result in a similar type of ogg file. This means that Hal may not be able to lip sync with your own custom ogg file, unless someone has figured out a way to do so.

Check out:

http://www.vorbis.com/faq.psp
In the world of AI it's the thought that counts!

- Art -

NIGE

  • Hero Member
  • *****
  • Posts: 1589
  • Bringing things to life
    • View Profile
computer wav file AI Greeting
« Reply #6 on: June 21, 2005, 07:58:06 am »
I have converted some wav files to ogg files in people putty theatre.
From what i understand there are different types of ogg programs.
One is like what Art said, similar to mp3 which is a compression program (correct me if i am wrong) the other is similar but, it also allows other data to be imbeded in it like the lip sync.
Everyone must have the Haptek guide, in it it talks about this.
They use a program called, or from, i think Lipsinc, i tried to go there but could not find it.
Anyhow getting back to the wavs i converted,
A wav of speech when converted to ogg and played back in the player came up great.
A wav of a song when converted = No Way
It lip syncs to every sound including the music.
I hope this is of some help.
Neil.

heather valentine

  • Full Member
  • ***
  • Posts: 198
    • View Profile
computer wav file AI Greeting
« Reply #7 on: June 21, 2005, 09:22:29 am »
hm
i didnt know you can convert from people putty
i havent fiddled with putty much anwyays im still
kind of a beginner,i have problems with the full bodies in pp
they arent really full bodies i mean if you have the add on pack
you can make someone look like full body
but when the file is analyized under hal its not true full body
if there was a way i coud attach the heads i make to bodies that wud be nice to create my own characters
true about the lip synching with ogg well you coud alwats record the voice and add some kind of sample to it and play it back
or maybe im not even awake yet i just having my coffee so dont pay any attention to me lol.if anyone has advice as to what i can do with peope putty let me knw lol i have no oidea what im doing.all i made was a head once,and i was not very impressed


 

Duskrider

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
computer wav file AI Greeting
« Reply #8 on: June 21, 2005, 09:30:06 am »
I meant to do this for some time but never got round to testing to see
if Hal would accept with Lipsinc a conversion to ogg of vocal song without background music.
I've noticed that often simple solution stands un-noticed before us.
Someone might like to do test before proceding into this project and/or tossing money at Haptek.

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
computer wav file AI Greeting
« Reply #9 on: June 21, 2005, 11:58:22 am »
For my penny's worth :

Yep, ALADYBLOND pointed out that you can get the files converted through people putty.

the HapAudio Factory (or whatever) imbeds lipsync data into .ogg files.

.ogg is Hapteks sound format of choice generally.

About your great idea about singing hal, Bill, I'm thinking you'd need to go down the route of extracting the vocals and making a seperate sound file which you can then build the lipsync data from.
Then at the end of all that add it into the full music .ogg?!?!

Aparently, I have read, .ogg is very good at accepting encodings and the glueing on of things...

I agree with Dusk's comments about throwing money at Haptek.
« Last Edit: June 21, 2005, 12:00:09 pm by freddy888 »

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
computer wav file AI Greeting
« Reply #10 on: June 21, 2005, 08:33:05 pm »
Freddy
I already wrote the script for Hal to sing in the XTF brain which was written by VonSmith. I can not find it on this site anymore but it worked fine. It followed the guide lines of VonSmith Joke telling script. If any of you don't have those scripts I can still upload copies of both for those who are interested. Remember they only work at this time with VonSmiths brain. The version of Singing Hal I made was designed for 'male' voices but I could do a version for females too. Right now I am in the process of making another persons data and quote files work using the same kind of scripts. I will post them once they are done. I just don't have a lot of free time lately so everything is on hold.
Bill
 

Dr.Benway

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
computer wav file AI Greeting
« Reply #11 on: June 24, 2005, 09:55:39 am »
Just mail them, say that your current PC has no internet connection and give them your System ID and Serial number as displayed in the Options-menu of People Putty.

Duskrider

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
computer wav file AI Greeting
« Reply #12 on: June 24, 2005, 10:40:59 am »
People-putty people are petty people who peddle pretty putty people.

Go girl, we are with you as you fight the dragon!

[;)]

« Last Edit: June 24, 2005, 11:16:32 am by Duskrider »