What are the diagnostic command line options for Genesys?

The following command line options can be used to aid Diagnostics.

Audioengine, SystemProcessor, ExtDevServer:

-console -- runs the service in a command window with scrollable display of current operation.

Genesys:
/ldb= -- Forces Genesys to work from its local playlist cache, without reading the database on startup.
/adb= -- Forces Genesys to work from its local playlist cache, without reading the database on startup.

Gensetup:
/cfg= -- Opens a config file in read only mode

How do you configure the Genesys Audio Engine using registry settings?

Genesys Audio Engine can be run as a service or console application and is configured using the registry in the following locations:

[HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\AudioEngine]
"TraceLevel"=dword - The diagnostic level written to the audioengine.dmp file. A value of 1 is recommend, using a larger value will result in the file becoming large and may affect system performance.

"TraceDays"=dword - The number of days to hold diagnostic information written to the audioengine.dmp file.

[HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\AudioEngine\Channels]
"PipeClock"=dword - The clock rate of the audioengine, usualy 44100 or 48000.

[HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\AudioEngine\Devices]
"Device_1"=dword
"Device_2"=dword
"Device_3"=dword
"Device_4"=dword

The audioengine can use four separate hardware sound devices. The alowed values here are 0 - Windows Sound, 1 - Digigram NP, 2 - Audioscience, FFFFFFFF - No Device.

Each of the four devices are configured with values in Device_N keys, see below for possible values, some of which will only be used in certain device types:

[HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\AudioEngine\Device_1]
"StreamCount"=dword - The number of concurrent audio files that the audioengine can have queued or playing. 4 is the recommended value.

"PlayPipeMask"=dword - A bit mask value to specify which play pipes are available to the audioengine. FFFFFFFF specifies all available pipes.

"RecordPipeMask"=dword - A bit mask value to specify which record pipes are available to the audioengine. FFFFFFFF specifies all available pipes.

"PreallocatePlayPipes"=dword - A value of 1 will cause the audioengine to initialise available play pipes at startup. If 0 is used the pipes will be opened when they are required.

"PreallocateRecordPipes"=dword - A value of 1 will cause the audioengine to initialise available record pipes at startup. If 0 is used the pipes will be opened when they are required.

"DeallocateIdlePipes"=dword - When set to 1 pipes will be closed when they become idle. The recommended value 0 will keep the pipes open until the audioengine is shutdown.

"DefaultRecordInput"=dword - A 0 based value indicating which input to use on multi input soundcards.

"DigitalOption"=dword - 1 = AES input with clocking from audio data, 0 = AES input with separate clock feed.

"ClockSource"=dword - 0 = Internal, 1 = AES Syncro, 2 = Wordclock.

"UERInputNumber"=dwowrd - Sets the input for AES clocking, the default is one but VX222 requires 0.

"AnalogOutLevel"=dword
"AnalogInLevel"=dword

"DigitalOutLevel"=dword
"DigitalInLevel"=dword
Level settings are controlled using the above values in db. Negative numbers are expressed using FFFF at the start and countdown from 0 in hex. EG FFFFFFFF = -1, FFFFFFFD = -3 and so on.

"EnableWatchdog"=dword - The watchdog monitors active streams and will take action if one appears to hang. This included pausing and halting the stream, so the next item can continue.
"WatchdogTimeout"=dword - Sets the amount of inactivity (in miliseconds) on an active stream before the watchdog takes action.

[HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\AudioEngine\Streams]
"BufferSize"=dword - 131072 should be used for Digigram Cards. If deleted this value will automaticaly be created and set to match your soundcard.

"BufferCount"=dword- The number of buffers used by each stream. A value of 16 should be used for linear/uncompressed audio.

"UseMpegCodec"=dword - Set to 0 for the optimum MPEG coding

"RateConvertQuality"=dword:00000001 - Set to 1 to use the audioengine's inbuilt rate converter. 0 will use the windows one.

Note - When setting the buffer and stream count you must ensure that your soundcard has sufficent free buffers. The number required is calculated by

(BufferCount * StreamCount * NumberOfPlayOutputs) + (BufferCount * NumberOfRecordInputs)


