Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 44
  • *Total: 44

Author Topic: Project Magenta sounds and PM Systems  (Read 617 times)

Offline jr2mey

  • Forum GURU
  • *
  • Posts: 88
  • Karma: +0/-0
  • Aviation Enthusiast
  • First Name: James
  • Home Location: Tacoma
Project Magenta sounds and PM Systems
« on: July 28, 2017, 12:04:15 PM »
Hello all,

Seeing how powerfull PMSystems is, I am wondering if it can trigger an user defined sound event within PMSounds with logics writen in Pmsystems. Example:

if Landinglight=on and flappos>15 and fsaltitude <10000
then playwav= wavefile //something inside Pmsounds

Thanks,
James

James

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,188
  • Karma: +10/-0
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Project Magenta sounds and PM Systems
« Reply #1 on: July 28, 2017, 06:15:47 PM »
I believe the answer to this question is yes.....  :D :P

Offline jr2mey

  • Forum GURU
  • *
  • Posts: 88
  • Karma: +0/-0
  • Aviation Enthusiast
  • First Name: James
  • Home Location: Tacoma
Re: Project Magenta sounds and PM Systems
« Reply #2 on: July 28, 2017, 10:36:04 PM »
So I like the answer yes  ;D but then, what is it im doing wrong.  Im am unable to get the event to trigger the user defined sound...This is what is written in my 737 logic file.

if Landinglight=on and flappos>15 and fsaltitude <10000
               then playwav= prepland.wav
end if

James

Offline RayS

  • I may as well be Staff!
  • *
  • Posts: 656
  • Karma: +0/-0
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: Project Magenta sounds and PM Systems
« Reply #3 on: August 01, 2017, 05:59:02 AM »
Just a couple of hunches:

1. maybe you need to reference the fully-qualified filename: eg: C:\Soundfiles\prepland.wav ?

2. Maybe case-sensitivity is in play here? Landinglight is capitalized.. maybe it shouldn't be?

3. Maybe multiple conditions need to be nested?

   Instead of: if Landinglight=on and flappos>15 and fsaltitude <10000

   Maybe it should be:

      if landinglight = on
         if flappos  > 15
            if fsaltitude < 10000
               then playwav=prepland.wav
            endif
         endif
      endif
   
4. I'd also add VS... If verticalspeed < 0 or something. (or whatever it is in PMSystems)

5. Maybe the values are FLOAT values instead of integers: flaps = 15.0?

I literally know nothing about PM systems, but hopefully some of this is helpful...
« Last Edit: August 01, 2017, 05:59:56 AM by RayS »
Ray Sotkiewicz

Offline jr2mey

  • Forum GURU
  • *
  • Posts: 88
  • Karma: +0/-0
  • Aviation Enthusiast
  • First Name: James
  • Home Location: Tacoma
Re: Project Magenta sounds and PM Systems
« Reply #4 on: August 11, 2017, 09:41:58 AM »
Awesome Ray!

When I get home I will see if that works.  Programming is something that I have never done before and have been trying to decifer what PM has written in its SYS VAR file and mimic.

Actually I'm now in full on learning mode for C++ becuase of this one stuipid little request, LOL.  Then thinking about Java after that......well ... maybe if I can learn C++ and not through the computer out into the yard... :o

James

 

COUNTDOWN TO WF2018


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Windows 7/10 updates
by RayS
[Today at 07:32:17 PM]
What have you done for your simulator today?
by Joe Lavery
[Today at 12:02:26 PM]
Beechcraft Speaker Grills
by Joe Lavery
[Today at 10:49:59 AM]
Tons of 737 OEM stuff for Sale
by XOrionFE
[January 17, 2018, 12:22:29 PM]
737-800 Arduino X-Plane Build
by jackpilot
[January 16, 2018, 07:27:12 PM]
Jeehell: The AP does not follow the lateral guidance from the FD
by emulov
[January 16, 2018, 02:58:37 PM]
Real Harrier sim, voice comms help needed
by RayS
[January 15, 2018, 07:36:17 PM]
My Generic GA Build
by fsaviator
[January 15, 2018, 12:22:39 PM]
Flight Control Pot bleedover
by brianwilliamson
[January 15, 2018, 12:48:59 AM]
SOLD, for sale: OEM cables + connectors from FWD OVHD 737 classic
by jameas
[January 14, 2018, 03:28:59 PM]
Cockpits for Sale...mine?
by blueskydriver
[January 14, 2018, 07:28:29 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Caflyt
[January 12, 2018, 05:17:32 AM]
Projector issue advice
by fsaviator
[January 09, 2018, 11:36:18 PM]
CPFlight MIP board
by fsaviator
[January 09, 2018, 11:33:17 PM]
PFC Yokes and Pedals, B727, and B737 Cockpits For Sale
by jackpilot
[January 09, 2018, 08:30:14 PM]
Weather set problem
by BABA767
[January 09, 2018, 05:46:56 PM]
737-800 aluminium MIP backplate
by kurt-olsson
[January 09, 2018, 02:30:31 PM]
Sismo equipment suite with WideTraffic - failed Ethernet interafaces
by FredK
[January 09, 2018, 11:14:49 AM]
I want your feedback!
by archen
[January 08, 2018, 02:22:52 PM]
B767 MIP
by 737NGer
[January 07, 2018, 09:54:02 AM]
Ultimate Traffic Live across a network
by DaveA320
[January 06, 2018, 09:56:08 PM]
Boeing 737-800 MIP announciators
by 737NGer
[January 06, 2018, 10:56:11 AM]
German B738NG Homecockpit-Projekt
by MjTom
[January 06, 2018, 09:05:26 AM]
737 toe brake force
by Gallie
[January 05, 2018, 11:00:52 AM]
Online ATC
by Aerosim Solutions
[January 03, 2018, 07:22:31 PM]
Boeing 737-800 Next Generation Simulator
by jackpilot
[January 03, 2018, 07:05:41 PM]
737 Headset and intercom connections
by fsaviator
[January 03, 2018, 06:23:03 PM]
My pit now on Youtube
by Stinger2k2
[January 03, 2018, 02:30:12 PM]
Issue uploading photos with post
by fsaviator
[January 03, 2018, 06:32:36 AM]
P3D v4 and WideTraffic crashing
by gregh
[January 02, 2018, 05:51:31 PM]