From 8ccec15ca16cc78c625d02a56e73ff3b84858197 Mon Sep 17 00:00:00 2001 From: Comment Date: Thu, 29 Nov 2012 14:18:13 +0000 Subject: 4 working songs --- vfg/bin/data/Levels_DingDong.2.2.xml | 8 + vfg/bin/data/Levels_WeWishYou.2.1.xml | 8 + vfg/bin/data/Lyrics_DingDong.2.2.xml | 27 ++ vfg/bin/data/Lyrics_WeWishYou.2.1.xml | 37 ++ vfg/bin/data/VODA_MIDI_DeckTheHalls-v.4.0.xml | 544 ++++++++++++++++++++++++++ vfg/bin/data/VODA_MIDI_DingDong_v.2.2.xml | 507 ++++++++++++++++++++++++ vfg/bin/data/VODA_MUS_WEWISHU_Midi_v.2.1.xml | 425 ++++++++++++++++++++ vfg/src/testApp.cpp | 2 + vpn/notes.txt | 21 + 9 files changed, 1579 insertions(+) create mode 100755 vfg/bin/data/Levels_DingDong.2.2.xml create mode 100755 vfg/bin/data/Levels_WeWishYou.2.1.xml create mode 100755 vfg/bin/data/Lyrics_DingDong.2.2.xml create mode 100755 vfg/bin/data/Lyrics_WeWishYou.2.1.xml create mode 100755 vfg/bin/data/VODA_MIDI_DeckTheHalls-v.4.0.xml create mode 100755 vfg/bin/data/VODA_MIDI_DingDong_v.2.2.xml create mode 100755 vfg/bin/data/VODA_MUS_WEWISHU_Midi_v.2.1.xml diff --git a/vfg/bin/data/Levels_DingDong.2.2.xml b/vfg/bin/data/Levels_DingDong.2.2.xml new file mode 100755 index 0000000..0636305 --- /dev/null +++ b/vfg/bin/data/Levels_DingDong.2.2.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/vfg/bin/data/Levels_WeWishYou.2.1.xml b/vfg/bin/data/Levels_WeWishYou.2.1.xml new file mode 100755 index 0000000..8f037af --- /dev/null +++ b/vfg/bin/data/Levels_WeWishYou.2.1.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/vfg/bin/data/Lyrics_DingDong.2.2.xml b/vfg/bin/data/Lyrics_DingDong.2.2.xml new file mode 100755 index 0000000..4ec3249 --- /dev/null +++ b/vfg/bin/data/Lyrics_DingDong.2.2.xml @@ -0,0 +1,27 @@ + + + Ding dong merrilly on high + In heav'n the bells are ringing + Ding dong! verily the sky + Is riv'n with angel singing + Gloria + Hosanna in excelsis! + + E'en so here below, below + Let steeple bells be swungen + And "Io, io, io!" + By priest and people sungen + Gloria + Hosanna in excelsis! + + Pray you, dutifully prime + Your matin chime, ye ringers + May you beautifully rime + Your evetime song, ye singers + + Gloria + Hosanna in excelsis! + Gloria + Hosanna in excelsis! + + diff --git a/vfg/bin/data/Lyrics_WeWishYou.2.1.xml b/vfg/bin/data/Lyrics_WeWishYou.2.1.xml new file mode 100755 index 0000000..c90ff62 --- /dev/null +++ b/vfg/bin/data/Lyrics_WeWishYou.2.1.xml @@ -0,0 +1,37 @@ + + + We wish you a merry Christmas + We wish you a merry Christmas + We wish you a merry Christmas + and a happy New Year! + + We wish you a merry Christmas + We wish you a merry Christmas + We wish you a merry Christmas + and a happy New Year! + + Good tidings we bring + to you and your kin + We wish you a merry Christmas + and a happy New Year! + + Oh, bring us a figgy pudding + Oh, bring us a figgy pudding + Oh, bring us a figgy pudding + and a cup of good cheer! + + We wish you a merry Christmas + We wish you a merry Christmas + We wish you a merry Christmas + and a happy New Year! + + Good tidings we bring + to you and your kin + We wish you a merry Christmas + and a happy New Year! + + Good tidings we bring + to you and your kin + We wish you a merry Christmas + and a happy New Year! + diff --git a/vfg/bin/data/VODA_MIDI_DeckTheHalls-v.4.0.xml b/vfg/bin/data/VODA_MIDI_DeckTheHalls-v.4.0.xml new file mode 100755 index 0000000..5530898 --- /dev/null +++ b/vfg/bin/data/VODA_MIDI_DeckTheHalls-v.4.0.xml @@ -0,0 +1,544 @@ + + + + Chip Sounds + Chip Sounds + + + Marker ## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Marker ## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vfg/bin/data/VODA_MIDI_DingDong_v.2.2.xml b/vfg/bin/data/VODA_MIDI_DingDong_v.2.2.xml new file mode 100755 index 0000000..bae0705 --- /dev/null +++ b/vfg/bin/data/VODA_MIDI_DingDong_v.2.2.xml @@ -0,0 +1,507 @@ + + + + Melody + Melody + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vfg/bin/data/VODA_MUS_WEWISHU_Midi_v.2.1.xml b/vfg/bin/data/VODA_MUS_WEWISHU_Midi_v.2.1.xml new file mode 100755 index 0000000..c7f74cc --- /dev/null +++ b/vfg/bin/data/VODA_MUS_WEWISHU_Midi_v.2.1.xml @@ -0,0 +1,425 @@ + + + + + + + + + Marker ## + + + + + + + + + + Melody + Melody + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Melody + Melody + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Melody + Melody + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Melody + Melody + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vfg/src/testApp.cpp b/vfg/src/testApp.cpp index d20bb23..d1cb41c 100755 --- a/vfg/src/testApp.cpp +++ b/vfg/src/testApp.cpp @@ -3,6 +3,8 @@ //-------------------------------------------------------------- void testApp::setup(){ + songs.push_back(new song("WeWishYouAMerryChistmas_v.2.1/VODA_MUS_WEWISHU_Backing_v.2.1.mp3","WeWishYouAMerryChistmas_v.2.1/VODA_MUS_WEWISHU_Lead_v.2.1.mp3","VODA_MUS_WEWISHU_Midi_v.2.1.xml","Lyrics_WeWishYou.2.1.xml","Levels_WeWishYou.2.1.xml")); + songs.push_back(new song("DingDong.v.2.2/VODA_MUS_DingDong_Backing_v.2.2.mp3","DingDong.v.2.2/VODA_MUS_DingDong_Melody_v.2.2.mp3","VODA_MIDI_DingDong_v.2.2.xml","Lyrics_DingDong.2.2.xml","Levels_DingDong.2.2.xml")); songs.push_back(new song("JingleBells_v.4.0/VODA_MUS_JingleBells_Backing_v.4.0.mp3","JingleBells_v.4.0/VODA_MUS_JingleBells_Melody_v.4.0.mp3","VODA_MUS_JingleBells_MIDI_v.4.0.xml","Lyrics_JingleBells.4.0.xml","Levels_JingleBells.4.0.xml")); songs.push_back(new song("DeckTheHalls_v.4.0/VODA_MUS_DeckTheHalls-Backing_v.4.0.mp3","DeckTheHalls_v.4.0/VODA_MUS_DeckTheHalls-Lead_v.4.0.mp3","VODA_MIDI_DeckTheHalls-v.4.0.xml","Lyrics_DeckTheHalls.4.0.xml","Levels_DeckTheHalls.4.0.xml")); diff --git a/vpn/notes.txt b/vpn/notes.txt index 6cb0e6c..9d3d298 100755 --- a/vpn/notes.txt +++ b/vpn/notes.txt @@ -4,3 +4,24 @@ sudo openvpn --config server.conf ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "database put GAME passcode 89889"' ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "database put GAME ip 4.4.4.4"' ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "devstate change Custom:GAME NOT_INUSE"' + +1 -download the source of asterisk from the server including the patch +2 -make && sudo make install + Make install samples # created default config files +3 -copy the configuration you have set up, tweak it i.e. send the UDP +packet to a local address + + Copy /etc/asterisk from server to new server + copy /var/lib/asterisk/agi/gameif to new server and edit script +changing PeerHost => '10.10.10.2', to new value. + +4 -fire up asterisk + From command line type "asterisk" this start the daemon, use +"asterisk -rvvvv" to get to asterisk CLI + Copy sound files /var/lib/asterisk/sounds to new server + When you wish to dequeue a call , at the asterisk cli enter " +devstate change Custom:GAME NOT_INUSE " + +5 -connect a softphone + Dial #99 to test +6 -check DTMF latency \ No newline at end of file -- cgit v1.2.3