Author Topic: Free Studio Clock  (Read 6978 times)

neutralhills

  • Sr. Member

  • Offline
  • ****
  • 317
  • Personal Text
    Nil sine labore.
    • squirrel.fm
Free Studio Clock
« on: May 06, 2017, 04:50:19 PM »
Folks, you can get a funky free Studio Clock from www.radiotools.uk. It accepts commands via TCP on port 50105. I'm trying to get it working with RDJ, but no luck so far. Would appreciate guidance. Could others here give it a shot and post their results?

Here's the Readme.txt file:

Code: [Select]
 
RadioTools Studio Clock
-----------------------
About:

The Radiotools StudioClock is used to display a presenter clock on a monitor screen for use in a radio studio enviroment. In addition it incoroprates a
number of indicator panels and text fields of that can be used to notify presenters and guests of important events and information.

There are several ways that the status indicators and text fields can be updated. You can use the keys on a keyboard or commands via a network connection
to set and clear indicators and send text to the clock . The clock can also pull key settings and information such RadioText data direct from other systems
or a management server. This last method is useful if the clock is in a remote external location with basic internet access (such as remote studios or an
outside broadcast location using broadband or mobile data) and is not physicaly connected or on the same LAN segment.

Usage:

The standard installer will install this application to C:\RadioTools\StudioClock. Located in this directory is the StudoClock.ini file which you can
edit to customise many of the settings for your station (notes on these settings are in the .ini file). Edit the INI file and enter your Station Strapline
and a password for the network interface (you do not need to use the network interface but it's good practice to set a complex password anyway). You can
add your station logo (a blank logo file is included that can be edited in any graphics editor). If you're not using the audio connection, change the
SilenceOverride setting to 1 to disable the on screen silence warning. TriggerSilence and TriggerOverload are the thresholds to trigger the overload and
silence lights and are set as a percentage of audio level from 0-100%.


The indicator lights and text fields are as follows:
----------------------------------------------------

On Air        Used to indicate this studio is on air. Triggered via keyboard or network.
Overload      Used to warn presenters their levels are too high. Triggered via keyboard, network or sound card.
Silence       Used to warn presenters of silence or "dead air". Triggered via keyboard, network or sound card.
Alert         General alert indicator for any purpose. Triggered via keyboard or network.
Mic Live      Used to warn that studio microphone is live. Triggered via keyboard or network.
Phone         Used to warn presenters that the general studio phone line is ringing. Triggered via keyboard or network.
XD Tel        Used to warn presenters that an ex-directory line is ringing, usually because management want to talk! Triggered via keyboard or network.
Door          Used to warn presenters that a doorbell, doorbell, door phone or external intercom has been pressed. Triggered via keyboard or network.
RDS Traffic   Used to indicate that the RDS Traffic flag is live, which should only be the case during travel bulletins. Triggered via keyboard or network.

Also on screen are the following:

Audio Levels  These are obtained from the PC sound card and can be the output of the desk, processor or and offradio.
              Use of a radio to feed this can be useful to confirm if the station is broadcasting and alert for silence ("dead air").
              Note that it is possible to one audio source for the meters, while seperatly triggering the silence or overload lights via keyboard or network.
              Alternativly, the output of the studio desk can be connected and the silence and an additional "Overload" indicator used to warn inexperienced
              presenters of their levels.
Studio Name   Customisable name for this studio
RadioText     Shown under the time, this can either show a default station strapline from the configuration file, or be remotely updated with the stations
              RDS RadioText or other information, via the network (typically the name of the current track or other useful information).
Logo          Your station logo can be added to the clock face using the configuration ini file.


Manual Keys Commands
--------------------
Esc Quit

Note:
    For those experieced with electronics it's relatively simple to modify an old keyboard to trigger the various status lights. We use this in our studio
    to trigger the "Mic Live" light using an additional relay. Most keyboards have a small control board which can be removed to provide a USB interface,
    however we can not give support and such hardware is beyond the scope of these instructions. Please consult an experienced engineer before attempting this.

Left CTRL Key   This will make the "Mic Live" indicatior illuminate while held.
Left Shift Key This will make the "Phone" inidcator flash while held.

The following Keys turn on each indicator:
1 Studio on air light on/off
2 Major News light on/off
3 Alert light on/off
4 Mic Live light on/off
5 Phone light on/off
6 XD Tel light on/off
7 Door light on/off
8 RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off

The following Keys turn off each indicator:
Q Studio on air light on/off
W Major News light on/off
E Alert light on/off
R Mic Live light on/off
T Phone light on/off
Y XD Tel light on/off
U Door light on/off
I RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off

The following keys can be used to toggle each indicator on and off (also useful for setting and clearing alerts during network testing):
F1 Studio on air light on/off
F2 Major News light on/off
F3 Alert light on/off
F4 Mic Live light on/off
F5 Phone light on/off
F6 XD Tel light on/off
F7 Door light on/off
F8 RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off


Network Control
---------------

New style TCP port 11051:
-------------------------
Documentation for this interface will follow once it has been fully implimented.


Old Style TCP port 50105:
-------------------------
The following refers to the "old" system that listens for commands on TXP port 50105.
Where possible, please use the new system above, however this interface has been included for backwards compatibility.

The TCP interface listens on port 50105 for commands.

Command sequence:
(Each line in each directon is followed by CrLf). Auto timeout after 15 seconds.

> 220 SBCP Broadcast Management Version 1.02. Authorised users only.
< SBCP101       (Note that the string SBCP101 must always be sent even if the point version of the protocol changes).
> READY ("ERROR" returned with immediate disconnect on any error).
< password      (Password is defined in ini file).
> COMMAND

Commands / Response should be sent in the following format, before the system loops back to the "COMMAND" prompt:

Command           Response from Clock             Notes
-------------------------------------------------------
VERSION VERSION 102 Reports supported protocol version
LIGHT xxxx ON DONE LIGHT xxxx ON Switch selected light on
Where xxx = ONAIR, NEWS, FAULT, MIC, PHONE, XDTEL, DOOR, ALERT
LIGHT xxxx OFF DONE LIGHT xxxx OFF Switch selected light off
WAIT WAITING Wait another 15 seconds before disconnecting.
Repeat every 10 seconds to hold connection but better to disconnect and reconnect for each command.
RT some text TEXT SHOWN Display "some text" in clock radio text/banner display.
EXIT BYE (Followed by disconnect) End online session.

  Note:
    The connection will disconnect if there is no activity for 15 seconds.
    The protocol is not encrypted so suitable firewall rules and/or a VPN should be used when connecting via an insecure or public internet connection.



Troubleshooting:
----------------
If you get the error "Can't initialize device error 23" this means your sound card may not be present or working correctly. The sound card can be used for
level display and overload or silence warnings and the software expects a card to exist. If no card exists or if you want the levels fed over the network,
you can use virtual audio cables (such as the free software available from http://vb-audio.pagesperso-orange.fr/Cable/) as either a "null" soundcard or to
feed audio to the clock from a streaming media player such as VLC or Mplayer.


Changelog
---------
1.34 2017-04-07
  Added MeterBoost feature and tidy up of some code.
1.26-1.34
  Internal test versions.
1.25 2016-10-24
  Added ability to use Shit and CTRL keys to trigger Mic and Phone lights while held.
  Added additional toggle keys to turn on and off lights via a dedicated key press (1 on, q off etc).
1.24 2015-12-20
  Web address added and first release as www.radiotools.uk
1.18 2015-12-18
  Changed colour to deeper red for DATA/STEREO and current studio.
1.17 2015-12-18
  Changed stereo detector code to prevent false mono indication.
1.16 2015-12-18
  Added stereo/mono detect and indicator under level display.
  Added radiotext or other data recieved indicator ("DATA") under level display.
  Added 10 second delay for silence indicator.
1.15
  Fixed L/R bar graphs reversed!
  Added widescreen option.
1.14
  Added display of current studio at top of screen.
 

Software Licence
----------------
This software is copyright 2017 Jonathan Cohen. www.radiotools.uk and www.broadcast.management.

Please note that the following terms DO NOT apply to government use.
If you are a government department (of any country) you MUST contact Broadcast Ltd for a licence to use this software.
Depending on use, this may be provided free of charge.

Permission is hereby granted, free of charge, to any natural person or registered business obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute and/or sell copies of the Software, and to permit other natural persons or registered businesses to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of the author shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without the prior written authorisation of the author.

RadioTools is a trading name of Broadcast Ltd. Registered in England and Wales number 9660900.
Registered office: Broadcast Ltd, Suite 228, 94 London Road, Oxford, OX3 9FN.
www.radiotools.uk and www.broadcast.management

Squirrel FM : Always playing with our nuts!
www.squirrel.fm
Studio systems running RadioDJ, PlayoutONE, & Rivendell
Flow 8 Deck & PlayIt Cartwall for live mixing and assist.
Remote systems running RadioDJ
Pioneer DDJ-SX control surface.

FreerunMedia

  • Hero Member

  • Offline
  • *****
  • 733
  • Personal Text
    Proud user of RadioDJ
    • Radio 251 , Gewoon gezellig
Re: Free Studio Clock
« Reply #1 on: May 06, 2017, 05:16:10 PM »
Folks, you can get a funky free Studio Clock from www.radiotools.uk. It accepts commands via TCP on port 50105. I'm trying to get it working with RDJ, but no luck so far. Would appreciate guidance. Could others here give it a shot and post their results?

Here's the Readme.txt file:

..... EDIT: deleted it for length .....

Well i think as far as i can see there is allready a conflict. You need to push some keys on the keyboard to activate some f the things. Through the internet could be working but you need to have some plugin to transcode the signals to the clock. Maybe somebody can program something for the Velleman GPIO board to read the input status ans transcode it to command line codes that the clock can use.

I am using a raspberry pi for the clock. I have 4 signs, "On Air" "MIC" "Phone" and "Door" and all triggers on the GPIO of the Pi board. The time is kept on time through NTP servers so you need to connect it to the internet. The Pi doesn't have a build in clock that remembers the time ;-)

Running 3 editions V1.8.2 at www.salto.nl and v1.8.2 at radio251.nl. ( NOW with 2 live studio's! )

neutralhills

  • Sr. Member

  • Offline
  • ****
  • 317
  • Personal Text
    Nil sine labore.
    • squirrel.fm
Re: Free Studio Clock
« Reply #2 on: May 06, 2017, 07:34:59 PM »
Quote
Well i think as far as i can see there is allready a conflict. You need to push some keys on the keyboard to activate some f the things

That's not a problem for us as we run off of control pads. We can also send multiple key presses using either AUTOHOTKEY or our Genovation keypad. We toggle the mic through keypads, not a mixer. On our broadcast system, opening the mic through the Genovation mutes the monitor (A1) on VM Banana and patches in (A3) headphone monitor. It also ducks the audio on Radio DJ by -14 DB for voiceover. I just want it to send LIGHT MIC ON when toggled on and LIGHT MIC OFF when toggled off for the studio clock.
Squirrel FM : Always playing with our nuts!
www.squirrel.fm
Studio systems running RadioDJ, PlayoutONE, & Rivendell
Flow 8 Deck & PlayIt Cartwall for live mixing and assist.
Remote systems running RadioDJ
Pioneer DDJ-SX control surface.

FreerunMedia

  • Hero Member

  • Offline
  • *****
  • 733
  • Personal Text
    Proud user of RadioDJ
    • Radio 251 , Gewoon gezellig
Re: Free Studio Clock
« Reply #3 on: May 07, 2017, 01:29:07 PM »
That's not a problem for us as we run off of control pads. We can also send multiple key presses using either AUTOHOTKEY or our Genovation keypad. We toggle the mic through keypads, not a mixer. On our broadcast system, opening the mic through the Genovation mutes the monitor (A1) on VM Banana and patches in (A3) headphone monitor. It also ducks the audio on Radio DJ by -14 DB for voiceover. I just want it to send LIGHT MIC ON when toggled on and LIGHT MIC OFF when toggled off for the studio clock.

In that case, nicely solved! :cool: As i said i am running a couple of the things through a Raspberry Pi. I don;t know much about programming the thing but it's a very nice "toy" to play with. It can even run a stand alone audio processing by StereoTool. It's a little hard on the little one but it can do it.

Now while i'm typing this, maybe somebody with some Linux coding knowledge, could use the Pi to build some interface from the GPIO of the Pi to a network protocol that works with the clock or any app for that matter.
Running 3 editions V1.8.2 at www.salto.nl and v1.8.2 at radio251.nl. ( NOW with 2 live studio's! )

JammieR

  • New User

  • Offline
  • *
  • 1
Re: Free Studio Clock
« Reply #4 on: August 23, 2017, 02:47:20 PM »
Folks, you can get a funky free Studio Clock from www.radiotools.uk. It accepts commands via TCP on port 50105. I'm trying to get it working with RDJ, but no luck so far. Would appreciate guidance. Could others here give it a shot and post their results?

Here's the Readme.txt file:

RadioTools Studio Clock
-----------------------
About:

The Radiotools StudioClock is used to display a presenter clock on a monitor screen for use in a radio studio enviroment. In addition it incoroprates a
number of indicator panels and text fields of that can be used to notify presenters and guests of important events and information.

There are several ways that the status indicators and text fields can be updated. You can use the keys on a keyboard or commands via a network connection
to set and clear indicators and send text to the clock . The clock can also pull key settings and information such RadioText data direct from other systems
or a management server. This last method is useful if the clock is in a remote external location with basic internet access (such as remote studios or an
outside broadcast location using broadband or mobile data) and is not physicaly connected or on the same LAN segment.

Usage:

The standard installer will install this application to C:\RadioTools\StudioClock. Located in this directory is the StudoClock.ini file which you can
edit to customise many of the settings for your station (notes on these settings are in the .ini file). Edit the INI file and enter your Station Strapline
and a password for the network interface (you do not need to use the network interface but it's good practice to set a complex password anyway). You can
add your station logo (a blank logo file is included that can be edited in any graphics editor). If you're not using the audio connection, change the
SilenceOverride setting to 1 to disable the on screen silence warning. TriggerSilence and TriggerOverload are the thresholds to trigger the overload and
silence lights and are set as a percentage of audio level from 0-100%.


The indicator lights and text fields are as follows:
----------------------------------------------------

On Air        Used to indicate this studio is on air. Triggered via keyboard or network.
Overload      Used to warn presenters their levels are too high. Triggered via keyboard, network or sound card.
Silence       Used to warn presenters of silence or "dead air". Triggered via keyboard, network or sound card.
Alert         General alert indicator for any purpose. Triggered via keyboard or network.
Mic Live      Used to warn that studio microphone is live. Triggered via keyboard or network.
Phone         Used to warn presenters that the general studio phone line is ringing. Triggered via keyboard or network.
XD Tel        Used to warn presenters that an ex-directory line is ringing, usually because management want to talk! Triggered via keyboard or network.
Door          Used to warn presenters that a doorbell, doorbell, door phone or external intercom has been pressed. Triggered via keyboard or network.
RDS Traffic   Used to indicate that the RDS Traffic flag is live, which should only be the case during travel bulletins. Triggered via keyboard or network.

Also on screen are the following:

Audio Levels  These are obtained from the PC sound card and can be the output of the desk, processor or and offradio.
              Use of a radio to feed this can be useful to confirm if the station is broadcasting and alert for silence ("dead air").
              Note that it is possible to one audio source for the meters, while seperatly triggering the silence or overload lights via keyboard or network.
              Alternativly, the output of the studio desk can be connected and the silence and an additional "Overload" indicator used to warn inexperienced
              presenters of their levels.
Studio Name   Customisable name for this studio
RadioText     Shown under the time, this can either show a default station strapline from the configuration file, or be remotely updated with the stations
              RDS RadioText or other information, via the network (typically the name of the current track or other useful information).
Logo          Your station logo can be added to the clock face using the configuration ini file.


Manual Keys Commands
--------------------
Esc            Quit

Note:
    For those experieced with electronics it's relatively simple to modify an old keyboard to trigger the various status lights. We use this in our studio
    to trigger the "Mic Live" light using an additional relay. Most keyboards have a small control board which can be removed to provide a USB interface,
    however we can not give support and such hardware is beyond the scope of these instructions. Please consult an experienced engineer before attempting this.

Left CTRL Key           This will make the "Mic Live" indicatior illuminate while held.
Left Shift Key         This will make the "Phone" inidcator flash while held.

The following Keys turn on each indicator:
1            Studio on air light on/off
2            Major News light on/off
3            Alert light on/off
4            Mic Live light on/off
5            Phone light on/off
6            XD Tel light on/off
7            Door light on/off
8            RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off

The following Keys turn off each indicator:
Q            Studio on air light on/off
W            Major News light on/off
E            Alert light on/off
R            Mic Live light on/off
T            Phone light on/off
Y            XD Tel light on/off
U            Door light on/off
I            RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off

The following keys can be used to toggle each indicator on and off (also useful for setting and clearing alerts during network testing):
F1            Studio on air light on/off
F2            Major News light on/off
F3            Alert light on/off
F4            Mic Live light on/off
F5            Phone light on/off
F6            XD Tel light on/off
F7            Door light on/off
F8            RDS / Traffic (Used for example to indicate the RDS TA flag is active or other alerts) light on/off


Network Control
---------------

New style TCP port 11051:
-------------------------
Documentation for this interface will follow once it has been fully implimented.


Old Style TCP port 50105:
-------------------------
The following refers to the "old" system that listens for commands on TXP port 50105.
Where possible, please use the new system above, however this interface has been included for backwards compatibility.

The TCP interface listens on port 50105 for commands.

Command sequence:
(Each line in each directon is followed by CrLf). Auto timeout after 15 seconds.

   >   220 SBCP Broadcast Management Version 1.02. Authorised users only.
   <   SBCP101       (Note that the string SBCP101 must always be sent even if the point version of the protocol changes).
   > READY               ("ERROR" returned with immediate disconnect on any error).
   < password      (Password is defined in ini file).
   > COMMAND
   
   Commands / Response should be sent in the following format, before the system loops back to the "COMMAND" prompt:
   
   Command           Response from Clock             Notes
   -------------------------------------------------------
   VERSION                  VERSION 102                                 Reports supported protocol version
   LIGHT xxxx ON         DONE LIGHT xxxx ON                     Switch selected light on
                              Where xxx = ONAIR, NEWS, FAULT, MIC, PHONE, XDTEL, DOOR, ALERT
   LIGHT xxxx OFF      DONE LIGHT xxxx OFF                     Switch selected light off
   WAIT                     WAITING                                       Wait another 15 seconds before disconnecting.
                                                                              Repeat every 10 seconds to hold connection but better to disconnect and reconnect for each command.
   RT some text         TEXT SHOWN                                 Display "some text" in clock radio text/banner display.
   EXIT                     BYE (Followed by disconnect)      End online session.

  Note:
    The connection will disconnect if there is no activity for 15 seconds.
    The protocol is not encrypted so suitable firewall rules and/or a uk vpn should be used when connecting via an insecure or public internet connection.



Troubleshooting:
----------------
If you get the error "Can't initialize device error 23" this means your sound card may not be present or working correctly. The sound card can be used for
level display and overload or silence warnings and the software expects a card to exist. If no card exists or if you want the levels fed over the network,
you can use virtual audio cables (such as the free software available from http://vb-audio.pagesperso-orange.fr/Cable/) as either a "null" soundcard or to
feed audio to the clock from a streaming media player such as VLC or Mplayer.


Changelog
---------
1.34 2017-04-07
  Added MeterBoost feature and tidy up of some code.
1.26-1.34
  Internal test versions.
1.25 2016-10-24
  Added ability to use Shit and CTRL keys to trigger Mic and Phone lights while held.
  Added additional toggle keys to turn on and off lights via a dedicated key press (1 on, q off etc).
1.24 2015-12-20
  Web address added and first release as www.radiotools.uk
1.18 2015-12-18
  Changed colour to deeper red for DATA/STEREO and current studio.
1.17 2015-12-18
  Changed stereo detector code to prevent false mono indication.
1.16 2015-12-18
  Added stereo/mono detect and indicator under level display.
  Added radiotext or other data recieved indicator ("DATA") under level display.
  Added 10 second delay for silence indicator.
1.15
  Fixed L/R bar graphs reversed!
  Added widescreen option.
1.14
  Added display of current studio at top of screen.
    

Software Licence
----------------
This software is copyright 2017 Jonathan Cohen. www.radiotools.uk and www.broadcast.management.

Please note that the following terms DO NOT apply to government use.
If you are a government department (of any country) you MUST contact Broadcast Ltd for a licence to use this software.
Depending on use, this may be provided free of charge.

Permission is hereby granted, free of charge, to any natural person or registered business obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute and/or sell copies of the Software, and to permit other natural persons or registered businesses to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of the author shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without the prior written authorisation of the author.

RadioTools is a trading name of Broadcast Ltd. Registered in England and Wales number 9660900.
Registered office: Broadcast Ltd, Suite 228, 94 London Road, Oxford, OX3 9FN.
www.radiotools.uk and www.broadcast.management


Thank you for the info, Bro I am unable to get the studio clock for you described code. does the code not working any more..?  :'(

Jungoy

  • Jr. Member

  • Offline
  • **
  • 55
Re: Free Studio Clock
« Reply #5 on: August 24, 2017, 07:49:13 AM »
That's not a problem for us as we run off of control pads. We can also send multiple key presses using either AUTOHOTKEY or our Genovation keypad. We toggle the mic through keypads, not a mixer. On our broadcast system, opening the mic through the Genovation mutes the monitor (A1) on VM Banana and patches in (A3) headphone monitor. It also ducks the audio on Radio DJ by -14 DB for voiceover. I just want it to send LIGHT MIC ON when toggled on and LIGHT MIC OFF when toggled off for the studio clock.

I was able to send MIC LIGHT ON and OFF command to the StudioClock over the network using a small UDP Server/Client program I created in Visual Studio. The UDP-Server will catch the command sent from UDP-Client and send it to the StudioClock which will then turn the MIC LIGHT ON / OFF...The client's MICROPHONE ON/OFF button can also be triggered by pressing "M" key on the keyboard which is easy to incorporate if you use AutoHotkey. EXIT STUDIO CLOCK button will close the STUDIOCLOCK, UDP-SERVER and UDP-CLIENT.


Jungoy

  • Jr. Member

  • Offline
  • **
  • 55
Re: Free Studio Clock
« Reply #6 on: August 28, 2017, 06:18:48 AM »
You can also run a VBScript to send COMMANDS via TCP port 50105

Save this sample script as MICLIGHTON.wsf and run it. Make sure you replace the telnet IP address to the IP address of your RadioTools Clock and change the password "changeme" to the password you set in studioclock.ini
Code: [Select]
<job>
<script language="vbScript">
Option Explicit
On Error Resume Next
Dim WshShell
set WshShell=CreateObject("WScript.Shell")
WshShell.run ("cmd.exe"), 2
WScript.Sleep 50
WshShell.SendKeys "telnet 192.168.1.101 50105"
WScript.Sleep 50
WshShell.SendKeys ("{Enter}")
WScript.Sleep 200
WshShell.SendKeys "SBCP101"
WScript.Sleep 50
WshShell.SendKeys ("{Enter}")
WScript.Sleep 50
WshShell.SendKeys "changeme"
WScript.Sleep 50
WshShell.SendKeys ("{Enter}")
WScript.Sleep 50
WshShell.SendKeys "LIGHT MIC ON"
WScript.Sleep 50
WshShell.SendKeys ("{Enter}")
WScript.Sleep 50
WshShell.SendKeys "EXIT"
WScript.Sleep 50
WshShell.SendKeys ("{Enter}")
WScript.Sleep 50
WshShell.SendKeys "EXIT"
WshShell.SendKeys ("{Enter}")
</script>
</job>

The script will trigger the LIGHT MIC ON.

To TURN OFF just save another script but edit this line :  WshShell.SendKeys "LIGHT MIC ON" to WshShell.SendKeys "LIGHT MIC OFF"

Cheers!!!

neutralhills

  • Sr. Member

  • Offline
  • ****
  • 317
  • Personal Text
    Nil sine labore.
    • squirrel.fm
Re: Free Studio Clock
« Reply #7 on: September 08, 2017, 07:02:23 AM »
I was able to send MIC LIGHT ON and OFF command to the StudioClock over the network using a small UDP Server/Client program I created in Visual Studio. The UDP-Server will catch the command sent from UDP-Client and send it to the StudioClock which will then turn the MIC LIGHT ON / OFF...The client's MICROPHONE ON/OFF button can also be triggered by pressing "M" key on the keyboard which is easy to incorporate if you use AutoHotkey. EXIT STUDIO CLOCK button will close the STUDIOCLOCK, UDP-SERVER and UDP-CLIENT.



Wondering if it is possible to set a key combo to toggle the mic? It's CTRL+I on all of our systems for consistency. The problem with it just being M is that any time you search for a song or artist with M in it, you're going to toggle the mic.

Not complaining though, this is quite lovely. Thanks!
Squirrel FM : Always playing with our nuts!
www.squirrel.fm
Studio systems running RadioDJ, PlayoutONE, & Rivendell
Flow 8 Deck & PlayIt Cartwall for live mixing and assist.
Remote systems running RadioDJ
Pioneer DDJ-SX control surface.

Jungoy

  • Jr. Member

  • Offline
  • **
  • 55
Re: Free Studio Clock
« Reply #8 on: September 09, 2017, 03:05:10 AM »
Wondering if it is possible to set a key combo to toggle the mic? It's CTRL+I on all of our systems for consistency. The problem with it just being M is that any time you search for a song or artist with M in it, you're going to toggle the mic.

Not complaining though, this is quite lovely. Thanks!

YES, it is possible to use Combo KEYS for my UDP server and client...Since you have mentioned autoHotkey in your previous post, why don't you try my vbScipt? Execute it using Autohotkey with combo keys of your choice, much easier and there is no need to install client and server apps to trigger MIC LIGHT ON.

neutralhills

  • Sr. Member

  • Offline
  • ****
  • 317
  • Personal Text
    Nil sine labore.
    • squirrel.fm
Re: Free Studio Clock
« Reply #9 on: September 30, 2017, 06:44:19 AM »
I'm hoping to find time to play with this on Sunday. Sorry for the delay, but I keep picking up extra shifts at work.
Squirrel FM : Always playing with our nuts!
www.squirrel.fm
Studio systems running RadioDJ, PlayoutONE, & Rivendell
Flow 8 Deck & PlayIt Cartwall for live mixing and assist.
Remote systems running RadioDJ
Pioneer DDJ-SX control surface.

neutralhills

  • Sr. Member

  • Offline
  • ****
  • 317
  • Personal Text
    Nil sine labore.
    • squirrel.fm
Re: Free Studio Clock
« Reply #10 on: October 22, 2017, 12:58:49 AM »
It works! Now I just need to figure out where I'm putting the third monitor.
Squirrel FM : Always playing with our nuts!
www.squirrel.fm
Studio systems running RadioDJ, PlayoutONE, & Rivendell
Flow 8 Deck & PlayIt Cartwall for live mixing and assist.
Remote systems running RadioDJ
Pioneer DDJ-SX control surface.

discapacidad5

  • New User

  • Offline
  • *
  • 4
Re: Free Studio Clock
« Reply #11 on: August 17, 2018, 09:10:50 PM »

hello I would like your program to control the clock

I was able to send MIC LIGHT ON and OFF command to the StudioClock over the network using a small UDP Server/Client program I created in Visual Studio. The UDP-Server will catch the command sent from UDP-Client and send it to the StudioClock which will then turn the MIC LIGHT ON / OFF...The client's MICROPHONE ON/OFF button can also be triggered by pressing "M" key on the keyboard which is easy to incorporate if you use AutoHotkey. EXIT STUDIO CLOCK button will close the STUDIOCLOCK, UDP-SERVER and UDP-CLIENT.