Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
OnMon,Feb08,2016at01:48:17AM+0100,DarioCasalinuovowrote: Andindeed,IcouldstartSoundPlayandSoundRecorder;inCortex disconnectSPfromthemixerandreconnecttoSR.SRwouldhappily recordthesignalfromSP.Icould(usually)disconnectandreconnect asoftenasiwantedandregainthetransfer. ItriedtofixthisproblemintheBMediaRecorderimplementation,butthe firstissueyoumayseeisthattheBBufferConsumer::Connected()doesn't ...
Categories: Development

[haiku-development] GSoC 2016 planning

Development mailing list - 41 min 59 sec ago
Heyall, OveronthehaikumentorsmailinglistI'vebeentryingtodrumup interestinGSoCmentorsfor2016.Sofar,weonlyhavetwodevswho havevolunteeredtomentor. GSoC2016registrationopenedtoday,andScottandIcansubmitan application,butwithonlytwomentors,wecanprobablyonlyhandlea singlestudent. ...
Categories: Development

[haiku-development] Building from other OS not officially supported

Development mailing list - 41 min 59 sec ago
HastherebeenanyactivitytowardmakingHaikubuildsystemmoreOS-agnostic orabletoallowcross-compilationfromNetBSD? Iamgettingreadytotryagain;whatspecifictrapsdoIneedtolookfor? What(sub)directoriesdoIneedtolookatandmodify?Thisalsoincludes extendedattributessupport.Filesystemwouldbeffsv2akaUFS2. IwouldwanttosafeguardmymodificationsoutsidetheregularHaikusourceand buildtreesforpossiblelateruse. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Andindeed,IcouldstartSoundPlayandSoundRecorder;inCortex disconnectSPfromthemixerandreconnecttoSR.SRwouldhappily recordthesignalfromSP.Icould(usually)disconnectandreconnect asoftenasiwantedandregainthetransfer. ItriedtofixthisproblemintheBMediaRecorderimplementation,butthe firstissueyoumayseeisthattheBBufferConsumer::Connected()doesn't specifywhichnodeandwhichoutputisbeingconnected. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
OnSun,Feb07,2016at08:56:21AM+0100,AdrienDestugueswrote: I'msorrytosaythatI'veneverusedthemixerfor*anything*butdriving HDAaudiooutput.SimplybecauseI'veneverbeenABLEto! MaybeI'mmissingsomethingbasic,butI'venever,forinstance,been abletoconnectthemixeroutputtoanything*but*HDA.Icanuse Cortextodisconnectitfromthatand(apparently)reconnectitto, say,SoundRecorder,butwhenItrytorunIjustgetabusyerror ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
SoIMO,theaudiochainisbadlyinneedofanoverhaul!Notsure whatmyopiniononfloat-onlyis.Icanseethatifyouneedwildly differentfadersettings,floatmighthavebettercharacteristics, butasithastobeintegerforthesoundcard,I'mnotsurethere'd reallybeagain.Ishouldsay,though,thatthesourcesImostlyuse --Csoundandfluidsynth--bothgeneratefloatvalues. Whateverthebuffersizeis,Idon'tseeaproblemtoconverttheMixer ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Yes,doingthisfromCortexisnotworkingcurrently.Youcould, however,instanciateaseparatemixernodefromaC++app.TheGameKit usedtodothat,inordertomixitsownsourcesandprovideasingle outputperapptothemediakit.Iremovedthissomeyearsagobecause ofproblemswithhybridbuilds(instanciatingagcc2mixerfromagcc4 compiledappdidn'tquitework). Heretheproblemiscommonpraticallyamongallnodes,andduetoadesign ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
OnSat,Feb06,2016at06:16:09PM-0800,PeteGoodevewrote: TheMixerisalreadyusedbyallandeverysoundsproducedintheMedia Kit.PlayingDoom,watchingaVideowithMediaPlayer,composingmusicin SawteethorSequitur+SynCModulararethingsI'vealreadydonewithit. I'msurePeeteGoodevecanshowyouwhathedoeswiththeMusicWeaveras well. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
OnSat,Feb06,2016at03:29:27PM+0000,AdrienDestugueswrote: TheMixerisalreadyusedbyallandeverysoundsproducedintheMediaKit. PlayingDoom,watchingaVideowithMediaPlayer,composingmusicinSawteeth orSequitur+SynCModulararethingsI'vealreadydonewithit.I'msure PeeteGoodevecanshowyouwhathedoeswiththeMusicWeaveraswell. agoyoucorrectedmyextra'9'!)] ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Now,onthesoftwareside,itmaybemoreconvenientinsomecasestowork withfloats.Thereasonisyoudon'thavetonormalizeyourvolumes.You canaddasmuchstreamsasyouwant(withasimpleaddition),andyouwon't overflowtherangeofafloatvalue.Then,aftermixingeverything,youcan dividethefinalsamplesbythenumberofsignalsmixedtogether,to normalizethingstothenormalrangeof-1..1. SincetheBeBookdefinesfloatas-1/+1Ithinkit'simplicitthata ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
thefloatformathas only24bitsofmantissa,soifyouareafterprecision,youarebetteroff using32-bitintegers. Besidesanything,floatingpointmathisknowntobegenerallymoreflexible andhavesimplermath thatmeanssimpleralgorithms,it'sjustthewayproaudiooutthere representthedata.Weshould considerthisbesidesanypreferenceortechnicalimplementation.Personally ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
BeforeallthankstoallforreplyingI'mhavingmyownreflectionsonthe argumentandthat'sveryfine. Themainreasonfordoingfloatingpointmathisrelatedtoprecision, ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
6février201616:43DarioCasalinuovob.vitruvio@xxxxxxxxxaécrit: themediakitthen? Thatsoundslikeajobforthesystemmixertome,andthesystemmixerisa medianode. WhatImeanisthatnotnecessarilyeveryneedofthegame_kitshouldbe handledbythemedia_kit. I.E.doesn'tharmifthegame_kithadit'sownnodedoingtheappropriate conversions. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
What'syourplanformixingtheoutputofthegamekitwiththeoutput fromthemediakitthen?Thatsoundslikeajobforthesystemmixertome, andthesystemmixerisamedianode. WhatImeanisthatnotnecessarilyeveryneedofthegame_kitshouldbe handledbythemedia_kit.I.E.doesn'tharmifthegame_kithadit'sown nodedoingtheappropriateconversions. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
game_kitneedsshould haveanythingtodowithmedia_kitones. What'syourplanformixingtheoutputofthegamekitwiththeoutputfromthe mediakitthen?Thatsoundslikeajobforthesystemmixertome,andthe systemmixerisamedianode. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Imayhavemissedsomething,butlasttimeIlookedattheHDAspecs,the soundcardwasexpecting32bitintaudio,notfloatingpoint. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
format.Ithinkthegreat majorityofapps,doesn'tdealwiththecurrentstorageformatandjustget asapraticehabit buffersinfloatingpointformat.ForexampleMediaPlayerdoso,andright now(lookattheaudio producer)doesn'tsupportanythingthanfloatingpoint. MediaPlayerdoestheconversionitselfalready.AsfarasIknow,mostofthe timetheffmpegdecoderwilloutputinsomeintegerformat,butitdependson ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Hi, Kitaudioingeneral,andforeasyreplayofseveralfileformats. Thenicethingabouthavingthemixerhandlethis(aswellassamplerate conversion)isthatthecodeneedstobewrittenonlyonceandforall,and youcandecidetoreplacethealgorithmsatanytime. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Hey, Am06.02.2016um15:58schriebDarioCasalinuovo: BeAPI programs usually use our encoders to obtain data in the specified format. I think the great majority of apps, doesn't deal with the current storage format and just get as a pratice habit buffers in floating point format. ...
Categories: Development

[haiku-development] Re: Considering the audio Mixer formats

Development mailing list - 41 min 59 sec ago
Hi, wastebecauseeveryapplicationhastoimplementit,againandagain. BeAPIprogramsusuallyuseourencoderstoobtaindatainthespecified format.Ithinkthegreatmajorityofapps,doesn'tdealwiththecurrent storageformatandjustgetasapraticehabitbuffersinfloatingpoint ...
Categories: Development
Syndicate content