fieldsye / flash-kikko Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/flash-kikko
Automatically exported from code.google.com/p/flash-kikko
Hi,
I am getting a strange error. I have a WAV data ByteArray, and if I use it
directly, I get this error:
RangeError: Error #1506: The specified range is invalid.
at cmodule.shine::FSM_imalloc$/start()
at cmodule.shine::FSM_pubrealloc/work()
at Function/<anonymous>()
at Function/<anonymous>()
at fr.kikko.lab::ShineMP3Encoder/start()[/Users/kikko/work/tests/shineMP3_alchemy/src/fr/kikko/lab/ShineMP3Encoder.as:41]
at encoder/encodeClicked()[E:\dev2\playmytone\editor\src\encoder.mxml:130]
at encoder/__encodeButton_click()[E:\dev2\playmytone\editor\src\encoder.mxml:159]
However, if I save this ByteArray to local file system (with FileReference
object) and then load it back up as .wav, then mp3 encoding works.
I tried cloning the ByteArray before I pass it off to the mp3 encoder, but it
doesn't help.
Have you observed this issue ?
Original issue reported on code.google.com by [email protected]
on 20 Sep 2010 at 4:53
What steps will reproduce the problem?
1. Record wav ByteArray using MicRecorder and Wave Encoder classes from
http://www.bytearray.org/?p=1858
2. Feed wav ByteArray to cmodule.shine.CLibInit.init()
3. Intermittently fails with the following error:
RangeError: Error #1506: The specified range is invalid.
at cmodule.shine::FSM_update_compress/work()
at Function/<anonymous>()
at Function/<anonymous>()
What is the expected output? What do you see instead?
Sometimes conversion occurs with no problems at all.
What version of the product are you using? On what operating system?
https://github.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy/tree/master/bin/shineM
P3_alchemy.swc (Updated March 26, 2010)
Please provide any additional information below.
After scouring these updates on Google Code
(http://code.google.com/u/@UxhXS1FXBRZFXwN9/updates/projects) I tried making
the cshine class a singleton so it is not instantiated more than once and also
added the swc and my singleton to an external swf and loaded them in
dynamically. Both of these have had no effect.
Any information or guidance would be greatly appreciated. (getting desperate!)
Thanks,
Gareth
Original issue reported on code.google.com by [email protected]
on 19 Sep 2011 at 7:14
Trying to use shine mp3 into flash and got this error, works perfect in FB. Any
ideas ? I don't know how to modify the swc in order to correct the code as i
saw in others comments.
Original issue reported on code.google.com by [email protected]
on 19 Sep 2013 at 12:41
I have write a class for recording audio in flash using as3.0
Basically it records sound and sncodes into wav ByteArray.
I use this wav ByteArray
"mp3Encoder = new ShineMP3Encoder(wavBytes);"
to convert it into mp3 but it throws following error at runtime.
Error: Error #1502: A script has executed for longer than the default timeout
period of 15 seconds.
at MethodInfo-396()
at cmodule.shine::FSM_readByteArray/work()
at MethodInfo-394()
at MethodInfo-37()
at fr.kikko.lab::ShineMP3Encoder/start()
at Main/saveRecording()
please let me know where I am wrong.
files attached.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2011 at 5:28
Attachments:
What steps will reproduce the problem?
1. Export to mp3
2. Save mp3
3. Play mp3
What is the expected output? What do you see instead?
Expect output to be similar to wav file. There is a small 'swff' sound at the
very beginning of all exported .mp3s.
What version of the product are you using? On what operating system?
OSX, Flash 10.2, Firefox
Please provide any additional information below.
The shine mp3 encoder is great, we are just getting a small glitch at the
beginning of all exported files. Is there a way of fixing this? Does the C
based encoder produce the same problem.
What is the C based encoder? Is it a verion of Lame.
Many Thanks
Daniel
Original issue reported on code.google.com by [email protected]
on 18 May 2011 at 4:19
Attachments:
[object Microphone]
Shine 0.1.4
Microsoft RIFF,
WAVE audio,
PCM, mono 44100Hz
16bit,
Length: 0: 0: 4
MPEG-I layer III, mono Psychoacoustic Model: Shine
Bitrate=64 kbps
De-emphasis: none Original
encoding mp3... 18%
RangeError: Error #1506: 유효하지 않은 범위가 지정되었습니다.
at cmodule.shine::FSM_update_compress/work()
at MethodInfo-463()
at MethodInfo-106()
at fr.kikko.lab::ShineMP3Encoder/update()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
encoding mp3... 54%
encoding mp3... 73%
encoding mp3... 92%
encoding mp3... 100%
Done in 227.51s
why this error?
Original issue reported on code.google.com by [email protected]
on 22 Oct 2012 at 7:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.