Mp3 decoding with libmpg123 lib to pass refer to AS3

Hello to everybody.
I would like to ask a question in relation to the project that I am working at the moment. I am trying to use libmpg123 decoder library to process mp3 file and return the result back to Alchemy so that I can return a decoded instance of the mp3 back to AS3. I wish to use the source code of the decoder within the project so I can embed its functionality into the application. I do not want to install the decoder itself but to use its source code to incorporate its functionality within our app.
1. Hasanybody implemented the decoder with Alchemy API ? How?
2. Can you pass the decoded mp3 into AS3 using Alchemy? How?
Has anybody used libmpg123 decoder with Alchemy to process mp3 file? I will appreciate if somebody points me to a useful reference or information related to my query?
Thanks

Yes I know that already but my goal is to use an open source C decoder that will take a reference to a mp3 file from AS3 and start processing the request while AS3 takes care of less CPU intensive tasks. Beside that decoding mp3 file with a C decoder (mpg123) will provide me with a native data structure that I can further use in more extensive sound analysis  and only the output of it will be send back to AS3 using Alchemy 's APIs . That is why I try NOT to use extract method of AS3. Have you tried decoding mp3 inside Alchemy ? Is it possible?
Regards

Similar Messages

  • Passing Ref Cursor to Oracle Stored Procedure Via C#

    Hi all,
    I am new to oracle and stuck with an issue. I have three insert stored procedures for three different tables. Two of them have multiple rows to be inserted, which is currently done via iterating through each row and insert to db in C# code. My requirement is to merge these three procedures in one and instead of iterating from C# code send table rows as (ref cursor or collection) to procedure and the procedure will handle the rest.
    I read that ref cursor only works if you're data is in database as it reference the memory but in my case data is build on client side.
    I am using Oracle 11i and ASP.Net 2.0
    Can any help me on this please?
    Edited by: 929463 on Apr 23, 2012 12:38 AM

    929463 wrote:
    I am new to oracle and stuck with an issue. I have three insert stored procedures for three different tables. Two of them have multiple rows to be inserted, which is currently done via iterating through each row and insert to db in C# code. My requirement is to merge these three procedures in one and instead of iterating from C# code send table rows as (ref cursor or collection) to procedure and the procedure will handle the rest.Why a single procedure? How is the procedure to determine the target table to insert the data into? And please - no dynamic SQL as that is 99% of the time wrong.
    A ref cursor is something that PL/SQL creates - with the purpose of passing the cursor handle to your code. This enables the actual SQL statement for that cursor to be moved from client code, into a PL/SQL stored proc. It abstracts the client from having to understand SQL, understand the data model and so on. All clients use the same PL/SQL proc and thus the same code for creating that cursor. Thus no issue of some clients getting it half right or half wrong and dealing with data inconsistencies between clients.
    The PL/SQL proc can be tuned and optimised, modified for catering for data model changes and so on. Without your client code having to be even recompiled as it is isolated against these server changes.
    For all other interaction (running PL/SQL code, doing insert/update/delete/etc SQL statements), you need to create the cursor yourself in your code.
    Also, the SQL engine only sees cursors. There are no differences between cursors. The client (e.g. PL/SQL) can call it a reference cursor, or an implicit cursor, or a DBMS_SQL cursor.. the SQL engine does not know that and does not care.
    A ref cursor is simply a special type of client interface to a SQL cursor, allowing PL/SQL to create that SQL cursor and then pass the handle of that SQL cursor to other code to consume that cursor.
    Okay, so if you want to insert data, you need in your code to create a cursor. This can be a SQL INSERT cursor - the actual insert statement. Or it can be a PL/SQL call - an anonymous PL/SQL code block that calls a stored proc that performs the insert (after applying validation and business logic).
    The cursor will have one or more bind variables. Your client will pass values for these variables and the server-side code (SQL or PL/SQL) will be executed using this as variable data.
    You can for example create a cursor as follows:
    begin
      DoFunkyInsert( :1, :2, :3 );
    end;
    {code}
    3 bind variables are expected. You can now in the client build an array for each of these variables, containing a 100 values each (total of a 100 rows to insert). Do a single execute of the cursor, and tell Oracle that the bind is actually a 100 element array.
    The complete array ships to Oracle - Oracle opens a loop and execute the cursor for each element in the array.
    This is called bulk binding.
    An alternative approach is to define the bind variable as a collection (a non-scalar value). And then code the PL/SQL procedure to open a loop and iterate through the collection/array, inserting a row per iteration.
    The binding itself is more complex as your code know needs to understand Oracle object types and be able to define an array/collection that is a valid Oracle non-scalar data type.
    The +Oracle Call Interface+ (OCI) is quite flexible in this regard. However, as you work via an abstraction layer (e.g. ADO, OleDB, ODBC, etc) your code is subject to whatever functionality this abstraction layer makes available to your code. And this is seldom includes all the power, functionality and flexibility of the (more complex) OCI itself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • N200 mp3 decod

    I've just bought a N200 and I really like it. Small and with good quality of the sound. I have however a problem.
    I can not get the mp3 decoding to function properly. I think I must be doing something wrong because the sound quality *really* sucks.
    Is there anyone who could be so kind and explain to me how to do it's
    /michael

    pomj wrote:
    I've just bought a N200 and I really like it. Small and with good quality of the sound. I have however a problem.
    I can not get the mp3 decoding to function properly. I think I must be doing something wrong because the sound quality *really* sucks.
    Is there anyone who could be so kind and explain to me how to do it's
    /michael
    Perhaps you can provide more info on the problem you have than just a brief info now. Try updating the firmware if you have not.

  • MP3 players with bookmarking for audio bo

    <font face="Arial" size="2" color="black">I am trying to find an MP3 player that is very good at playing audio books. Most MP3 manufacturers do not really address the use of their players for audio books so features that apply to books are left out of their discussions. I've found a website that tests MP3 players for audio books, but it only lists a few players?and seems behind in their testing. They do have a list of criteria that they use to approve an MP3 player; their list follows:
    <font face="Arial" size="2" color="black">?<font face="Verdana" size="3" color="blue">Device Feature Requirements
    <font face="Verdana" size="" color="blue">. Must be able to play secure or protected WMA files: Windows Media Audio (WMA) is an audio compression format similar to MP3, but with built-in digital rights management (DRM) for copy protection and usage restrictions. The DRM used by NetLibrary eAudiobooks controls expiration of your eAudiobook, so that they will expire at the end of the borrowing period.
    <font face="Verdana" size="" color="blue">. Must be able to play a WMA file with a minimum bit rate of 32 Kbps
    <font face="Verdana" size="" color="blue">. Must be Windows 2000, XP or Vista compatible
    <font face="Verdana" size="" color="blue">. Must be compatible with Windows Media Player version 9 (WMP v9) or higher: This is used for transferring or synchronizing files to the device.
    <font face="Verdana" size="" color="blue">. Must have [On/Off] resume, pause/resume functionality, or true bookmarking: These features enable you to return to your place in the book. The least desirable?alternati've is to fast-forward to find your place in the book each time you resume reading.
    <font face="Verdana" size="" color="blue">. Must have an LCD time display of either HH:MM:SS or MMMM:SS: These time display formats allow the device to play and handle long tracks or files. The time display is also important when returning to a designated place in the book.
    <font face="Verdana" size="" color="blue">. Must have a minimum of 52 MB of storage
    <font face="Verdana" size="" color="blue">. Must pass the NetLibrary Long Play Standard: The device must be able to play a track with duration of 8 hours or longer (file size usually 256 MB or larger).
    I guess one of the key features is the [color="#ff0000"]bookmarking option so that you can continue a book where you left off. Can you recommend some MP3 players that meet the above requirements?One to?5 MByte should be plenty of memory, we don't need a lot of storage capacity because we only borrow (check out) the books from our local library. Thank you.
    Message Edited by bookman on 2-9-200602:04 PM

    but by taking away those features, the new creative players are now very similar to idiot pods. albeit more reliable. the one edge creative had was superior audio quality through eax. losing that is a big mistake in my opinion. the audio quality is probably?still better, but not by as much anymore.

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

  • [Help]Playing MP3 files with Juk have to wait for 1 hr to hear voice

    I am not sure how long should wait, but difinately longer than 10min. If you are playing a playlist, you have to wait a long time for next song...
    Observations:
    1. You can hear voice after all, that means the hardware and codec is working properly.
    2. You can play the mp3 file with smplayer without difficulty. that means the filesystem/storage hardware should'nt be problematic.
    3. When waiting for playing songs, the CPU usage of Juk is remaining on about 3%. I believe it is a reasonable value and does not indicating any problem of the program.
    Have anybody here got this problem before? Help!

    in case your phonon backend is gstreamer, change it to xine. that's what is recommended by amarok devs.

  • Multiple PC's and Itune libs, how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?

    Multiple PC's and Itune libs, how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?

    La121485 wrote:
    how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?
    You create the playlist on the other computer which may require moving or copying of the media from the first computer to the second computer.

  • I reinstalled I-Tunes several weeks ago.  Since then I can no longer burn MP3 Discs with Title and Artist Info.  Sometimes it only burns every 3rd song.  No Audio CD it seems to function OK.  The version has the "cloud" but I don't know if that matters or

    I reinstalled I-Tunes several weeks ago.  I can no longer burn MP3 Disk with Song/Artist info onto disc.  It comes up as No Artist/No Title on car CD unit.  Old MP3 Disk previously recorded still show all info.  Sometimes only every 3rd song is on the MP3 CD.  On Audio Disc there is no change and all info still shows up.  The new I-Tunes version has the "cloud" on it if that could make a difference.  In the select Burn CD mode I can select testing and add song info for Audio Disk but it shows shadowed out for MP3/Data.  I added and removed ID tagging from my list to see if that made a difference but it didn't.
    Any Thoughts?
    Jim

    This may help.  Audio files are actaully in the DATA folder.  These can be editted with Soundbooth then they must be imported intot the specific slide in the Powerpoint presentation.  Publish the presentation (as you'll read below) and *should* work This reply came from robva65 [email protected]
    Let's try this: *Publish* the PPT deck you have.  What you'll end up with is a set of files and folders, but I want you to look for the *data folder* that's created as a result of the publishing process. (Unless you specify where you're publishing to, Presenter will publish to a directory called "My Adobe Presentations" by default, so you may have to look there on your harddrive)  Inside the data folder will be a list of mp3 files, which, if everything goes smoothly, should make it much, much easier to see which audio is used by a specific slide.
    Here's what I mean: for example, after publishing, I have a data folder and inside I found the following file: a24x9x3.mp3  As I double click the mp3 file (which causes it to play using Windows Media on my laptop), I can hear that it corresponds to my slide 9 in my PPT deck.  And there's corresponding mp3 files for each and every slide I have in my deck.  I'm clicking another file (wouldn't it be nice to see what I'm doing???) a24x20x3.mp3, and that file corresponds to my slide 20 content in PowerPoint.
    So again, give publishing in PowerPoint a shot and see if that makes it any easier.  Well...not nearly as easy as recording in Audition/Soundbooth/Audacity, but it's close enough to hopefully dig you out of that hole you're in now.
    Hope this helps ~rich

  • Download and convert Youtube video to MP3---Just with one click

    Download and convert Youtube video to MP3---Just with one click
    Last week, when wandering around the Youtube watch.com, I was enthralled with the theme song of "Lost", especially the words of the song "I found out, on the corner of first and amistad, where the west was all but won all weeklong, smoking his last cigarette, I said: "Where you been?" He said: "ask anything.""......"
    I couldn’t help expecting to save this song to my personal players. What a delightful thing listening to the song while walking or waiting for a bus! Okay, do you have the same experience as me? When hearing an exciting speech or dialogue, are you thirsty for downloading them and saving as your best memory?
    Download, convert Youtube to mp3?—yes, you can.
    Anna, one of my best friends, has posed a question "I have a Mac notebook and I only need the audio (mp3 music) of a certain Youtube movie, what shall I do?" The solution to the problem is shown as below:
    Step one: Install a Youtube Converter for Mac as follows:
    Step two: import the URL of Youtube video (or batches of URL) you wanna convert using "Add URL" icon. Select output format like audio (MP3) by "Settings" and customize your output file path with "Browse".
    Step three: If you want your output audio much better, you can set the audio resolution like Bit Rate, Channels or Sample Rate presented in the following picture.
    Step four: Click "Ok” button, it automatically download and convert your youtube videos simultaneously. After a few minutes, you can get the desirable audio (mp3) you want and enjoy it on any portable devices.
    Download, convert Youtube videos to iPod, iPhone, iPhone 3Gs, PSP, Creative Zen, Zune, iRiver, and etc. --- done by one click.
    Generally, if you want to download a Youtube video and then convert them to MP3 for your mobile devices, you need two Youtube tools: Youtube Downloader and Youtube Converter. But, now, with Pavtube Youtube Converter for Mac, you can both download and convert massive videos by clicking one "Ok" button.
    Now, all the best, you can enjoy versatile Youtube music at a waiting room, on a bus, traveling, walking around the park or lying on your bed..

    Youtube's ToU specifically state that downloads of any content is prohibited unless there is a download button available for a particular video.

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • Use a C++ WinRT Component with external LIB in a C# Universal App

    Hello,
    I created two projects : a C++ WinRT Component project and a C# Universal app that references directly the C++ project.
    If I call a method from my class in the C++ Windows Runtime Component project from C# it's working fine.
    I got the following error in the C# Universal App project when I reference an external LIB in the C++ project : "Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E)".
    Do I need to reference somehow the LIB (I got a DLL with the LIB too) in the C# project too?
    Thanks,
    Adrien.

    Hi Adrien,
    What do you mean by "reference an external LIB in the C++ project", the C++ project you mentioned here is a normal C++ project?
    As I know we have to check the option support in Windows Store App.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create a procedure function with a return value of ref cursor?

    Can anybody provide a sample about how to create a procedure function with a return value of REF CURSOR?
    I heard if I can create a function to return a ref cursor, I can use VB to read its recordset.
    Thanks a lot.

    http://osi.oracle.com/~tkyte/ResultSets/index.html

  • HT1347 I have an mp3 DVD with episodes of Gunsmoke.  iTunes imports them, but does not sort them correctly by date or episode.  One file name is GS 52-04-26 001 Billy the Kid.mp3

    I have an mp3 DVD with episodes of Gunsmoke.  iTunes imports them, but does not sort them correctly by date or episode.  One file name is GS 52-04-26 001 Billy the Kid.mp3.  iTunes sorts them by month/day/year.  How can I fix that?

    The weird thing is, it worked before. I encoded all the videos previously and had them all listed and didn't encounter this problem, but I noticed I'd forgotten to decomb/detelecine the videos so I deleted everything and re-encoded it all. AFter filling the tags out and setting poster frames again I was thinking of making life easier by just pasting the same artwork for every episode, so I did, but didn't like the results so I deleted it again (I selected every video, used Get Info and pasted the artwork that way).
    I think it was after this that the problem started to occur. In any case I've been through every episode and made sure the name, series, episode and episode id fields are all filled in with incremental values and they are. I even made sure the Sort Name field was filled in on every video. But this didn't work either.
    So, thinking another restart was needed I deleted every video again. Re-encoded them all, again. Set the tags for every video and poster frame again. Finished it all off nicely, checked cover flow and was highly annoyed to find it was STILL showing the same two pieces of art work for every video as shown in that image I posted.
    Ultimately, I wouldn't care so much that cover flow is screwing up like this as I always intended to sort by program anyway so it would only ever display one piece of artwork for an entire series of videos, however where-as when it was working it picked the artwork for the first episode of a series to display, its instead picking one of the latter episodes. I can't seem to find any way of choosing what artwork I want displayed.

  • How to Execute  sql query in PL/SQL ( a variable) with out using Cursor or REF cursor

    Hi
    I am building a dynamic query based on some conditions
    as an example
    v_query varchar2(2000);
    x1 varchar2(20);
    y1 varchar2(20);
    z1 varchar2(20);
    v_query := ' Select x,y,z into x1,y1,z1 From ... ';
    Is there any way to execute the query with out using cursor or ref cursor..
    Thanks
    Arun

    Both Tod and Eric provided valid responses given the format of the queory you supplied. Howver, if you want to use dynamic sql in either way, you need to be absolutely certain that your query will always only return a single row (e.g. SELECT COUNT(*) FROM mytable), because if it retuns more than one, your procedure will break unless you have an exception handler to handle either TOO_MANY_ROWS or OTHERS.
    If you want to pull in a lot of data without walking a cursor, you should look at the BULK COLLECT options.

  • How to use Decode with a variable

    Maybe you've seen this done.
    I want to take statement strMenu4 and subtract the previous value
    that is stored in an array as shown in strMenu5.
    My problem is this change as shown in strMenu5 produces
    an error code:
    ORA-00904 invalid column name
    So either I'm coding something wrong or it can't be done within the
    SUM(decode) construct. If I replace the variable with a literal
    like 1000 the code works:
    SUM(decode(name,'DBWR lru scans', c1.value) - 1000) DBWR_lru_scans
    but with an array variable or even a constant the code fails:
    SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, "
    Any ideas how I can use Decode with a variable and not have it interrupt it
    as a invalid column name?
    Thanks,
    Joseph Karpinski
    [email protected]
    [email protected]
    strMenu4 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "
    strMenu5 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value) - Array(2)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value) - Array(4)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value) - Array(5)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value) - Array(6)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "

    Re-posting in the SQL and PL/SQL forum.
    It's more appropriate.
    Thanks,
    Closing

Maybe you are looking for

  • Strange problem when opening new message.

    I have a rather annoying problem when I open a newly received SMS from a particular contact (lets call him Bill). When I open the new message from Bill, either by swiping to unlock or touching a banner message at the top of the screen. Instead to bei

  • TC as External Drive

    I am thinking of getting TC plus a New Macbook, my question is can you use TC to do a data transfer from the old mac to the new one. Plus is there any other way to do a transfer instead of a external drive that would be great

  • Can't delete Capability for a tradeing Partner

    Hi All: When I trying to delete a 4C1 (Inventory Information Provider) V99.01 capability from a trading partner, I received the following errors: An error occurred when deleting the supported collaboration role. java.lang.NullPointerException : null

  • Define default for excel integration to report painter

    Hello, I am running report painter. I am using office integration to display the report with Microsoft Excel. The Excel opens with left to right display. I want to display him right to left - but I cannot define right to left as a default. Where can

  • HT201236 how do you make a bullet with keyboard shortcuts?

    how do you make a bullet with keyboard shortcuts?