ActionScript 2.0 :: Midi Player Using Xml Or .txt As List,?
Sep 18, 2003
Firstly, I will let you recover from laughing. Now, basically, I have a bunch of Midi files I want to be viewed on my site for downloading.
No, not for website sounds, for mobile ringtones... I have a few jukeboxes, but nothing that loads in titles and song list via xml.
View 2 Replies
Similar Posts:
Feb 28, 2003
i have got the code working so that there are no errors and i have have tripled checked instance names and everything but i cant see why it isnt working fact is i just aint good enough i reckon its only a tiny typo or summit but my eyes are about ready to be traded in here are the links to the files [URL]
View 5 Replies
Apr 2, 2009
How do I play midi's in flash without converting to mp3 or wav
View 7 Replies
Dec 31, 2011
I'm trying to figure out if it's possible to access a Midi device (like a piano/keyboard or electronic drum set) that is plugged into to a clients USB port over the web.
Obviously the browser security model makes this impossible using just javascript and while it looks like the emerging html5 device standard might help in the future it's apparently not there yet.
View 2 Replies
Mar 5, 2010
I don't know if this is possible, but i would ike to access midi using action script3. Is this possible?
View 2 Replies
Dec 11, 2009
I need to create an application (Flash player stand alone) who recieve midi messages from a midi device. I have controler ( Korg nanoPad) and I want to change a movieclip propertie when i hit a pad.
For exemple: Pad1-> MC red, Pad2 -> MC blue, etc...
I just need to recieve midi messages, not to send some.
My softwares:
Adobe Creative Suite CS4
Flex Builder 3
Midi-Ox
[Code].....
View 2 Replies
Dec 31, 2011
I want to load a midi file into Flash and have it read the sequence so I can get each musical note from the file.
But I'm not sure where to start on this. how I would go about accomplishing this?
Here is a site that has a pretty neat little flash object , [URL]
They let you upload a midi file and the recorder animation shows which positions on the flute/recorder you need to place your fingers at.
I'm just interested in how they used Flash to read the individual notes from the midi file.
View 1 Replies
May 9, 2010
I have a list component which I use to display a list of songs in a music application. Next to each item in the list I need to add a little mp3 player. The mp3 player has a preloader to show the mp3 is loading, then a play/stop toggle button. Does anyone know how to use the cellrender to add this mp3 player to each item in a Flash List component?
View 2 Replies
Sep 5, 2008
i'm trying to add the (list) component to a video player...i have all of my info being read from a basic xml page.i want it to play three videos
<vid desc="video2 dark knight"
src="video/DK480p.mov" />
i can get the list to display the desc but i can not get it to play any video when i click the list.
View 1 Replies
Apr 26, 2009
I need to create an application (Flash player stand alone) who recieve midi messages from a midi device.I have controler ( Korg nanoPad) and I want to change a movieclip propertie when i hit a pad.For exemple: Pad1-> MC red, Pad2 -> MC blue, etc...I just need to recieve midi messages, not to send some.
My softwares:
Adobe Creative Suite CS4
Flex Builder 3
Midi-Ox
[code]....
View 6 Replies
Feb 1, 2010
Im a DJ and trying to put together a live visual show. To cut things down ill keep things as simple as possible.I use ableton live and i do a mashup show. I want to animate my monkey logo but in sync with the music.If i trigger michael jackson thriller i want my monkey to do the moonwalk, if i trigger star wars i want the monkey to put on a darth vader hat.I change so spontaneously each time i DJ so i need the monkey to stay dancing to the music, no matter what the tempo, with a series of animations ready in the background to respond to whatever i do with the music.
View 1 Replies
Feb 13, 2012
I need to append MIDI files: leave header (same for all files) and other meta information, just copy music/score part. I already have MIDI files in appropriate bytearrays, as I guessed I need to use writeBytes, but unfortunately couldn't find which bytes I need to take and copy. Something like this:
var newFileBytes:ByteArray=new ByteArray();
newFileBytes.writeBytes(firstMIDIBytes);
newFileBytes.writeBytes(secondMIDIBytes,8);
Works only partially, file is playable; first part fully and second - only some notes (then player hangs out)
To say truth byteArrays aren't my strong side, as the MIDI file structure.
View 2 Replies
Jan 4, 2010
I am trying to create a video player with a play list. I attempted to follow the tutorial at UrL...but couldn't get my customized player to work. I have a feeling there is something that needs to be tweeked with my AS but I'm not really sure because I am not a big programmer (more of a designer).URL...[code]
View 0 Replies
Jan 27, 2009
I have built an MP3 player using XML and this works fine. But I want this MP3 player to load a random song from the XML list everytime it runs.
I have this code:
var my_songs:XMLList;
var my_total:Number;
var my_sound:Sound;
var my_channel:SoundChannel;
var current_song:Number = 0;
[Code] .....
But it produces the error -
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at flashPlayer_fla::MainTimeline/playSong()
at flashPlayer_fla::MainTimeline/processXML()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
I have also tried to trace the problem by putting trace(my_songs[mySong].@URL) in the playSong() function but this doesn't do anything.
View 6 Replies
May 17, 2011
I am reading midi files in as3 (flash cs5) with the help of the helpful library that is called midas [URL]- the midi-as3 library. I am trying to figure out a simple way to calculate the whole duration of the midi file (for example - total time of 4 minutes or 6 minutes...). I assume I could calculate the last note of each track + check the tempo and figure it out, but I was wondering if: Is the duration of the midi file is written somewhere in the data that I could just pull out and use?
View 1 Replies
Jan 14, 2010
How can I play midi files in flash? Is there a way to transform into bytearray and play this?
View 4 Replies
Aug 30, 2008
I am working on this project I am doing for my video player application. Everything works except the list component which is supposed to be filled dynamically by xml labels.
View 1 Replies
Sep 11, 2009
I wanted to use the included video player from Flash media server but can't find a list of variables and values to pass to the player. Is there a list and could anyone point me in the right direction? I'm specifically looking to pass a stream name for a live stream to the video player.
View 6 Replies
Nov 12, 2010
What do I need to put in my code to tell my mp3 player to grab its songs from a folder on my server via an xml doc I outputted from my sql server? (The mp3 player is also on the server).
Here's my code:
import flash.events.MouseEvent;
import flash.media.Sound;import flash.net.URLRequest;
import flash.media.SoundChannel;import fl.events.SliderEvent;
var myMusic:Sound = new Sound();
var soundFile:URLRequest = new URLRequest("lpwfte.mp3");
var channel:SoundChannel = new SoundChannel();
[Code] .....
View 1 Replies
Jan 14, 2007
figuring out a method to reset variables on a list component change for my mp3 player. everytime i select a new song on the list or select the same song the timer for song position keeps going and nothing resets. here is the action script:
ActionScript Code:
var artistList:mx.controls.List;
var sound:Sound = new Sound();
info_txt.autoSize = true;
[Code].....
View 4 Replies
Mar 19, 2009
I am designing a game where it is very important that you hit notes to the beat. You could say it's a bit like Guitar Hero. The soundtrack and sound effects should match the beat of the game. This is the biggest problem I can think of: If for some reason the game lags (like if the player is on an old computer or they decide to schedule their annual DVD backup and reencryption on that day) even if it is just for a few seconds, when the computer restores to normal, the soundrack might be off. Even by being off by 1/10th of a second, it will throw the user off and basically kill the game. I have no problem using MIDI files for the game soundtrack and most sound effects, so would there be any way to time the MIDI to play correctly, avoiding lag?
View 2 Replies
Jul 3, 2007
I have a flash video player whose playlist is based off an xml list. Now, I need this list to change based on whose accesing the player. So: Client gets a link, clicks on link, player shows their video. Another client clicks on another link, player shows their video,
View 1 Replies
Nov 10, 2003
1 is there a way to load an external mp3 file randomly from a list of files in a folder? is there a "rand" function (as in php) or something to get random numbers?
2 how can I display the ID3 tags?
View 5 Replies
Mar 22, 2008
I'm starting work on a midi piano game in flash. I have my midi keyboard hooked in through the USB. Now I've been told that there is some way to get flash to read any kind of input but I am not sure on how. Basically all that will happen is that u hit a key on the piano and a box shows up of random color. Longer u hold a key bigger it gets. Each key will have different box assigned to it. I think I could handle everything but I'm stuck on the first step and that is getting flash to read the Piano key presses.
View 5 Replies
Oct 21, 2010
Create a html video list that uses a flash video player?
View 14 Replies
Oct 27, 2010
I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.
[Code]...
View 1 Replies
Mar 13, 2011
I have researched the subject for some time now and still haven't figure it out.I use midas3 library (Midi-actionscript3) to import midi to flash. I get each note-item on a timeline. I get the divisions value (192) and all of the "GET-TEMPO" elements are equal to 81.I tried a lot of combinations to get the actual time of the midi but still no good (timeline*192/60 for example).The reason I know it is not synchronized to the actual time is that when I visualize the notes as simple rectangles in flash - I check if they appear exactly to what the mp3 file plays (I have converted the midi file to this mp3 using simple conversion program)I have read a lot about how all is calculated but still haven't figure out the number I need to use to get it right (timeline * MysteriusConstant = ReaTIME, what is the value of MysteriusConstant? is it really constant? and if not how do I calculate how it is changed?)
View 1 Replies
Aug 11, 2010
I'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ?
View 3 Replies
Nov 9, 2010
I am working on an older Flash project created in CS3 ActionScript 2.0 How can I make the pointer cursor change to the hand when hover over a list item?_root.slidePanel.myList'myList' is the list. I have traced out the contents of the List MC and it has a child MC called 'content_mc'. I assumed this was the object containing all of my list items but the only members of this MC I can see (when tracing them out) are 'setRGB' and 'searchKey'.
View 1 Replies
May 26, 2011
Flex 3 List control had a itemRollOver event. Flex 4 List doesn't have it. Is there an equivalent or a workaround for this issue?
View 2 Replies