• Playing Sound files in Mystic

    From Avenger@21:2/122 to All on Thursday, May 18, 2017 20:20:51
    So one of the ideas I had for my BBS was to have a short music file play on logon and logoff. I know, could be annoying.. but my thought was to cut out some of my favorite parts of songs and have them rotate so it's not the same thing every time.

    I searched through the mystic wiki and support doc and there's no mention of sound or music, aside from the PC speaker beep.

    An internet search promptly gave me the finger...

    .-=Avenger=-.
    Avenger BBS
    Santa Cruz USA

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Avenger BBS (21:2/122)
  • From garycrunk@21:2/105 to Avenger on Thursday, May 18, 2017 20:35:12
    on logon and logoff. I know, could be annoying.. but my thought was to
    An internet search promptly gave me the finger...

    I've also looked into that so I could possibly play a Music file (mp3) when
    the user runs my Door Game.... I also got the "Internet-Search-Finger"...

    1 Problem is most programs like SyncTerm etc are not built to Auto-Receive
    and Auto-Play Music. I even looked into Ansi-Music, tried it and it just did not work at all...

    2 You would have to "Stream" the music file out, using most likely something written in Python or something. But the biggest issue that I can see is most Telnet Clients are not Multimedia Capable... Or none that I know of...

    Disclaimer: I could be TOTALLY WRONG on all of my assumptions above, and should not be considered factual or accurate in any way. Any legal actions should be forwarded to the office of Idonthaveanymoneysosuingmewouldbepointless.... :)

    Gary Crunk
    Another F-ing BBS
    anotherbbs.bbsindex.com

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Another F-ing BBS (21:2/105)
  • From Avon@21:1/101 to garycrunk on Friday, May 19, 2017 15:44:13
    On 05/18/17, garycrunk pondered and said...

    Idonthaveanymoneysosuingmewouldbepointless.... :)

    HahahajointheclubIthinkweshouldstartasupportgroup.... :)

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Avon@21:1/101 to Avenger on Friday, May 19, 2017 15:55:40
    On 05/18/17, Avenger pondered and said...

    So one of the ideas I had for my BBS was to have a short music file play on logon and logoff. I know, could be annoying.. but my thought was to
    cut out some of my favorite parts of songs and have them rotate so it's not the same thing every time.

    You could add something in to the prelogin menu to call a sfx via a batch
    file.

    I also think someone did post an idea here in the past. I will try and search it out. Actually that may have been something more along the lines of making sound work when the sysop was being pages... not sure.

    There's also an MCI code t send the user a beep... but that's a different
    tale again :)

    Best, Paul

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From garycrunk@21:2/105 to Avon on Thursday, May 18, 2017 21:06:31
    HahahajointheclubIthinkweshouldstartasupportgroup.... :)

    It would be called the Moneyless SpaceBarLess Club...

    Gary Crunk
    Another F-ing BBS
    anotherbbs.bbsindex.com

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Another F-ing BBS (21:2/105)
  • From garycrunk@21:2/105 to Avon on Thursday, May 18, 2017 21:09:48
    HahahajointheclubIthinkweshouldstartasupportgroup.... :)
    It would be called the Moneyless SpaceBarLess Club...

    Or... FinanciallyChallengedSpacebarlessSupportGroup.

    I would hate to see the Nodelist for that one...

    Gary Crunk
    Another F-ing BBS
    anotherbbs.bbsindex.com

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Another F-ing BBS (21:2/105)
  • From Avon@21:1/101 to garycrunk on Friday, May 19, 2017 17:01:36
    On 05/18/17, garycrunk pondered and said...

    Idonthaveanymoneysosuingmewouldbepointless.... :)
    HahahajointheclubIthinkweshouldstartasupportgroup.... :)
    It would be called the Moneyless SpaceBarLess Club...

    Or... FinanciallyChallengedSpacebarlessSupportGroup.

    then there's that well know vocal group IMAMEMBEROFTHESHOUTYSHOUTYCLUBSOTHERE :)

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From garycrunk@21:2/105 to Avon on Thursday, May 18, 2017 22:15:21
    IMAMEMBEROFTHESHOUTYSHOUTYCLUBSOTHERE :)

    LOL!

    Gary Crunk
    Another F-ing BBS
    anotherbbs.bbsindex.com

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Another F-ing BBS (21:2/105)
  • From Skuz@21:1/105 to Avenger on Friday, May 19, 2017 01:43:01
    Hello Avenger!

    18 May 17 20:20, you wrote to all:

    So one of the ideas I had for my BBS was to have a short music file
    play on logon and logoff. I know, could be annoying.. but my thought
    was to cut out some of my favorite parts of songs and have them rotate
    so it's not the same thing every time.

    Here is the way I do it here when a user logs in. In my prelogin menu there is a D3 exec program data c:\doors\run-audio.bat The batch file looks like. @echo off
    C:
    cd /d %programfiles%\videoLAN\VLC
    start /min vlc %systemroot%\media\logon.mp3 vlc://quit
    C:
    cd \mystic

    You can change it to do different audio files by adding "if exist" for whatever

    the day of the week is; mon, tue, wed, etc. etc.. or there is probably other ways to do what your thinking about. If I understand what your taking about. Your options are endless.. You can also log that date and time with..

    @Echo off
    SET LOGFILE=c:\mystic\logs\audio.log
    call :Logit >> %LOGFILE%
    exit /b 0

    :Logit
    :: ....
    set hour=%time:~0,2%
    if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
    set min=%time:~3,2%
    if "%min:~0,1%" == " " set min=0%min:~1,1%
    set secs=%time:~6,2%
    if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
    set year=%date:~-4%
    set month=%date:~3,2%
    if "%month:~0,1%" == " " set month=0%month:~1,1%
    set day=%date:~0,2%
    if "%day:~0,1%" == " " set day=0%day:~1,1%
    set datetimef=%year%%month%%day%_%hour%%min%%secs%
    echo datetimef=%datetimef%
    cd /d %programfiles%\videoLAN\VLC
    start /min vlc %systemroot%\media\logon.mp3 vlc://quit
    SET LOGFILE=
    c:
    cd \mystic

    --- GoldED+/W32-MSVC 1.1.5-b20160201
    * Origin: flupH * fluph.darktech.org (21:1/105)
  • From Avenger@21:2/122 to garycrunk on Friday, May 19, 2017 00:36:46
    On 05/18/17, garycrunk said the following...
    I've also looked into that so I could possibly play a Music file (mp3) when the user runs my Door Game.... I also got the "Internet-Search-Finger"...

    At least now I know it's not personal.

    1 Problem is most programs like SyncTerm etc are not built to
    Auto-Receive and Auto-Play Music. I even looked into Ansi-Music, tried
    it and it just did not work at all...

    Yep, yep. Thought about Ansi sound too, got nowhere.

    2 You would have to "Stream" the music file out, using most likely something written in Python or something. But the biggest issue that I can see is most Telnet Clients are not Multimedia Capable... Or none
    that I know of...

    Donno, I have a few sound packs for different door games but I'm not sure if the sound only plays locally (haven't tried them out yet). Maybe we should
    ask Skuz? I read ahead ;).

    Idonthaveanymoneysosuingmewouldbepointless.... :)

    lol
    iwishsomeonewouldstealmyidentitysoicangetoutofdebt

    .-=Avenger=-.
    Avenger BBS
    Santa Cruz USA

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Avenger BBS (21:2/122)
  • From Avenger@21:2/122 to Skuz on Friday, May 19, 2017 00:45:49
    On 05/19/17, Skuz said the following...
    Hello Avenger!
    <waves at screen>

    Here is the way I do it here when a user logs in. In my prelogin menu

    SAVED!

    Right on man! I'll definitely be trying this!!!

    My legal representation and I are wondering if this will play automatically from a telnet client like Netrunner. Does the user have to do anything on
    their end?

    .-=Avenger=-.
    Avenger BBS
    Santa Cruz USA

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Avenger BBS (21:2/122)
  • From Skuz@21:1/105 to Avenger on Friday, May 19, 2017 04:01:20
    19 May 17 00:45, you wrote to me:

    SAVED!
    Right on man! I'll definitely be trying this!!!
    My legal representation and I are wondering if this will play automatically from a telnet client like Netrunner. Does the user have
    to do anything on their end?

    I thought you just wanted to play a audio file on the mystic system when I user

    login. It has nothing to do with automatically playing for the telnet remote client. It will only play on the mystic server machine for the system operator. Sorry that I didn't understand what you where wanting to do (:

    The only thing that I can think of is enbedded ANSI music for the remote client and I'm not sure of what clients even support enbedded ANSI music code loony tunes... to coin a phrase. It be nice to hear video killed the radio star (:

    --- GoldED+/W32-MSVC 1.1.5-b20160201
    * Origin: flupH * fluph.darktech.org (21:1/105)
  • From Gryphon@21:1/101 to Avenger on Saturday, May 20, 2017 01:52:48
    On 05/18/17, Avenger pondered and said...

    So one of the ideas I had for my BBS was to have a short music file play on logon and logoff. I know, could be annoying.. but my thought was to
    cut out some of my favorite parts of songs and have them rotate so it's not the same thing every time.

    I searched through the mystic wiki and support doc and there's no
    mention of sound or music, aside from the PC speaker beep.

    An internet search promptly gave me the finger...

    Who is the music going to be played to? You on the BBS server side, or on
    the callers' side?

    If it's for your side, why not just add a menu item that runs a DD or D3
    doors, and call some MP3 player app?

    Ò Ö· Ò .
    Ö·Ò·ÒÖÖ·Ç·Ö·Ò· Ö·Ç ÖÄÖÖÇ·Ö·Ò·ÒÒÒ cyberia.darktech.org
    ӶРӶǽÐÐÓ½ÐÐ Ó½Ó ÓÄÓ¶Ó½ÓÄÐ ÐÓÐ kingwood, tx.
    Ó½ ½Ó ½

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Gryphon@21:1/101 to garycrunk on Saturday, May 20, 2017 02:00:12
    On 05/18/17, garycrunk pondered and said...

    So one of the ideas I had for my BBS was to have a short music file p on logon and logoff. I know, could be annoying.. but my thought was t An internet search promptly gave me the finger...

    1 Problem is most programs like SyncTerm etc are not built to
    Auto-Receive and Auto-Play Music. I even looked into Ansi-Music, tried
    it and it just did not work at all...

    I actually had some success with using Syncterm to play ANSI music, but it wasn't easy, and it can't be done with Mystic's ANSI display menu options.

    Mystic runs on Linux.
    My Desktop runs Linux Syncterm.

    I telnet in to my BBS and drop to the bash shell via a DD or D3 menu
    option with 'ssh -X localhost'.

    Then I go to my ANSI music files and run 'cat music.ans'. This usually works for playing music. But simply having a Mystic GD menu file display command
    to 'play' the file will not work.

    g00r00,
    Is there something about the ansi display routines that will prohibit the
    ansi music codes from being sent?

    Ò Ö· Ò .
    Ö·Ò·ÒÖÖ·Ç·Ö·Ò· Ö·Ç ÖÄÖÖÇ·Ö·Ò·ÒÒÒ cyberia.darktech.org
    ӶРӶǽÐÐÓ½ÐÐ Ó½Ó ÓÄÓ¶Ó½ÓÄÐ ÐÓÐ kingwood, tx.
    Ó½ ½Ó ½

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From g00r00@21:1/108 to Gryphon on Friday, May 19, 2017 13:14:36
    g00r00,
    Is there something about the ansi display routines that will prohibit the ansi music codes from being sent?

    If I am not mistaken it conflicts with other ANSI codes and it doesn't work
    in Linux. There was a reason... its been so long now that I can't quite remember though.

    If you have that ANSI music file laying around feel free to fire it off in an e-mail to mysticbbs@gmail.com and I'll see if I can either get it working or
    at least remind myself of why it doesn't.

    --- Mystic BBS v1.12 A34 (Windows/64)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Avenger@21:2/122 to Skuz on Saturday, May 20, 2017 00:03:18
    On 05/19/17, Skuz said the following...
    I thought you just wanted to play a audio file on the mystic system when login. It has nothing to do with automatically playing for the telnet remote client. It will only play on the mystic server machine for the

    =~[

    .-=Avenger=-.
    Avenger BBS
    Santa Cruz USA

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Avenger BBS (21:2/122)
  • From Avenger@21:2/122 to Gryphon on Saturday, May 20, 2017 00:21:15
    On 05/20/17, Gryphon said the following...
    Who is the music going to be played to? You on the BBS server side, or
    on the callers' side?

    If it's for your side, why not just add a menu item that runs a DD or D3 doors, and call some MP3 player app?

    I never really thought about playing on my side. Might be cool to mess around with. I'm just tinkering around with this thing for my own amusement and hopefully a few friends' amusement as well.

    I should probably check out some BBSs and see what they're doing. I didn't
    want to taint my creativity. =P

    .-=Avenger=-.
    Avenger BBS
    Santa Cruz USA

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Avenger BBS (21:2/122)
  • From xqtr@21:1/111 to Avenger on Saturday, May 20, 2017 14:32:01
    So one of the ideas I had for my BBS was to have a short music file play on logon and logoff. I know, could be annoying.. but my thought was to
    cut out some of my favorite parts of songs and have them rotate so it's not the same thing every time.
    I searched through the mystic wiki and support doc and there's no
    mention of sound or music, aside from the PC speaker beep.

    I pretty sure that this is not possible. It needs the telnet software to be able to play any sounds and the server/bbs have a unique pipe code, that will invoke that player.

    For example, in Web Browsers, the code of the site, tells the browser to fetch/stream a file and then the Browser, plays that file through a media player or codec/plugin. The same rule, applies to BBSes also. The server/BBS, should have a pipe code, telling the telnet client (ex. netrunner) to play/stream the file etc.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Another Droid BBS (21:1/111)
  • From Gryphon@21:1/101 to g00r00 on Wednesday, May 24, 2017 00:41:11
    On 05/19/17, g00r00 pondered and said...

    g00r00,
    Is there something about the ansi display routines that will prohibit ansi music codes from being sent?

    If I am not mistaken it conflicts with other ANSI codes and it doesn't work in Linux. There was a reason... its been so long now that I can't quite remember though.

    If you have that ANSI music file laying around feel free to fire it off
    in an e-mail to mysticbbs@gmail.com and I'll see if I can either get it working or at least remind myself of why it doesn't.

    I have several files I can send. But I do have one note to add to this.
    After I made this post, I tried it again. I went to bash and did a 'cat music.ans' and it played in Syncterm. Then I tried it again, and it didn't work. I could get none of my ansi music files to work after the first time I made it work.

    I'll zip up all my ansi music and give them to you to test on.

    Ò Ö· Ò .
    Ö·Ò·ÒÖÖ·Ç·Ö·Ò· Ö·Ç ÖÄÖÖÇ·Ö·Ò·ÒÒÒ cyberia.darktech.org
    ӶРӶǽÐÐÓ½ÐÐ Ó½Ó ÓÄÓ¶Ó½ÓÄÐ ÐÓÐ kingwood, tx.
    Ó½ ½Ó ½

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)