+ Reply to Thread
Results 1 to 10 of 10

Thread: Wired Microphone and Microfone sound emitter

  1. #1
    Wirererer lucasmontec's Avatar
    Join Date
    Dec 2007
    Posts
    114

    Question Wired Microphone and Microfone sound emitter

    This i just a thought i had about having a wired microphone emitter tool that when activated by the owner it would enable a Microphone sound emitter that would output the owner microphone sound.

    This could be useful for trains, stations, buses, ships, bases, whole servers...using this as warning equipments. Example if i say "Train arriving" in my microphone only guys near the station (where the emitters are) would hear me.

    I bet theres a lua function for getting the microphone input and an other for calculating the distance between the player and the emitter and relating it to the sound volume =D.

    An other thought was if it its possible to distort the sound to make it even more realistic and place a check box on the tool: [ ] Distortion

  2. #2
    Wire Sofaking Grocel's Avatar
    Join Date
    Mar 2008
    Location
    Germany, NRW, Remscheid
    Posts
    752

    Default Re: Wired Microphone and Microfone sound emitter

    Sounds good, but it will be not possible, I think.

  3. #3
    Wirererer Riddler's Avatar
    Join Date
    Nov 2007
    Location
    /dev/null
    Posts
    257

    Default Re: Wired Microphone and Microfone sound emitter

    No not really possable, however there is sormthing similar.

    in HL1 there was a "vox <sentance>" command where the announcer in hl1 woudl say whatever you typed, like vox system lockdown the announcer would say "system lockdown". however I don't know about in hl2 if this is still the case or if they have the announcer as 1 file per sentance

  4. #4
    Wiremod Helper Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,659

    Default Re: Wired Microphone and Microfone sound emitter

    It would certainly conflict with the voice chat for most purposes.

    So it would need to be something like the Wired Keyboard, press Use and then anything you say is outside of voice chat and into the Wired Microphone.

  5. #5
    Wire Sofaking ahref's Avatar
    Join Date
    Jul 2008
    Posts
    520

    Default Re: Wired Microphone and Microfone sound emitter

    You want us to pass real audio through a lua interface of an addon for a video game.

    I do believe voice chat is coded outside the lua engine so it cannot be manipulated.

    Wiremod has contraints. Please use common sense and you should know these contraints
    A-Z Materials - Released!!!!!!!

  6. #6
    Wirererer lucasmontec's Avatar
    Join Date
    Dec 2007
    Posts
    114

    Default Re: Wired Microphone and Microfone sound emitter

    The microphone engine inside the game IS lua coded ahref (you CAN control it with addons such as assmod admin addon).
    But Lyinginbedmon had a good idea, using a USE key microphone would be nice.
    And if its not possible as you guys sad we could use this text-to-speech engine from half-life2 using strings to send the data...

  7. #7
    Wire Sofaking ahref's Avatar
    Join Date
    Jul 2008
    Posts
    520

    Default Re: Wired Microphone and Microfone sound emitter

    And if its not possible as you guys sad we could use this text-to-speech engine from half-life2 using strings to send the data...
    i don't follow you there

    sorry couldn't find any lua functions that could tweak the output except for muting(http://wiki.garrysmod.com/wiki/?title=Player.SetMuted) and some weird client side thing that can make the sound of the whole client distorted(i think being underwater uses this). see http://wiki.garrysmod.com/wiki/?title=Player.SetDSP your more than welcome to find one though

    http://wiki.garrysmod.com/wiki/?title=Lua

    also why did you link my name seems odd.
    Last edited by ahref; 03-16-2009 at 06:48 PM.
    A-Z Materials - Released!!!!!!!

  8. #8
    Wirererer lucasmontec's Avatar
    Join Date
    Dec 2007
    Posts
    114

    Default Re: Wired Microphone and Microfone sound emitter

    And if its not possible as you guys sad we could use this text-to-speech engine from half-life2 using strings to send the data...

    text-to-speech idea came from:

    in HL1 there was a "vox <sentance>" command where the announcer in hl1 woudl say whatever you typed, like vox system lockdown the announcer would say "system lockdown". however I don't know about in hl2 if this is still the case or if they have the announcer as 1 file per sentance
    and the link was because i used ctrl-c ctrl-v....sorry
    Anyway if its not lua coded than its what, c++? because the sound engine used to communicate inside the game differs from the steam chat engine...

  9. #9
    Wire Sofaking ahref's Avatar
    Join Date
    Jul 2008
    Posts
    520

    Default Re: Wired Microphone and Microfone sound emitter

    wiremod cannot control C functions. The voice system is inside the C therefore its not possible. EXCEPT for muting of players on the client. :P

    HL1 was so last century were on a new engine now and the old function wasnt needed
    A-Z Materials - Released!!!!!!!

  10. #10
    Wirererer lucasmontec's Avatar
    Join Date
    Dec 2007
    Posts
    114

    Default Re: Wired Microphone and Microfone sound emitter

    wiremod cannot control C functions.
    yeah i pretty know that...as for the engine, ok no problem than:

    I GIVE UP hehehe

+ Reply to Thread

Similar Threads

  1. Multi Sound Emitter - One Emitter that holds 10 sound paths
    By F12Bwth in forum Ideas & Suggestions
    Replies: 11
    Last Post: 02-04-2010, 02:32 PM
  2. Wired Sound Emitter Input options?
    By The UnSkilled78 in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 12-28-2008, 03:39 PM
  3. Adv Sound Emitter makes sound emitter not work
    By RageMcCloud in forum Installation and Malfunctions Support
    Replies: 5
    Last Post: 05-11-2008, 08:42 PM
  4. Wire Sound Input/Microphone
    By benbrooks in forum Ideas & Suggestions
    Replies: 2
    Last Post: 03-15-2008, 04:07 AM
  5. Wired Sound Emitter -> Add New Sounds
    By Xandaros in forum Wiremod General Chat
    Replies: 4
    Last Post: 05-22-2007, 08:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots