MᏫᎻᎯᎷᎷᎬᎠ
.
Doty
klimi
Talula
Well In my humble I don't like to use API which I don't know how it's working
Oh you like to read bit by bit and call low level functions to make waves and... duhh... I'd die doing that.
MᏫᎻᎯᎷᎷᎬᎠ
Oh you like to read bit by bit and call low level functions to make waves and... duhh... I'd die doing that.
Well There is a different between implement a such one and knowing how it works
MᏫᎻᎯᎷᎷᎬᎠ
But implementing one is not that bad
MᏫᎻᎯᎷᎷᎬᎠ
That will make you practice for those kinds of things
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
I use API a Lot
Mat
That will make you practice for those kinds of things
If you need it for your work or you have spare time it can be useful. Otherwise is a waste of time
MᏫᎻᎯᎷᎷᎬᎠ
Yeah Agile software needs a fast delivery
Anonymous
What data type used to audio files
Anonymous
Store audio files in memory
olli
Depends on the implementation, most likely unsigned char
Ludovic 'Archivist'
What data type used to audio files
Generally, it is a raw buffer, most of the time, the underlying storage is uint16_t, but it can be other types, the buffer is associated with a bitrate
Ludovic 'Archivist'
So if you load a wav file encoded as 16-bit audio single channel with a bit rate of 48kbps, you will read 24000 audio values per seconds of the buffer
Dima
/ban no
Ludovic 'Archivist'
Lol
Ludovic 'Archivist'
I forgot nobody gets MTG memes
Talula
Smartest people are those who know how to Google things.
swarnim
Sid Sun
If you think like that, why would you write music player? Just import with python
swarnim
Anonymous
If you think like that, why would you write music player? Just import with python
Why to create a music player? There are tons of them already
Sid Sun
Why to create a music player? There are tons of them already
Because it's fun to reinvent the wheel, that's how you learn
swarnim
Why to create a music player? There are tons of them already
No one is doing a startup or a Kickstarter on making a new music player... It's just to learn. I believe.
Sid Sun
Maybe they've some nice idea too
Sid Sun
Music player which make the output kind of roboty?
Sid Sun
Like C3PO or R2, maybe? This could be a first step in the case to create a normal player
swarnim
Music player which make the output kind of roboty?
You are likely taking about making it punk or glitchy it's easy to do if we just have a good equaliser in the App....
swarnim
Probably with ability to work on Frequency curves and stuff. But that's going into DAW territory.
Talula
It's actually a really good idea, and there are lots of music players written in C++ I believe.
Yeah there are lots of nice wheels so you should invent a new one that is worse than the previously invented one.
Talula
The point there was which language should you write a music player in.
If you want to learn you learn you don't have to write a music player, you don't have to create a new tool when you're learning.
swarnim
If you want to learn you learn you don't have to write a music player, you don't have to create a new tool when you're learning.
Actually if you are learning about audio processing you will likely end up doing all that a music player does anyways so why not make it a project.?
swarnim
Do you not like working on a fun little thing to learn.
Talula
Actually if you are learning about audio processing you will likely end up doing all that a music player does anyways so why not make it a project.?
Actually no... when I want to learn encryption I don't end up making encryption program, I try it, learn it and stop it. You can see how you can open the file, get the data, convert data to raw audio format and then play it... this is where it stops, you don't even need to write a GUI for it.
Talula
Do you not like working on a fun little thing to learn.
I prefer not to waste my time on reinventing wheels.
MrSmith
Are anyone use conan? How i can install for ex qt?
swarnim
It's just everyone is different
Jussi
Qt.
Player.load(mp3file); Player.play();
Talula
You do you.
I do Google... you do not...
swarnim
swarnim
Qt.
Yeah with Qt you can make a barebone Music Player in like 10 minutes... it's nice.
Talula
I am a practical person, I do not do things which do not make sense, I will not create Linux just to know how linux works.
swarnim
You mean GUI
Qt has built-in Audio libraries too
swarnim
It should be super quick.
Talula
Qt has built-in Audio libraries too
So does C#, Lazarus, Delphi, C++ Builder and every other tool, this not what he wanted.
Jussi
So does C#, Lazarus, Delphi, C++ Builder and every other tool, this not what he wanted.
C++ STL does NOT have audio functionality, and I dont think that delphi has it either
Jussi
Nor C#
Talula
Chill bro... You have a few chips on your shoulder.
Why don't you chill? Let us start there.
swarnim
Nor C#
You can add them as Nuget packages so C# is nice for Application Development
swarnim
But not portable
Talula
C++ STL does NOT have audio functionality, and I dont think that delphi has it either
procedure TForm1.Button1Click(Sender: TObject); begin sndPlaySound('C:\Windows\Media\Tada.wav', SND_NODEFAULT Or SND_ASYNC Or SND_LOOP); end;
swarnim
Why don't you chill? Let us start there.
I am as Chill as a Cola in Winters.
Talula
Nor C#
System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"c:\mywavfile.wav"); player.Play();
Jussi
And not C++ stl
Talula
Who gave an example of C++?
Talula
Did I?
Jussi
I dunno, cant read the code in mobile dev
Jussi
But you are just straight wrong
Talula
I dunno, cant read the code in mobile dev
That's okay the examples are from Delphi and C# native without NuGet.
Talula
But you are just straight wrong
Nah... I gave example you're simple miss informed or arrogant... you pick.