Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - xtermin8r

Pages: [1] 2 3 4
1
WAY Off Topic / The xtermin8r has returned
« on: August 17, 2015, 11:36:02 AM »
hi everyone
im back.

Snap - The Ex-Terminator - 1992 (Rare)

2
howdy voxinaters

according to the wiki

Quote
One important note about payloadXML files is that they can't be the only part of a command. You should have some other phrase before them that the engine can use to identify which command to execute (in the example above, "Play song" is said first).

what if i want to use a payload xml or some other xml  WITHOUT using a phrase before the payload phrase.

for example I want to use the phrases like shown below to trigger the values as shown below.

Previous track button 40044
Next track button 40048
Play button 40045
Pause/Unpause button 40046
Stop button 40047
Fadeout and stop 40147
Stop after current track 40157
Fast-forward 5 seconds 40148
Fast-rewind 5 seconds 40144
Start of playlist 40154
Go to end of playlist 40158
Open file dialog 40029
Open URL dialog 40155
Open file info box 40188
Set time display mode to elapsed 40037
Set time display mode to remaining 40038
Toggle preferences screen 40012
Open visualization options 40190
Open visualization plug-in options 40191
Execute current visualization plug-in 40192
Toggle about box 40041
Toggle title Autoscrolling 40189
Toggle always on top 40019
Toggle Windowshade 40064
Toggle Playlist Windowshade 40266

http://forums.winamp.com/showthread.php?threadid=180297

I don't want to say "Jarvis" then VC comes out of standby then say "winamp open visualization options", what I would like to say is "open visualization plugin options", i also don't want to write a VC command for each winamp command, that's what I've been doing, and things are looking untidy, most of my groups are like this, in some scenarios I prefer payloads without speaking any phrases before.
can it be done in VC ? or should I try conjuring up something in python ?  ::hmm

3
howdy

I'm using a dos program called clever to control winamp and also using it to get useful information back from winamp, i recently discovered the new launch.capture command and it's working fine capturing the output, but the dos box being visible is annoying. I was wondering is there any way to keep the dos box hidden when using Launch.Capture ?

4
Integration Ideas / Voxcommando Speech to Milkdrop Visualisation.
« on: June 06, 2014, 09:25:36 AM »
Hi

here's a demo of voxcommando tts to milkdrop visualisation.



http://youtu.be/9DQXPorzDMo

5
Winamp has been integrated into the collective.