Are there any keyboard shortcuts I can use with Genesys?

The following keyboard shortcuts are available within Genesys:

General:
Play Deck 1 - F9
Play Deck 2 - F10
Play Deck 3 - F11
Play Deck 4 - F12
Toggle Playlist state - F8
Pause Deck 1 -
Pause Deck 2 -
Pause Deck 3 -
Pause Deck 4 -
Stop Deck 1 -
Stop Deck 2 -
Stop Deck 3 -
Stop Deck 4 -

Insert End Mark at current playlist position - ALT E
Toggle PriorityPlay - ALT P
Toggle QuickPlay - ALT Q
Toggle FileList - ALT F **
Open PlayList Editor - ALT L
Switch to VT - ALT V
Switch to Prod - ALT R **
Switch to Decks (Main Window) - ALT M **
Toggle top bar - Shift F4
Select Live Assist mode - CTRL F5
Select Satelite mode - CTRL F6
Select Automation mode - CTRL F7

Production & VT:
Play - F7
Stop - F6
Record - F5

Start / End of waveform - Home / End **
Play last 10 sec - Shift F7
Zoom In / Out -
Next / Previous Voice link - Pg Up / Pg Dn
Save -
New -
Close -
Edit -
Export - CTRL S
Set Audio Start Marker -
Set Intro End Marker -
Set Hook Start Marker -
Set Hook End Marker -
Set Alt Aux Marker -
Set Aux Marker - F4
Set Fade Marker -
Set Audio End Marker -
Select I Screen -
Select F Screen -
Toggle Collections -
Open Info -
Open - Enter **
Toggle CD Ripper -

How can I dump the current playlist and log entries to a file?

Pressing CTRL SHIFT D will create two new dump files in the working directory. Logitems.dmp and Loglists.dmp

How do you recover a corrupt MySQL database table?

A corrupt table will be shown as not available when viewing in MySQLFront. These can be recovered by stopping the MySQL service and using the MyISAMChk utilty.

From a cmd prompt on the server do the following after closing all Genesys workstations..

1) Net stop GED & Net Stop GSP
2) Net stop MYSQL
3) cd c:\mysql\data\genesys
4) ..\..\bin\myisamchk -r tablename
5) Net start mysql
6) Net Start GED & Net Start GSP

How can I disable VPCX on a Digigram sound card?

The Virtual PCX component of the Digigram driver can be disabled by:

MiXart:
Use the dispatcher conf program and set the number of VPCX to 0

PCX:
change the registry..

HKEY_LOCAL_MACHINE\SOFTWARE\Digigram\MODULES\DISPATCHER\Interne\HowMany

and set VPCX=0

Altnatively, from within the Digigram Contol Panel choose the Diagnostics tab, select the relevant card, and click Advanced Config. Now deselect the Virtual PCX button so the green light goes out.



Is it possible to replace today's playlist?

1) Use the following SQL query, on the Genesys database, to delete that days playlist

DELETE FROM PLAYLIST WHERE SCHEDULEDDATE='yyyymmdd' AND LOGID=nn

replace nn with the numeric value of the log id, based on the file name.. mmddyynn.log.. normaly on a single station site logid=1

2) Resend the log file, or open it and save it again to change the file timestamp.

3) Close genesys workstations, delete Genesys.ldb and restart the application.

Enabling classic authentication on Windows XP Professional

Enabling classic authentication on Windows XP Professional

Click on the start menu and click on control panel, then go into Administrative tools. In there double click on local security policy.

On the left hand list click on Local Policies then Security Options and sort by security setting, scroll down and find the Policy that has this security settings.

Double click and change the drop down from Guest Only to Classic.

Enabling automatic logon in Windows XP

Click Start, click Run, and type control userpasswords2. Clear the ssers must enter a username and password to use this computer check box and click apply.
Enter the user name and password you wish to automatically log on with, and then click OK. Click OK again and you're all done.

What happens if Genesys is closed during playback?

If Genesys is accidentally closed while a cart is playing, don't worry, providing it is opened before that cart finishes then it will carrying on as normal. This is therefore particularly useful if Genesys needs to be closed and re-opened for a reason.

