Newbie music question

Post Reply
Tffsnyder
Posts: 7
Joined: Mon Nov 27, 2017 8:23 pm
My devices: iPad pro
Flag: United States of America

Newbie music question

Post by Tffsnyder »

Hi, Usually I can figure out my mis-steps on something simple and have posted just 1 question since 2017 but...

I'm trying to play a short audio file which is in the top level directory: Personk.WAV
The entirety of my program is:

MUSIC M$ LOAD "Personk.WAV"
MUSIC M$ PLAY

I get this error:

ERROR LOADING MUSIC
MUSIC M$ LOAD "Personk.WAV"

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Newbie music question

Post by rbytes »

You have to assign a name to M$. By default it is a null string, "".
So just add a line such as M$="tune" (or a name you prefer) before your existing code and your program will work.

Best to put questions such as this in Other Topics. But I encourage you to post programs here. They don't have to be fancy. I still learn a lot from simple ones, because new users have a fresh viewpoint. 8-)
The only thing that gets me down is gravity...

Tffsnyder
Posts: 7
Joined: Mon Nov 27, 2017 8:23 pm
My devices: iPad pro
Flag: United States of America

Re: Newbie music question

Post by Tffsnyder »

Thx!
I will continue this in Other Topics

Post Reply