http://www.winamp.com/



Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.1-->
<command id="859" name="Play Song" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch</cmdType>
    <params>
      <param>F:\Appz\Media_Players\Winamp\Winamp.exe</param>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.SpeakSync</cmdType>
    <params>
      <param>{PF.1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Play Song</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">E:\Appz\Vox\Payloads\music.xml</payloadFromXML>
</command>


You will need to create a payload xml to get the above command working.
http://voxcommando.com/forum/index.php?topic=1577.0

The above method will probably work with many other media players out there.

Enjoy.

6
Hi
Just need some info on payload xmls. How does vc treat &amp; in a payload xml string. will vc treat is as & when parsing the xml, and will vc recognise it (voice command) as Lustral Everytime Nalin & Kane mix ?

Code: [Select]
<payload>
<value>E:\Music\MIJ Selection\Lustral - Everytime (Nalin &amp; Kane mix).mp3</value>
<phrase>Lustral Everytime Nalin &amp; Kane mix</phrase>
</payload>

7
Integration Ideas / XWidget Integration for Voxcommando.
« on: May 25, 2014, 04:26:27 PM »
XWidget has been integrated into the vc collective.

http://www.xwidget.com



Possibilities are endless when vc is involved.

Some uses are:
1. create a "always on top" button that toggles  vc.on vc.off
2. create a "always on top" button for text to speech.
3. create a button that speaks weather information.
4. Internal engine supports scripts (VB, Javascript).
5. blah blah.

If anyone thinks it may be useful, let me know, I may do a tutorial.

got to go, more may follow.

8
Dear Voxinator

I'm struggling to construct the regex pattern that extracts the artist and song name for another mpc xperiment I'm doing.
the url in question http://localhost:13579/info.html
Code: [Select]
<p id="mpchc_np">&laquo; MPC-HC v1.7.3.0 &bull; Snap - The Power &bull; 00:00:00/00:04:24 &bull; 19.4 MB &raquo;</p>

I'm trying to extract Snap as artist and The Power as song, so that I can ask Jarvis to tell me who the artist is, and tell me the song name.

the only thing I could come up with is &bull;(.*?)(.*?)&bull which gives me Snap - The Power

thanks in advance.

9
Python script to generate payload xml files for vc, scans directories and subdirectories also gets rid of unwanted characters.

Code: [Select]
#-------------------------------------------------------------------------------
# Name:        VC Payload Xml Generator
# Purpose:     I need it
#
# Author:      xtermin8r
#
# Created:     21/05/2014
# Copyright:   (c) xtermin8r 2014
# Licence:
#-------------------------------------------------------------------------------
import re
import os
from re import findall
from xml.etree import ElementTree as ET

# Set the directories
mvpath = "E:\\Videos"
xmlpath = "E:\\Appz\\Vox\VC_187_Eden\\payloads\\musicvideos.xml"

#function get rid of unwanted characters
def cfix(zx):
    global x
    f2 = re.sub( '\s+', ' ', zx).strip()
    f2 = f2.replace(" -", "")
    f2 = f2.replace("-", "")
    f2 = f2.replace(":", "")
    x = f2
    return x

#create the root </PayloadsRoot> <PayloadsRoot>
root_element = ET.Element("PayloadsRoot")

for dirName, subdirList, fileList in os.walk(mvpath):
    for fname in fileList:
        #create the first subelemet <payload> </payload>
        pay_element = ET.SubElement(root_element, "payload")
        #create the first child <value> </value>
        child = ET.SubElement(pay_element, "value")
        child.text = dirName +"\\" + fname
        #create the second child <phrase> </phrase>
        child = ET.Element("phrase")
        #get the filename without the extension
        fname = ('.').join(fname.split('.')[:-1])
        #get rid of unwanted characters
        cfix(fname)
        fileName = x
        child.text = fileName
        #now append
        pay_element.append(child)

def indent(elem, level=0):
    i = "\n" + level*'\t'
    if len(elem):
        if not elem.text or not elem.text.strip():
            elem.text = i + '\t'
        if not elem.tail or not elem.tail.strip():
            elem.tail = i
        for elem in elem:
            indent(elem, level+1)
        if not elem.tail or not elem.tail.strip():
            elem.tail = i
    else:
        if level and (not elem.tail or not elem.tail.strip()):
            elem.tail = i

indent(root_element)
print ( ET.tostring(root_element) )

output_file = open(xmlpath, 'w' )
output_file.write( '<?xml version="1.0" encoding="utf-8"?>'+'\n' )
output_file.write( '<!--A VoxCommando Payload file-->' +'\n' )
output_file.write( ET.tostring(root_element) )
output_file.close()

Enjoy.

10
Integration Ideas / Voxcommando Media Player Classic Integration.
« on: May 18, 2014, 12:28:08 PM »
Today's xperiment will be integrating media player classic into the collective.

MPC-HC is an extremely light-weight, open source media player for Windows®. It supports all common video and audio file formats available for playback.

http://mpc-hc.org/

11
VoxCommando Basics and Core Features / Robobrowser Frameless ?
« on: May 18, 2014, 09:29:06 AM »
Hi

Is their a way to make robobrowser frameless ?

12
Version 2 updates / Problems downloading VC Setup 1.922.exe
« on: April 27, 2014, 06:00:17 PM »
This has never happened before with a vc download.

14
Python Scripting / Python TTS.SpeakSync lastresult help
« on: April 22, 2014, 01:47:31 PM »
Hi
vc.callAction("TTS.SpeakSync",lastresult, None) = not working

What is the correct syntax ?
thanks.

15
VoxCommando Basics and Core Features / Start VC in system tray
« on: April 10, 2014, 06:39:13 AM »
hi

is it possible to send vc to system tray automatically on windows startup ?

Pages: [1] 2 3 4