Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 37
  • *Total: 38

FlightSimExpo 2018

Our Discord

GDPR - Important Notice


From the 26th of May, ALL USERS CONTINUING TO USE THIS WEBSITE - Agree to the amended "End User License Agreement"
This includes the European GDPR changes, whereby continuing to use this forum you agree to those amended terms as we have them stated.

If any user is unwilling to accept the AMENDED EULA with regard to the European GDPR Changes, He/She can email me directly and request their account be deleted.

Thank You, Trevor Hale

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

Offline jr2mey

  • Forum GURU
  • *
  • Posts: 97
  • 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,334
  • Karma: +11/-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: 97
  • 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 spend way too much on this forum!
  • *
  • Posts: 714
  • 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: 97
  • 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

Interfacing Cole Starter Switches
by Trevor Hale
[Today at 03:10:34 PM]
JetMax Overhead Support
by jackpilot
[Today at 02:32:24 PM]
Join me on Vatsim Tonight
by Trevor Hale
[May 25, 2018, 06:31:25 PM]
Cole Starter Switches
by fsaviator
[May 25, 2018, 05:47:45 PM]
Cockpitbuilders EULA UPDATE May 25th 2018
by Trevor Hale
[May 25, 2018, 10:19:41 AM]
HELP NEEDED WITH "PAUSE ON TASK SWITCH" PLEASE!
by Trevor Hale
[May 25, 2018, 08:49:52 AM]
King Air B200 reference material
by archen
[May 25, 2018, 08:43:37 AM]
F-18 cockpit(s) for sale
by SAMEtech
[May 24, 2018, 01:00:34 PM]
MH-60 Helicopter (retired Navy simulator) for sale
by navymustang
[May 24, 2018, 09:43:41 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[May 24, 2018, 07:32:39 AM]
AIRBUS-A-310-SERIES-FMC/CDU FOR SALE
by N606DL
[May 23, 2018, 06:54:26 AM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by blueskydriver
[May 23, 2018, 03:27:09 AM]
For Sale-Real Cockpit Gauges...
by blueskydriver
[May 23, 2018, 03:24:59 AM]
Two Cockpits For Sale
by blueskydriver
[May 23, 2018, 03:21:12 AM]
B737-800 nose pitching up too much during take-off run
by Lee737
[May 22, 2018, 09:49:50 PM]
PMDG 737 on P3dV4 and 1PC Setup
by seedosip
[May 22, 2018, 10:21:40 AM]
FDS 747 MIP Price reduced!
by 777 driver
[May 21, 2018, 10:03:40 PM]
Faceplates for instruments
by ifeliciano
[May 19, 2018, 04:01:07 PM]
Homebuilt TQ has been sold
by Maurice
[May 18, 2018, 04:18:29 PM]
Wanted: Boeing 737 Throttle
by jackpilot
[May 18, 2018, 03:35:46 PM]
What have you done for your simulator today?
by jackpilot
[May 18, 2018, 09:23:59 AM]
TQ 737 Jet Max for sale
by pilota1748
[May 18, 2018, 07:29:52 AM]
Inclinometer
by Atomic_Sheep
[May 18, 2018, 04:55:33 AM]
Hola from Spain
by seedosip
[May 17, 2018, 05:36:44 AM]
Gas strut newton for elevation
by kurt-olsson
[May 16, 2018, 03:44:25 PM]
Vendor Questions
by Trevor Hale
[May 16, 2018, 03:20:56 PM]
Another AC/DC Panel dimenssion request
by bernard S
[May 16, 2018, 12:23:58 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by seedosip
[May 16, 2018, 05:10:28 AM]
New member - new topic - Hagstrom KEUSB 108 - windows 7 problem
by sedge
[May 14, 2018, 10:34:35 PM]
Purchased: Real Boeing 737 TQ
by Steenos
[May 14, 2018, 03:20:34 PM]