How do i quickly stop and start the genesys services?

There are times when the services may need restarting, this is generally under advisement of our support team.

Click on start and then run, in the run box type cmd and press OK. In the Command prompt window type the following

net stop xxxx (where xxxx = gsp for Genesys System Processor, gae for Genesys Audio Engine and ged for Genesys External Device Server). Then to start the services it's the same but start instead of stop!

How can I dump the current File List entries to a file?

Pressing CTRL SHIFT A will create a new dump file in the working directory named audiolists.dmp.

What are the program files used by Genesys?

Files found in c:\genesys

AEGUI.EXE Debugging utility to show what the Audio Engine is doing and allow control of it

AEGUI.dmp This is a text file listing what AEGUI is doing.

aptx100.dll The software module that allows encoding and decoding of APT-X compressed audio - this is optional and requires a specific registration key on the machine with the function enabled.

AudioEngine.exe The audio engine program (normally run as a service) - see documentation elsewhere

AudioEngine.dmp If the AudioEngine is configured in the registry to create a trace debug file, this will be created. It's a text file listing what the audio engine is doing.

ExtDevServer.exe The External Device Server program (normally run as a

service) - see documentation elsewhere

ExtDevServer.dmp If the External Device Server is configured in the registry to create a trace debug file, this will be created. It's a text file listing what the External Device Server is doing.

gdiplus.dll This is a Microsoft C++ Graphics library using by Genesys

GenCodec.dll This provides all the audio encoding and decoding functionality to the Genesys applications

GenDB.dll This provides all the database communication (either MS SQL or My SQL) for the Genesys applications

Genesys.exe This is the main Genesys program that provides the user interface screens

Genesys.dmp If the main Genesys application is configured in the registry to create a trace debug file, this will be created. It's a text file listing what Genesys is doing.

*.SQL These are SQL script files used to modify the Genesys database, they are only used for initially setting up the database or for updating it to add new features.

GenExp_CE.flt This is the Cool Edit / Adobe Audition import / export filter that allows these editors to communicate with the database to get additional information about audio files.

GenNet.exe This is an optional application that provides replication between multiple Genesys sites

GenPlayer.exe This is a single deck player that can be used to audition audio from the Genesys library where a full Genesys workstation isn't available

GenPlayer.dmp If GenPlayer is configured in the registry to create a trace debug file, this will be created. It's a text file listing what GenPlayer is doing.

GenRem.dll This provides an interface for other applications (such as GARC)to talk to Genesys using the Genesys TCP remote control protocol

GenRem.dmp This is a text file listing what the GenRem is doing.

GenSetup.exe This application allows the configuration of the system that is stored in the SQL database to be edited.

GetCheckCode.exe This allows security codes to be viewed and registration keys to be set to license the various components of Genesys.

GEDConfig.cfg This is the cached configuration for the Extdev Server

GSPConfig.cfg This is the cached configuration for the System Processor

GSPLogImport.dat This keeps track of which log files have been imported so that the System Processor doesn't re-import them every time it's started.

GSPLogMerge.dat This keeps track of which log files have been merged so that the System Processor doesn't re-imoprt them every time it's started.

libmySQL.dll This provides the connectivity to MySql database servers - as MySQL is the default for Genesys, this file should always be
present even if the system is actually using a MS SQL server.

Msvcp60.dll This is a Microsoft Visual C++ runtime library required by the Genesys applications

Msvcr70.dll This is a Microsoft Visual C runtime library required by the Genesys applications

NCTAudioCompress.dll This is a library used to provide mp2 & mp3 functionality for Genesys

NCTAudioGrabber.dll This is a library used to provide CD ripping functionality for Genesys

NCTAudioPlayer.dll This is a library used to provide CD playback functionality within the Genesys CD ripper

NCTImageFile.dll This is a library used to import graphics files for cover art

NCTImageView.dll This is a library used to view the covert art

PCGW32.dll This is part of the registration key system that only allows specific parts of the Genesys system to run on a particular machine

PlaylistEditor.exe This allows Genesys playlists to be edited, and also audit and inventory reports to be run.

