Re: [Flashcoders] Dynamic sound generation in 8.5?
Well... I wrote code to dynamically generate a .swf containing a simple sound, using a ByteArray. However, there's a problem: The flash player 8.5 b246 actually CRASHES when I run my simple program. I submitted a bug report, hopefully someone reads it and fixes it. -David R On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote: someone told me that there is a limitation with the byte array and sound object whereby you cannot reconstruct a sound object from a byte array. this is heresay, but from a knowledgable fellow. On 4/20/06, David Rorex [EMAIL PROTECTED] wrote: Has any progress been made in the area of dynamic sound and/or music generation? A couple of months ago there was a couple of big threads, one on possible MIDI support in the flash player (which seemed to be largely ignored by Macromedia), another about the possiblity of dynamicaly creating a ByteArray which contains a simple SWF with uncompressed sound, and then using Loader.loadBytes() to load it. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes() Anyway, just wondering if anyone has experimented with these, or there has been any news about this topic (I've looked, haven't seen anything). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Dynamic sound generation in 8.5?
can you post some code to recreate this? On 4/21/06, David Rorex [EMAIL PROTECTED] wrote: Well... I wrote code to dynamically generate a .swf containing a simple sound, using a ByteArray. However, there's a problem: The flash player 8.5 b246 actually CRASHES when I run my simple program. I submitted a bug report, hopefully someone reads it and fixes it. -David R On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote: someone told me that there is a limitation with the byte array and sound object whereby you cannot reconstruct a sound object from a byte array. this is heresay, but from a knowledgable fellow. On 4/20/06, David Rorex [EMAIL PROTECTED] wrote: Has any progress been made in the area of dynamic sound and/or music generation? A couple of months ago there was a couple of big threads, one on possible MIDI support in the flash player (which seemed to be largely ignored by Macromedia), another about the possiblity of dynamicaly creating a ByteArray which contains a simple SWF with uncompressed sound, and then using Loader.loadBytes() to load it. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes() Anyway, just wondering if anyone has experimented with these, or there has been any news about this topic (I've looked, haven't seen anything). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dynamic sound generation in 8.5!
Ok, actually I made some changes, and got the code working now. It's a pretty 'brute force' method of doing it, and the sound is not real great either, but you can generate different tones now. Read about it here: http://blog.davr.org/2006/04/21/dynamic-sound-in-85/ I hope someone with more skills can take this and make it more generic / useful! -David R On 4/21/06, Johannes Nel [EMAIL PROTECTED] wrote: can you post some code to recreate this? On 4/21/06, David Rorex [EMAIL PROTECTED] wrote: Well... I wrote code to dynamically generate a .swf containing a simple sound, using a ByteArray. However, there's a problem: The flash player 8.5 b246 actually CRASHES when I run my simple program. I submitted a bug report, hopefully someone reads it and fixes it. -David R On 4/20/06, Johannes Nel [EMAIL PROTECTED] wrote: someone told me that there is a limitation with the byte array and sound object whereby you cannot reconstruct a sound object from a byte array. this is heresay, but from a knowledgable fellow. On 4/20/06, David Rorex [EMAIL PROTECTED] wrote: Has any progress been made in the area of dynamic sound and/or music generation? A couple of months ago there was a couple of big threads, one on possible MIDI support in the flash player (which seemed to be largely ignored by Macromedia), another about the possiblity of dynamicaly creating a ByteArray which contains a simple SWF with uncompressed sound, and then using Loader.loadBytes() to load it. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes() Anyway, just wondering if anyone has experimented with these, or there has been any news about this topic (I've looked, haven't seen anything). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dynamic sound generation in 8.5?
Has any progress been made in the area of dynamic sound and/or music generation? A couple of months ago there was a couple of big threads, one on possible MIDI support in the flash player (which seemed to be largely ignored by Macromedia), another about the possiblity of dynamicaly creating a ByteArray which contains a simple SWF with uncompressed sound, and then using Loader.loadBytes() to load it. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes() Anyway, just wondering if anyone has experimented with these, or there has been any news about this topic (I've looked, haven't seen anything). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Dynamic sound generation in 8.5?
someone told me that there is a limitation with the byte array and sound object whereby you cannot reconstruct a sound object from a byte array. this is heresay, but from a knowledgable fellow. On 4/20/06, David Rorex [EMAIL PROTECTED] wrote: Has any progress been made in the area of dynamic sound and/or music generation? A couple of months ago there was a couple of big threads, one on possible MIDI support in the flash player (which seemed to be largely ignored by Macromedia), another about the possiblity of dynamicaly creating a ByteArray which contains a simple SWF with uncompressed sound, and then using Loader.loadBytes() to load it. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/Loader.html#loadBytes() Anyway, just wondering if anyone has experimented with these, or there has been any news about this topic (I've looked, haven't seen anything). -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com