Merging audio externally

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Sat Jun 13, 2009 11:17 am

David,

I think you start to get into rev. I bear with you, I can not count the number of times I stared at a script or a stack and did not find what was wrong.

You might want to look into the debugger, often if you look at what the variables actually contain it gives you a hint of what is wrong with the script.

cheers
Bernd

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Sat Jun 13, 2009 11:29 am

Bernd thank you mate. You must be a very patient person. Some of my questions must sound so basic but we all have to start somewhere I guess :) 'll check out the debugger too ;)

Cheers
Bidge

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Jun 18, 2009 12:32 pm

Oh please someone help!!! :shock:

I've spent hours trying to figure out what is happening. My tButtonlist is not sorting itself into numeric order and I cannot figure out why? I have Test field that displays what tButton list contains and no matter what I do noting will work. Load in the blank wav files from the included library and
you will see how they display out of order. :(

http://www.errolgray.com.au/Teststack.zip

Any help would be greatly appreciated.
Thanks
Bidge

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Thu Jun 18, 2009 1:43 pm

Bidge,
change

change the this line in the button script of "ChooseAudioFiles"

Code: Select all

if name of button i contains "Track" then put the short name of button i & comma after tbuttonList

the difference is short name instead of name.
Than it works
regards
Bernd

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Jun 18, 2009 1:51 pm

Hello Bernd.
Thanks for replying mate...I tried adding that .line of code but it still does not work?
I have updated the link and put a few more files in the library. Now it starts at 20 instead of 1 :cry: Have a look.

http://www.errolgray.com.au/Teststack.zip

Cheers
Bidge

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Thu Jun 18, 2009 2:04 pm

Bidge,

add this to the script:

Code: Select all

 replace comma with return in tButtonList
   put tButtonList into field "test"
end mouseUp
just to show that it is now working, for me no problem

what exactly is not working when you changed it to the short name?

regards
Bernd

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Jun 18, 2009 2:05 pm

Ahhha!.
I worked it out Bernd!!!! Yippee!!!
I had to sort numeric the Field "AudioNames"

Thank you thank you thank you!!!!
Now I can get some sleep :cry:

Cheers
Bidge

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Jun 18, 2009 2:09 pm

hehe....We must have posted exactly at the same time...
It's working now.....Thank you for your help again mate ;)

Cheers
Bidge

Post Reply