Thank you both for the clarification re: arrays. I believe the documentation is rather confusing, especially regarding the sort and combine functions.
The user guide (page 192) states that:
combine : convert text to an array using delimiters that you define
[...]
split : converts an array into ...
Search found 6 matches
- Tue Dec 08, 2009 5:13 pm
- Forum: Multimedia
- Topic: Arrays & Audio Files
- Replies: 8
- Views: 8256
- Sun Dec 06, 2009 11:51 pm
- Forum: Multimedia
- Topic: Arrays & Audio Files
- Replies: 8
- Views: 8256
Re: Arrays & Audio Files
Well, here is the code I am using for loading the array:
put listFiles(currentFolder(), currentRecurse()) into myArrayB
put empty into tArray
put empty into tArrayIndex
repeat for each item tNum in myArrayB
put tNum into tArray[tArrayIndex]
add 1 to tArrayIndex
end repeat
put tArray into ...
put listFiles(currentFolder(), currentRecurse()) into myArrayB
put empty into tArray
put empty into tArrayIndex
repeat for each item tNum in myArrayB
put tNum into tArray[tArrayIndex]
add 1 to tArrayIndex
end repeat
put tArray into ...
- Sat Dec 05, 2009 1:16 am
- Forum: Multimedia
- Topic: Arrays & Audio Files
- Replies: 8
- Views: 8256
Re: Arrays & Audio Files
hi SparkOut
Yeah, repeats would be a problem. I would like the audio files in the array to be randomized before they are played. Something along the lines of:
Load ArrayA with audio files from FolderX
Randomize the elements of ArrayA
Play each element in ArrayA
But right now I am unclear how to ...
Yeah, repeats would be a problem. I would like the audio files in the array to be randomized before they are played. Something along the lines of:
Load ArrayA with audio files from FolderX
Randomize the elements of ArrayA
Play each element in ArrayA
But right now I am unclear how to ...
- Wed Dec 02, 2009 9:04 pm
- Forum: Multimedia
- Topic: Arrays & Audio Files
- Replies: 8
- Views: 8256
Arrays & Audio Files
Another newbie question for you.
Is there a way to load a folder containing audio files into an array and then play those files in the player? I can do this if I load the folder into a list but cannot do it when I load the folder into a data grid (or array). I cannot figure out how to access the ...
Is there a way to load a folder containing audio files into an array and then play those files in the player? I can do this if I load the folder into a list but cannot do it when I load the folder into a data grid (or array). I cannot figure out how to access the ...
- Wed Nov 11, 2009 8:20 pm
- Forum: Multimedia
- Topic: playlist
- Replies: 2
- Views: 4137
- Thu Nov 05, 2009 7:50 am
- Forum: Multimedia
- Topic: playlist
- Replies: 2
- Views: 4137
playlist
hello all...
i'm a novice programmer new to rev. I want to create an audio file player that functions as a playlist where once one audio file has ended the next one plays.
I do not know how to make the player wait until the file has finished before starting the next one. I know about the ...
i'm a novice programmer new to rev. I want to create an audio file player that functions as a playlist where once one audio file has ended the next one plays.
I do not know how to make the player wait until the file has finished before starting the next one. I know about the ...