RPTools.net

Discussion and Support

Skip to content

It is currently Mon Oct 23, 2017 1:45 pm 




Forum rules


PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)



Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Sound clips
PostPosted: Fri Mar 09, 2012 7:07 pm 
Cool input! Thanks, flynndad!

When we get to the point of adding this in, I know where to go for some tips and ideas. :)


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Sat Jun 16, 2012 9:25 pm
Posts: 91
 Post subject: Re: Sound clips
PostPosted: Sat Jun 16, 2012 9:28 pm 
I don't know what's been discussed, all I really want though is the ability to add sound clips that play to others via token macros. Even if it has a cool down, it would be nice to add some sound effects.


Top
 Profile  
 
User avatar  Offline
Kobold
 
Joined: Fri Mar 19, 2010 9:27 am
Posts: 15
Location: France (Guyancourt / Limoges)
 Post subject: Re: Sound clips
PostPosted: Mon Sep 05, 2016 11:16 am 
I was a long time away, but I recently updated my lib, due to VLC change on their http interface with latest versions.... Here is a campaign minimalist with music token and sort of indications in frame()....it does a lot of IE spamm, but it works...

I'm using the test build (1.4.1.7), but am not sure it would not work with the last release for the music lib

4 instances of VLC (version 2.2.4 here) on 4 ports (the .bat to launch), with http web interface activated, and some json playlist for managing the music to play....

need to be done :
    using a "simple" name for emplacement of music on HDisk : i use g:/mp3 : no space, underlines, special characters....
    launch the 4 VLC instance ( i made a .bat for windows, shell on linux is easy to adapt)
    click on a Music token, my framework display its characterSheet
    clicking on "edit" on his top, should open a dialog and a "playlist".
    Attachment:
    File comment: links to play / pause musics
    MusicCharsheet.jpg
    MusicCharsheet.jpg [ 53.22 KiB | Viewed 318 times ]
    click on the "update" link on top of playlist frame.
    Attachment:
    File comment: playlist (it's VERY long to update , but fortunately, it's then stocked in Lib:Music and have only to be redone if you add music in your directory)
    Musicplaylist.jpg
    Musicplaylist.jpg [ 182.1 KiB | Viewed 318 times ]
    A new dialog with directory for MP3 and server ports/ip appear,
    Attachment:
    musicAsk.jpg
    musicAsk.jpg [ 30.7 KiB | Viewed 318 times ]
    change IP or directory where you stock the musics. a frame display with calculated link should appear
Attachment:
File comment: the operating instructions in game
musichelp.jpg
musichelp.jpg [ 91.42 KiB | Viewed 318 times ]

    follow instructions to upload the MP3 in VLCs, and update the lib:Music token. The construction of playlist in HTML can be very long, especially with tons of musics in the playlist (mine is around 2000 titles, and it take 30min to create the playlist)....fortunately, it's necessary only once, or whenever you change repertory or music items on your hard disk
    you can change volume, or pause/play the same music with the control display
    Attachment:
    File comment: volume, and stoping musics
    Musiccontrol.jpg
    Musiccontrol.jpg [ 24.77 KiB | Viewed 318 times ]


Each VLC Command is a http/json get, raising 5 times the volume will open 5 page in IE... it can be a little spammy using this lib... :D


File comment: Campaign "almost empty" with lib:music
Reference vide V3.9.cmpgn [3.5 MiB]
Downloaded 30 times
File comment: a batch to launch and stop the 4 VLC instances
Music.zip [522 Bytes]
Downloaded 32 times
Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9413
Location: Netherlands
 Post subject: Re: Sound clips
PostPosted: Mon Sep 05, 2016 1:49 pm 
awesome, thanks!!

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: Bing [Bot] and 3 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman