PlaySoundFile and Variable

Post Reply
azure_glass
Posts: 97
Joined: Wed Jul 25, 2012 12:35 pm

PlaySoundFile and Variable

Post by azure_glass »

Hi! I have problem with my linux computer and windows

Can i do one variable to all patchs ?? Like:

BindMusic = "c:\Sound\" or
BindMusic = "home/xxx/Soundy/"

playSoundFile([[BindMusic..bind.wav]]) --- this code is not working


spellcheck
English is not my native language. If you don't understand what im writing ask. :)
Ubuntu 17.04, Mudlet 3.1

User avatar
SlySven
Posts: 1023
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: PlaySoundFile and Variable

Post by SlySven »

I think you will need to supply the FULL, absolute path and file-name so for your *nix-like example you need to include the leading '/' for the root directory i.e.:

Code: Select all

BindMusic = "/home/xxx/Soundy/"
where xxx is your username.

I understand that there has been issues with no sound on current preview "3.0-delta" on Windows (minGW builds of Qt do not have working audio or so I understand...)

User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

Re: PlaySoundFile and Variable

Post by Akaya »

SlySven wrote:I understand that there has been issues with no sound on current preview "3.0-delta" on Windows (minGW builds of Qt do not have working audio or so I understand...)
:( It is true

Post Reply