Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Jackdaw

Today at 20:00:40
Going to have to try bourbon and beans. That should be an explosive combination.

Baggey

Today at 13:15:42
I sometimes mix a chicken vindaloo and a Tika Masala together. Awesome  :P

Dabzy

Today at 05:49:34
And doing the act was the realisation I went for an indian when out... 20mins I was in the thunderbox waiting for me back chaff to cool down!

Dabzy

Today at 05:48:11
When I was on my "Year On The Blur", aka drinking after getting divorced, I was minging one night, couldnt remember getting home. Anyway, next day, went to work, and needed a poo...

GfK

2025-10-15, 21:39:05
I overdosed on jelly babies once and my arse was like the shooty gun bit at the start of James Bond

Amon

2025-10-15, 20:16:38
lol

Jackdaw

2025-10-15, 19:40:48
Never had a Phall or a tinderloo. But I have heard that your backside feels like that map at the start of every episode of Bonanza.

GfK

2025-10-15, 19:22:25
Never confuse phall with phallus

Baggey

2025-10-15, 18:30:58
My mate ate a phall one night. Even that was to hot for me. I bet he suffered in the morning!  :-[

Dabzy

2025-10-15, 18:02:52
I like nice and toasty bit of fire in my bait as well, I used to eat really red hot gear, but nowadays if I do... Heartburn happens! :(

Members
Stats
  • Total Posts: 1,811
  • Total Topics: 224
  • Online today: 26
  • Online ever: 232 (Oct 08, 2025, 09:18 AM)
Users Online
  • Users: 2
  • Guests: 5
  • Total: 7
  • ando
Welcome to SyntaxBoom. Please login or sign up.

Recent

Audio Library for Lazarus/Free Pascal

Started by Jackdaw, Jun 30, 2025, 04:28 PM

Previous topic - Next topic

Jackdaw

While searching for Pascal Audio libraries. I came upon United OpenLib of Sound.
I shall have to have a play around with this.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Baggey

Quote from: Jackdaw on Jun 30, 2025, 04:28 PMWhile searching for Pascal Audio libraries. I came United OpenLib of Sound.
I shall have to have a play around with this.

What are you upto? Are you integrating this to CerberusX?
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Jackdaw

#2
Quote from: Baggey on Jun 30, 2025, 05:06 PMWhat are you upto? Are you integrating this to CerberusX?
Well I won't be integrating that into Cerberus X. Monkey X and Cerberus X are not the easiest things to integrate anything into it. And as this is a Pascal library, it's not as straight forward to write a Pascal library that can be called from C/C++, which is what the desktop targets for Cerberus X output.

And what am I up to, well I'm seeing if it's going to be any good for any future project I may start. Plus it's also being added to those lists of useful development tools I've be updating every so often.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Baggey

Quote from: Jackdaw on Jun 30, 2025, 05:31 PM
Quote from: Baggey on Jun 30, 2025, 05:06 PMWhat are you upto? Are you integrating this to CerberusX?
Well I won't be integrating that into Cerberus X. Monkey X and Cerberus X are not the easiest things to integrate anything into it. And as this is a Pascal library, it's not as straight forward to write a Pascal library that can be called from C/C++, which is what the desktop targets for Cerberus X output.

And what am I up to, well I'm seeing if it's going to be any good for any future project I may start. Plus it's also being added to those lists of useful development tools I've be updating every so often.

Hows about BlitzmaxNG  :P
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Jackdaw

If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Baggey

Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Jackdaw

Quote from: Baggey on Jun 30, 2025, 08:00 PMI thought BlitzmaxNG is C  ???
Yes but the posted audio library is written in Pascal. They use totally different calling conventions.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Baggey

Quote from: Jackdaw on Jun 30, 2025, 08:13 PM
Quote from: Baggey on Jun 30, 2025, 08:00 PMI thought BlitzmaxNG is C  ???
Yes but the posted audio library is written in Pascal. They use totally different calling conventions.

When i was doing audio @midimaster helped me get Beeper and AY going. You need to check midimaster's mima.audio. It's a lovely piece of work and is a C file originaly.

I have it still if it has been lost! I use it in my ZX Spectrum 128K emulator when i compile.

Im sure @midimaster will be back on the scene soon!  ;) He's defo your man! And he aint going to stay away for long, im sure off it!  :D

Kind Regards Baggey
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Jackdaw

#8
He's wrote a BliztMax wrapper for minaudio by David Reid (aka mackron).

Now I could write a Free Pascal language binding, providing it's not doing C specific data structures, like unnamed unions. I never did figure out how to get the z80 emulator data structure to work correctly with Pascal.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Midimaster

#9
Here is the GitHub-Page where you can find the BlitzMax wrapper for MiniAudio.

It contains all code you need to run it: And also a manual /reference) and lot of blitzmax code examples.

https://github.com/MidimasterSoft/BlitzMax-Miniaudio-Wrapper

The tutorial got lost, when Syntaxbomb closed... Maybe somebody will find it on wayback machine...


The wrapper code can also be a good source for how to bind C-libraries into languages like basic.

Dabzy

QuoteThe tutorial got lost, when Syntaxbomb closed... Maybe somebody will find it on wayback machine...

It's on me todo list to get stuff like that, I just havent had the time to have a good dig at it.

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!