PlaylistEditor.dmp If the PlaylistEditor is configured in the registry to create a trace debug file, this will be created. It's a text
file listing what the PlaylistEditor is doing.

ReleaseNotes.txt A text file listing changes in recent versions of the Genesys software

SPGUI.exe This is a utility to monitor what the System Processor is doing- which machines are connected and the locks that are set on any
carts or playlists

SPGUI.dmp This is a text file listing what SPGUI is doing.

SystemProcessor.exe The System Processor program (normally run as a service) - see documentation elsewhere for further details

SystemProcessor.dmp If the System Processor is configured in the registry to create a trace debug file, this will be created. It's a text
file listing what the System Processor is doing.

Weather.txt This is an example weather file for displaying in the Weather pane within Genesys.

Cache Files

In the c:\genesys directory you will find the following cache files, which contain cached data from the sql db in case the server is not present. These are created the first time Genesys starts on that workstation, so if they are deleted they will be recreated. While Genesys is running it will keep them up to date with information received from the server.

Genesys.adb - this is the audio and collections data for that workstation

Genesys.adt - The audit table for that workstation.

Genesys.cfg - Configuration data for that workstation

Genesys.ldb - this is the log data for that workstation (for current and next day)




What files may exist in the Audio paths?

.Audio Files
If there are multiple audio paths, the carts are stored in the different locations based on the categories they are in - this is defined in GenSetup. As the categories are defined based on the cart name, all carts starting A*.* will be in one place, unless the cart range is allowed to span multiple paths.

*.WAV This is the audio for a cart in WAV format. A WAV file can contain
mono, stereo (or surround) audio which can either be linear or encoded
as Mpeg2 or Mpeg3. The audio can also be in a variety of sample rates
and bit depths. Genesys will create WAV files that also contain a
'cart chunk' - this means that the title, artist and various other
bits of data such as start, end and aux marks are stored in the file
(as well as the database).

*.DAF This is the audio for a cart in DAF (Computer Concepts / DCS) format.
It can contain mono or stereo audio which can either be linear, Mpeg2
or APT-X encoded at between 32kHz and 44.1kHz sample rate, 16 bit.
The advantage of a DAF file is that as well as title, agency, start
and end dates and the aux mark, it also contains a bit map of which
stations at a site it is valid for - as a result it is ideal for the
distribution of commercials.

*.MP2 This is the audio for a cart in Mp2 format (ie Mpeg2 encoded but not
using a WAV header)

*.MP3 This is the audio for a cart in Mp3 format (ie Mpeg3 encoded using an
mp3 rather than WAV header)

*.TF This is a temporary audio file - generally something that's being
recorded that hasn't been committed to the database yet. If a Genesys
machine is restarted while one of these files exists (ie before the
cart has been saved to the database) there will end up being orphaned
and left on the system. However should be possible to rename one of
these files (ie *.WAV) and import them into the database to recover
the audio that had been recorded.

*.WFM This is the waveform graphic file relating to a cart in one of the
above formats. Genesys uses these to be able to display the waveform
faster than if it was to load and decode the whole audio file every
time this is required.

*.TWF This is a temporary waveform file, generally relating to a *.TF file
that again hasn't been committed to the database yet. If a Genesys
machine is restarted while one of these files exists (ie before the
cart has been saved to the database) there will end up being orphaned
and left on the system. These can be manually deleted as if Genesys
needs a waveform file, a new one will be generated.

When a cart is deleted, initially the audio file is just renamed with a ~ as the last character of the extension and the information removed from the database,
therefore:
*.WA~ a WAV cart that has been deleted
*.DA~ a DAF cart that has been deleted
*.MP~ either an MP2 or MP3 file that has been deleted
To purge these file from the system, either an engineer can delete *.??~ from the audio path, or within the Genesys Production screen, on the Tools menu, select 'Free Disk Space' and click on the 'Cleanup' button.


What are the bit values for the StatusbarMask registry setting?

0 = text, 1 = DB, 2 = SP, 3 = AE, 4 = ExtDev, 5 = Air, 6 = RDS, 7 = Caps lock, 8 = Num lock, 9 = Scroll lock.

How do i purge the sql transaction log file?

Use the following sql query:
dump tran genesys with no_log