[MC 1.7.10][CC 1.75] Peripherals++ v1.3.6, MiscPeripherals reimagined! Includes speakers and pocket computer upgrades!
#41
Posted 29 December 2014 - 08:21 PM
#42
Posted 31 December 2014 - 11:57 PM
Was most sad to see the original go as i loved the speech synth that was in it. I tried to make my own and even did a tutorial on how to add speech synth to minecraft (http://www.minecraft..._a_speech_Synth) but i just wasnt good enough to get it synced on servers etc (never could get my darn head around packets lol) very glad to see it already done!
now to intergrate this with the various lantea craft gate dialing programs i use " chevlon one encoded .....chevlon two encoded"
you have made my night!
#44
Posted 01 January 2015 - 02:33 AM
austinv11, on 01 January 2015 - 01:43 AM, said:
with luck you will be able to do what i could not
I wrote (and recorded) the tutorial i linked to but there was issues with the speech synth,
1) while it spoke other minecraft threads on the client froze, ie all animations stopped untill the phrase finished. i got around that by using another thread but my java knowledge was and is too low to know how to make that work right
2) i could not figure out how to get a computer talking to be heard by all players in range, i did try to use the same code as the area effect of the becon and that seemed to work well in my tests some of the time.
The advantages of the librarys i used in the tutorial :
they will work for any OS as thier java (so not windows only like richardg had done)
they sound more computer synthed (ok some would say thats a negative but i really think it fits the style better plus "would you like to play a game?" )
they can have the pitch and shift altered so can sound different
I wish you luck chap, and if my tutorial is even remotly useful then it will be awesome to know it helped
#46
Posted 02 January 2015 - 04:51 PM
austinv11, on 01 January 2015 - 04:01 PM, said:
mrgreaper, on 01 January 2015 - 02:33 AM, said:
cool, yeah my java knowledge just was not good enough for the task (in fact i was told by lex(a high up in the forge team) that my knowledge was bad i should stop for the good of the community, when i asked about syncing data via packets...that was the last time i modded lol)
#47
Posted 02 January 2015 - 05:30 PM
#48
Posted 02 January 2015 - 06:22 PM
Edited by austinv11, 02 January 2015 - 10:24 PM.
#49
Posted 02 January 2015 - 11:06 PM
#50
Posted 03 January 2015 - 12:09 AM
iAd4m, on 02 January 2015 - 11:06 PM, said:
#51
Posted 03 January 2015 - 01:59 AM
austinv11, on 02 January 2015 - 05:30 PM, said:
that was one of the charms of the freetts (and the ability to change the tone lol)
have updated my server though, now just got to figure out how to use the speakers (been ages since i used peripherals)
i tried
a = peripheral.wrap("bottom")
a.speak("hello world",10,"English")
at the lua prompt and got "java exception thrown"
any ideas?
edit 2
ok tried the same in singleplayer but using "en" as language and it printed out the hello world and then under that en...but no speech. tried it again on the server and again java exception thrown...nothing in the log though.
Edited by mrgreaper, 03 January 2015 - 02:41 AM.
#53
#54
Posted 03 January 2015 - 04:47 AM
https://www.youtube....h?v=Klfuyzrko24
Edited by mrgreaper, 03 January 2015 - 04:49 AM.
#55
Posted 03 January 2015 - 11:21 AM
And more, why speaker not work ?
How use program "speak" ?
#56
Posted 03 January 2015 - 03:29 PM
mrgreaper, on 03 January 2015 - 04:47 AM, said:
Update: Upon further investigation, there seems to be an issue with the audio library I'm using.
Edited by austinv11, 03 January 2015 - 03:57 PM.
#57
Posted 03 January 2015 - 04:29 PM
Andrey, on 03 January 2015 - 11:21 AM, said:
And more, why speaker not work ?
How use program "speak" ?
#58
Posted 03 January 2015 - 06:19 PM
austinv11, on 03 January 2015 - 03:29 PM, said:
mrgreaper, on 03 January 2015 - 04:47 AM, said:
Update: Upon further investigation, there seems to be an issue with the audio library I'm using.
cool ill update to beta 3 when i get home from work and give it a whirl (have you tested it on a server?)
#59
Posted 04 January 2015 - 08:16 AM
For example:
---------------------
a=peripheral.wrap("left")
while true do
---
event, command = os.pullEvent("command")
if command == "/open door" then
rs.setOutput("right",true)
end
---
end
---------------------
You can add this event in "chat box".
--
Thanks in advance
#60
Posted 04 January 2015 - 01:23 PM
more details about the server:
it is a proffessionly hosted server so likely on a linux system.
This is pretty much same problem i had with my attempt, you need the server to send a packet out to the clients in range to say "hay you..yes you, run this via text to speech "phrase" " im guessing like me you have the server doing the library calling, which works great in single player as thats server+client. i could never really get my head around packets (doesnt help that theres about a million different tutorials each one different and most if not all too old)
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users