Search found 234 matches

by glenn9
Thu Jan 16, 2025 11:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Thanks Bogs, I got some useful hints and tips from the 3 videos. Glenn
by glenn9
Thu Jan 16, 2025 11:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I can`t get a line to rotate!
Replies: 14
Views: 12923

Re: I can`t get a line to rotate!

Thank you both, now understand! Regards, Glenn
by glenn9
Thu Jan 16, 2025 11:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I can`t get a line to rotate!
Replies: 14
Views: 12923

I can`t get a line to rotate!

Hi everyone, I'm trying to get a line to rotate with the following code on mouseUp rotateLine end mouseUp on rotateLine put the angle of graphic "myLine" into tCurrentAngle add 10 to tCurrentAngle set the angle of graphic "myLine" to tCurrentAngle end rotateLine but the line refuses to move an inch!...
by glenn9
Wed Jan 08, 2025 4:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Just in case its of interest to anyone this LC works for me in generating a Lilypond score on generateLilyPond -- Lilypond is case sensitive put toLower(gKey) into gKey set the hideConsoleWindows to true -- this is the basic syntax for Lilypond to generate a score put "\version" && quote & "2.24.2" ...
by glenn9
Wed Jan 08, 2025 3:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Hi Klaus,

it was the first one that did the trick.

Code: Select all

...
## "launch document..." WITHOUT "file:..."!
launch document ("C:\Users\Glenn\OneDrive\Documents\LiveCode\" & tName & "test.mid")
if the result <> EMPTY then
  answer the result
end if
...
Regards,

Glenn
by glenn9
Wed Jan 08, 2025 2:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Klaus,

Bingo! Your code has worked, LC now triggers the playing of the midi file! - thank you so much!
(I`d be embarrassed to disclose how many hours I`ve spent trying to get this to work previously!)

Best regards and Happy New Year.
Glenn
by glenn9
Wed Jan 08, 2025 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

LC just seems to ignore the commands, ie no error messages etc, it just continues with the rest of the code as if the calls to the mid files were not there...! have tried the following permutations: launch document "File:C:\Users\Glenn\OneDrive\Documents\LiveCode\" & tName & "test.mid" launch docume...
by glenn9
Wed Jan 08, 2025 9:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Thanks Klaus, sadly no luck with either of those... but thank you for the suggestions.

I guess I`ll just have to live with the few extra clicks to play the mid file from file explorer!

Regards,

Glenn
by glenn9
Tue Jan 07, 2025 5:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

My work around so far is for LC to open fileexplorer so I can then double click on the mid file to play it... launch url "File:C:\Users\Glenn\OneDrive\Documents\LiveCode\" Its all of one or two extra clicks but I thought it would be much neater if I could open the mid file using LC! Regards, Glenn
by glenn9
Tue Jan 07, 2025 4:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Thanks Klaus, I think what`s confusing me is that if I double click on the mid file in windows filexplorer, the mid file will open and play with the native windows medial player. I`ve tried some midi opensource apps, eg fluidsynth but I can`t get these to work when I call them in LC - I think its be...
by glenn9
Tue Jan 07, 2025 3:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Using LC to generate music

Hi everyone, almost a year later, and have now found a solution to the issue of LC generating music.... Lilypond! https://lilypond.org/ the midi file that Lilypond produces (via a LC script) sounds quite reasonable, and (I think) can be customised in code to most instruments. Lilypond generates a pd...
by glenn9
Mon Apr 01, 2024 5:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

Thanks everyone, have tried fiddling around with the windows sound settings and seem to have replaced the default beep with a piano.wav file - however LC seems to still want to just play the 'beep' sound.... I`ll keep on trying..... (Stam, thanks also for the tip re the Piano widget - this looks int...
by glenn9
Sat Mar 30, 2024 1:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

Re: How to replace the windows `beep` sound

I`m tempted... but....!

Have tried almost everything I can find to adjust on the control panel, and also checked online for answers as well, but no success so far...
by glenn9
Sat Mar 30, 2024 1:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 30
Views: 26264

How to replace the windows `beep` sound

Hi Everyone, I`m conscious that I`ve not been on the forum for quite some time but am still regularly livecoding, not quite on a daily basis, but almost! My daughter is now also starting to learn LC, and has got herself a subscription! A new project I`m interested in is seeing how far I can take liv...
by glenn9
Wed Nov 08, 2023 2:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where are the newbies?
Replies: 139
Views: 1369239

Re: Where are the newbies?

As has been previously mentioned it seems that LC is unlikely to disrupt/displace the established `professional` languages and therefore time/treasure should be diverted to areas where there might be better benefit/cost ratios. re user base I think to increase LC`s visibility, and therefore its pote...