Sign in to follow this  
Followers 0
FireFox

play mp3 from bytes

5 posts in this topic

#1 ·  Posted (edited)

Hi,

Is it possible to play a mp3 from bytes?

Sample mp3 sound bytes :

Dim $bNewPlayerSound = "0xFFFB9004000001BB00577D0C40082DE00ACFA108010FE50F9DB96A401201226EF73B5402872200011248D2B5A79EC59F04CF82070B8620FBCB83E070FF07CFE0FE0FBFD383FFE081CCA063FE50E440081CE081C82008063FFFFFC3E01040000068DB9A34FEB50267C400841071707CD7821C0873821FC9BBFDFFE0F83E0FCB9FFDFC1F7E270FFFCA0620DC0E060381C0E0602810080200840DFFA80C981B603C09CFBC0D901190322C263C0F46B033003C0DBC80344640D793FC015501981206685819F95FE0640681820C06BDA0B84014D7FE0D810AE062212E1DC22FFFE5D20843C708B6936291FFFCD4A24E958BE4048916C577FFFF204511C91CA22E2E521888E69EFFE12ABD902C06038180E070301006030000E1A49FFEB46040C87C9661C82BFA61A98E66E03FCFA2F03683840CF84DF01E0E030A0C401413F8030700C0015031110C0C5012FF031707C0C683903010180C3837031500FFF11C061106DA9403548B23FFEC4A1588B0FA32FFFCCCE13C7943E89C5197FFFE62454B04347348E1C92E960992EA0990016E49236E2070C4E1ACE99AE913C03B27CBACDD361AFFFB92040C0002EF49D86F41600C61C93B2DE6B4018BF9276FA5957AB170A52CF4C43E7ED5FB42E9F29A0FD1E6B8B9AA696DD3F387E2F753E1FDB2FBEBA3EADA94FAE7BE5FE60D9D6EA9FEEFEBE3AA8E2B"
$bNewPlayerSound &= "350F04E6B5E775103E8EC4D87AB60EC71C229509EDB178885C1C200524B248DC614B387A675E6410675166D1316459D3B2D9689B1A14903A9AEC82FB1A9ABEB5326FA96936CAA29B2904905A4CBA907F5B0C03D5F57F764D1D3B9912E51AA91C48E28CACB386C6C5E3E82A5E21144BC4B1C48E11C3C9D60F555F6AB500E4BB6DADBA548CC725AA358DF54008415CEF8F874AFEC396D6B1262262FBABBB8AB79E9CFD4C5BC96769191DBF1827D7AD918C121ECD7FCF4B5CB25D089CB65C3007C73A34B355255A36D89B3460C1E99023C849779B783CEFFFFFFFC286464292592D91D631E32760762666DA1D0ED7DAB749BD1E6F3B1F184E557D9D1317497B076B6F5A9B72B3BDCB7DD77C3131F2D73C5732A24005ACE8BA95B4FFFFE6F86AC1ADBD6774BDB796BF2439EFACC9AC3C2E4D0F70F3F2AD2B6A128018D6DB6CAEC8C7CB48C9C4FAC02D20097961CEAD4499C4D8FFFB92040D0002E149D96A035CDC5C893A99486B6B8BC52740EE216DE17D2528B5A1ADFC6AA818F7A3DD1F6844F294A2ACBEADC375F6E715EFCFD93ACBB4889B8F1F8895B98FDDC7ED75FF8F3335C9E74C679EF97C5389466AEB84A0E67702C307DDFFFFFFC6140177574E0813E5D355209AE70920049241E0CCD3770EF299AA23557C7D7DA23C975D75D5539AD3B2922E7C55F5512EAD5A96D5CBBBE8A01A49EC9AE3E"
$bNewPlayerSound &= "1DDD5CD5CFD73B43F74D6D1792A4FDD955B2665E688A44B1510879E74D716C904094694218189021BA56B3A440B738E5353382B51C98AF1CF8461A7A05FEBBB59D916E549D5ED865D5DDC6D0F762897547B325F294C5B11FAEEE7FF1922FA6B1D37537FF17577DDF290A1734F66B365CD7C31893DE94420D0EA311E98E0080001989389C8C47DDCA0CAF7692ED97EA5261633936297F792CA282B9E30B160624B3005720765CF0E8654B42226487B984EFE5CBD2EDB15E2E2CFA9112EEA3732DF757BB8773683DA05EAEE6AFD1E9D16E73E959CC411085A96F605426C0A00084E26E36D9060489913A81A0EB79A9A81D076448EB7BA48A89251C72BC8ADEDFFFB92041108032249D46A866CDC63693ABD1A2B358B51275BA9BD7E3180A52AF504327E92B3CA5F77EB393AD9DB7C4ADC8B36FBC3D6C7777322CE7EB3F74CCEDDEB0AA5461E8D47DAE818B504AFCF85CCF31820B74906A926305B3524545E2485753ADA35904AA4009CD238DB88161922F11BDB130011CADDCBA1F289490CC40DD44B41CE2A31A335563F675563B67FCF10AB6A9BC4FF76C89EAABFAE3AEE6153B133A8FB79DE2DDD5E7E332A62B490687AEACF1EB61C82622A5A6998B917A4500C05B3BEE1E06463421257259644147CCD471130E4D01F5844DBE9A4E7897664D0388A9EA4A7D5AD4B40ECADBFAE7127B324A53D24"
$bNewPlayerSound &= "EC939CBB36D2C1B6A904A039647DAF87F9AFB9AEEDAB45D6B70A18812AF6AD49EB9EFA7CBFE1CDD125076B3BE456930A05B91C92471051B2D22C2D0325A240804C49E9DD74964A95CE2EE9A7FC59AD329462D0D0F0293D416CF73FF377BC7126522E2AC316D99E3622D44761B0F3691D35AF35535F48A3200919F16DADBD93D06B8F6D61ABA5E3E223D17E6068AB6A0804BEFE9825712BB6EA6D9FEF28D3F2758E7279EEF79FDCEED8EB57C6FFFB92040E8002F949D1CB6B54DC54A949FA68CA6D0B8D273B4E2D4FE18724EAB4F42DFEA9D52B9D445C70B90B5AA3A54430704D893EF96C42910FAE59171079DA4C4A23EFD55341202227399724D50FF644676A2C27264E6A4EFCA295913CF128432C95A23B82002E546938852BA91B8DD4ED7A7B4E32701B6B2EA4F6571AEE6D03AFB2D9BCCECDC4B66366568084B6BB7C432AAA4CED55D1EE5EB6EC9DF2A36ADFF32EADB98AD27E124FBD10F57A98F45DF3C450D50C4C1E24AC1000211471B2230FFD346B2A543840D65748846873D8F25F4032EABAED53AAC737B2263D96762D1FAA6376032B7B6BF7A4D2F9ABA755FA36E569F5577B192B67CD666A9B35127B2E99ECD9CC0FB6A77EA6551D8E674202E72DE311D492C80A399C9647189E3C6B5A0FB798EE234589C676D8D3A7141904EEC4566183A231347E7D6F2C81BB48EA2ECCD15A4C32F"
$bNewPlayerSound &= "B1BA53AEFBDC6F692AB710408EE564C2AA92F9887F7733CAD555102CB9EF98645C4B295F8A9A54691C35249D01F868FD94A0002975B6DB2306A718DCE992F73403EB22295F5504886893326B7127441458C7AA8A35A4A090D5BFFFB9204148002C449D5EA483CFC51894ABD2C27D38AF0EB394DAD0D815DA4EA3525A1EEB5565461A1F2AFC2FE45C08CCAB757EF1C5F574315C3ACED13868F819771CFA2D8010F9AD16CEEDF796C60F6AAA181A0EA40A97396C8E30D73CF98A8A3F3EC02218DF7EED0C5171DB297D9C6479BF5C7F7B4832EA48F52AC981101303B1DD8F179CC2EADCA84A7323BBAF9B9ECA939AB362598C9B1CC8FA52B57C5219A2345619700007E5DBFF5081DD8A0D7CCB647FA32D741A2878A4C24A4C565CB5C3A2D81FC4C72E788B887246911C9DB95A854133ADAF98DA80157AF746D0D36878AFFDB5ABED154200A8A8C2E2EDA565ABEABE6BAEAE003211FFB39111A00292D96C9190E686E613A9B54E10E8F6D6EF948475991FC24A1E58207CD799A87CB0D4343A89CA54C94A9C630D851B72D035FEBF9AE51A06D4B3C18CA9D45CEB55CD76B0C83E2DB0009F6F7DCFF5F1FFFD1E3BFF1B451800C974D2DB010503326535A91DCC400C031756AF7CA01A234E5546958C928730B3D40988B38534B76C485E9EC50D72A79B739CD3CF43B69102B39DE67A272BA2FE54096FFFF"
$bNewPlayerSound &= "506C0003914924FFFB92042700123D3A546A2852EC4F074A4D65AB5F8954EB4BA9ACF3B10E9D6935441DE6600CACD2D7CF1C7BFBB8617064BF745D1105232DD5555A8BCECF554A633506EA14662C9A50F5699BAF67DA4C3B7A5D6E5D245EFEEE942F895DF317DC43A1B13FF1DBE120C808EFFF5A34008595DDAD6003AA4D9E65CB0069B8D8743A4B52C74AFDB32C8E5785A98AD774C2482522D4D4646606C5E19C41F595ED28B30376CC43A1D6D46764DBE51119749AF87BA5D5AFEBF881CA800024B2CD113E6E6899917BA2062588F2FED7A83A155ABDD56B243B1E65B0E8771984433E6F2837088B921158794F57D52871A8F490D6D282F34F52DDABFFBDF85D93498000B2BD7584000C613603014E11E06190126DF3C6B1AFE575E3FDA1A72AB6FBB32B07C22C460CBB77A1880414DC3608EEB55EFD493D8D5FEE676BE67884554FFED003CCA012F47A6835EB3E260703AB4299661816009C0DA3008E32B001EF34554A56B00ACD73FF7276B8D850B56CCA88A31D00B99AA53198C3A57548374BF7FD2B8A721D5FFBBFF5BB2200469001438486BF62575B81B605D76C4AD661208C668CF263900CFFFB9204538092142CD168744A4C496598F675826808E47718CC74C740EA116575B621943C0FAFC71E1C95D0D8C76C668F7AC5BF2FF452B0D5DA9E99C904CF799E8F893D96FBD41857F11DF"
$bNewPlayerSound &= "FFDDFFF92024B36B28E2B3B73EA25F46F0A310021C7F087103CF38FB977F26A0E8FBD6989E668C346ADA478D492817B5C9B0A632FF77B37D63438B3D794E24500000846D000077D3E9A74AEA3D22802B04CA5054C8440CBAE889DD165BE23179C84EA01F33F969AFF1966A5916D4A30C0DF6FDD576E2670849D48F1A7BBFFFD5FFFADC800435D76D200000B8EA4065F1C2A0BDC4DF28799036DABFCA0C3207B32AB970BAAD9C94F3CD329D3E8FFFB7EC3804C91A57A999109FB32A110311157723D010E278B57071255F40A5E4766322887B454EDD361C00AC8E1455C4B56AE9A6166EF72A2C6765A0E941F8D3FDEDFFFF5A70009DA36DA3000798EA5139A00B0A42ECFAB50312ED9CC601565F3CCB9256CA64BEE35F6B2A6E7A4F398DF57524C414D45332E39382E34AA4180209ADDAC0000045DD01F3C00FD1B2491AFEA0DD0C91F56D5702C048BB59F44182E12823037A9747B3C92FFFB92048B8902161D46D36B43202EA59A3D09EA43881875174E352D00B60EA874A02646455B4E83F16000029BB1100060500F6F76EA5ACB29EA150046F30302E18959CB6474E248C9F0F8F8E0F0D59E9DD36F5121B0787B54836BEC0D5C76443518CF5FA3A3A37E614FD40100012BDFE688038B7B3C6D464841264CFEAD10A88871495806D3931AA5CB19453D8981914AAC5AAA85C268D92001C4E651C1"
$bNewPlayerSound &= "85DB285C4E048D0D9364A8A45A4865976371A7AB1EF12392252495CD6CEDAD0004D169D73B6E70548C9E75AA8207071D4210021ADC612A47F3AA844F3699EEEEC69B4C40466EB21BB29DC8CF86806272FF6C0F757B1A16022CD964A16F619628DC05A14D0692380AEACC0E706CD184E455892BE960DA9A6F7B92B0D322E29DD8B582B54C414D45332E39382E3455555555555555555555555555555555555555555555555555555555555555555555555500000893090005EAA14A414BD30107D20084044418384021753BA87315070A8849CAB0CC4596B8CEAC0D0742E1123711F877DFC7FC808C803E50B15590A242D32D34E7B9B61B82F3201B183A58A9110A14484DFFFB9204D500818C1CCEE853425C416598AA6D626C0A248515AEE12AC1918EA1098E30D044D1A04C1304C5450584C263268D1A0705D8CFFDBFEB8B03015F7EA009A748ED0CF4807F839518FE83650E955955885112A26597B9B611A06D02846405CE1D4884888ADA65A65EC36DA06D85D45D44D55AC24256555540E4AAFCBE9659604A6DB8E371900000C5883CA35C255511A86542A34785876B0E9B4451B564202219AE877E929EA50B7668CE9BF91750A8F5743F5E79D5C72562E89A3819AC5EB2F0252EB17EFAD99831AD50B0A867F582D5DEE46D1005B38F67AC489234591FEAC5EC218D41782870FCD4E8E4AC291"
$bNewPlayerSound &= "A84C2B9C2F62F4853261EC986E6A7C625613D3AC85A65A4A5620904C2717953FB6E549C68A28F0303ED132C969ABFEAAD4C414D45332E39382E345555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555FFFB9204E8800351224653784AC04664294905E919C9F48113A36185F13E92A068F6197B5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555"
$bNewPlayerSound &= "5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555"

Br, FireFox.

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try this >> OR

And be careful where you post!

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

And be careful where you post!

OMG... even i check everytime i messed up :/

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Thanks for your replys but I don't want to use an external dll.

I will use fileinstall if there is no solution.

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0