Hi there,
maybe I didn't use the right search terms. However, I hope you can help me!
I am building a small Audio / Video-player based on a Raspberry PI 4, the official 5" Touch-Display and HDMI-output. I will have a 32gb micro-sd and a 4tb usb-attached ssd.
I found the install-hints by mk-soft ...
Search found 602 matches
- Thu Nov 20, 2025 5:38 pm
- Forum: Raspberry PI
- Topic: Best small OS for Raspi and Purebasic?
- Replies: 1
- Views: 331
- Tue Aug 19, 2025 10:47 am
- Forum: Applications - Feedback and Discussion
- Topic: mpg module MPEG1 Video decoder, MP2 Audio decoder
- Replies: 20
- Views: 4796
Re: mpg module MPEG1 Video decoder, MP2 Audio decoder
Hi Idle,
great news!
My take on this is here: https://www.purebasic.fr/english/viewtopic.php?t=86166 , but I never figured out how to play audio.
I tried your Code on MacOS, but "Line 118: Structure not found: WAVEHDR.". Hope you get it to work with MiniAudio :-)
I have a fix in mind ...
- Tue Aug 19, 2025 9:26 am
- Forum: Applications - Feedback and Discussion
- Topic: mpg module MPEG1 Video decoder, MP2 Audio decoder
- Replies: 20
- Views: 4796
Re: mpg module MPEG1 Video decoder, MP2 Audio decoder
Hi Idle,
great news!
My take on this is here: viewtopic.php?t=86166, but I never figured out how to play audio.
I tried your Code on MacOS, but "Line 118: Structure not found: WAVEHDR.". Hope you get it to work with MiniAudio
great news!
My take on this is here: viewtopic.php?t=86166, but I never figured out how to play audio.
I tried your Code on MacOS, but "Line 118: Structure not found: WAVEHDR.". Hope you get it to work with MiniAudio
- Tue Apr 29, 2025 12:04 pm
- Forum: Feature Requests and Wishlists
- Topic: UseMP3SoundDecoder()
- Replies: 11
- Views: 4602
Re: UseMP3SoundDecoder()
native MP3 decoder command would still be much nicer
But the Movie lib is native. Why add another library that does the same thing?
MP3-decoding is already a part of Miniaudio. I think, Purebasic should have separate libs for movies and audio. Playing mp3 with the movie library is more like ...
- Mon Apr 28, 2025 1:01 pm
- Forum: Feature Requests and Wishlists
- Topic: UseMP3SoundDecoder()
- Replies: 11
- Views: 4602
Re: UseMP3SoundDecoder()
+1
Would be great to have this one. @infratec: A few years ago I coded my own music player. With the movie library you have to check for MP3, FLAC or OGG for every file and use the appropriate command. UseMP3SoundDecoder() would have some advantages in this field
Would be great to have this one. @infratec: A few years ago I coded my own music player. With the movie library you have to check for MP3, FLAC or OGG for every file and use the appropriate command. UseMP3SoundDecoder() would have some advantages in this field
- Fri Apr 18, 2025 10:17 pm
- Forum: Tricks 'n' Tips
- Topic: PB Coroutines Ver. 2 [Crossplatform]
- Replies: 6
- Views: 1563
Re: PB Coroutines Ver. 2 [Crossplatform]
Hi there,
tried your code with MacOS 15.4.1 with an M2 Max.
It crashed after debug-output "Main: Resume Task1" in line 35 of PBCoroutines.pb
CompilerElseIf #PB_Compiler_OS = #PB_OS_MacOS
Procedure.l _co_trampoline(low.l, high.l)
Protected.co_coroutine_t *co
*co = (high << 32) | low
*co\func ...
tried your code with MacOS 15.4.1 with an M2 Max.
It crashed after debug-output "Main: Resume Task1" in line 35 of PBCoroutines.pb
CompilerElseIf #PB_Compiler_OS = #PB_OS_MacOS
Procedure.l _co_trampoline(low.l, high.l)
Protected.co_coroutine_t *co
*co = (high << 32) | low
*co\func ...
- Tue Feb 11, 2025 4:51 pm
- Forum: Feature Requests and Wishlists
- Topic: Please expose implementations of libraries so that they can be extended
- Replies: 6
- Views: 1144
Re: Please expose implementations of libraries so that they can be extended
Hi there,
please have a look at this as well: We started discussing the audio-topic
Would be great to join forces in audio-related topics to improve PureBasic further!
https://www.purebasic.fr/english/viewtopic.php?t=86234
please have a look at this as well: We started discussing the audio-topic
Would be great to join forces in audio-related topics to improve PureBasic further!
https://www.purebasic.fr/english/viewtopic.php?t=86234
- Sat Feb 08, 2025 10:29 am
- Forum: Feature Requests and Wishlists
- Topic: Sound-Editing like StartDrawing()
- Replies: 6
- Views: 1795
Re: Sound-Editing like StartDrawing()
And how sounds your CreateSound :?:
What should be inside of the sound?
How you want to specify the sound curve?
At the moment your CreateSound() can create an empty sound which returns silence.
To make something lke that universal, you need a lot of stuff around.
This would result in a ...
- Fri Feb 07, 2025 10:39 am
- Forum: Feature Requests and Wishlists
- Topic: Sound-Editing like StartDrawing()
- Replies: 6
- Views: 1795
Sound-Editing like StartDrawing()
Hi there,
I'd like to propose new options for working with sound. Since PB switched to the miniaudio-lib, it might be possible :-)
What, if we could edit audio like images? I mean, do something like (with a better named command than StartSounding():
define mySound = CreateSound(#pb_any, 2000 ...
I'd like to propose new options for working with sound. Since PB switched to the miniaudio-lib, it might be possible :-)
What, if we could edit audio like images? I mean, do something like (with a better named command than StartSounding():
define mySound = CreateSound(#pb_any, 2000 ...
- Thu Jan 30, 2025 2:38 pm
- Forum: Mac OSX
- Topic: pl_mpeg.h and decoding question
- Replies: 4
- Views: 6140
Re: pl_mpeg.h and decoding question
Maybe someone has information on how to access the raw audio-data from a wav-file "loadsound-ed" or "catchsound-ed" with Purebasics Miniaudio?
I figured out how to apply a ring buffer (or circular buffer). But, I would most certainly need access to the raw sound-data.
I figured out how to apply a ring buffer (or circular buffer). But, I would most certainly need access to the raw sound-data.
- Thu Jan 30, 2025 7:33 am
- Forum: Mac OSX
- Topic: pl_mpeg.h and decoding question
- Replies: 4
- Views: 6140
Re: pl_mpeg.h and decoding question
Hi all!
I almost made it! Have a look at the repo under https://github.com/foodsnacker/pb_play_mpeg .
The source can decode an mpeg1 and play the video-part - unelegantly using an ImageGadget, but it proves the point.
You can export the single frames as images as well and export the audio as raw ...
I almost made it! Have a look at the repo under https://github.com/foodsnacker/pb_play_mpeg .
The source can decode an mpeg1 and play the video-part - unelegantly using an ImageGadget, but it proves the point.
You can export the single frames as images as well and export the audio as raw ...
- Thu Jan 30, 2025 5:23 am
- Forum: Mac OSX
- Topic: pl_mpeg.h and decoding question
- Replies: 4
- Views: 6140
Re: pl_mpeg.h and decoding question
Shouldn't the loop look like this:
Debug "Video-Resolution: " + Str(width) + "x" + Str(height)
*frame = plm_decode_video(plm)
While *frame
i + 1
Debug "Frame " + Str(i) + " decoded"
*frame = plm_decode_video(plm)
Wend
Without plm_decode(mpeg)
Oh, no!!! You are (partly) right. My bad
It ...
- Wed Jan 29, 2025 5:58 pm
- Forum: Mac OSX
- Topic: pl_mpeg.h and decoding question
- Replies: 4
- Views: 6140
pl_mpeg.h and decoding question
Edit: Idle works on sound with MiniAudio. That would be nice! See https://www.purebasic.fr/english/viewtopic.php?t=87321
---
Hi there,
I am trying to use pl_mpeg.h in a Purebasic-program.
You can find the source here: https://github.com/phoboslab/pl_mpeg/tree/master
I was able to compile a ...
---
Hi there,
I am trying to use pl_mpeg.h in a Purebasic-program.
You can find the source here: https://github.com/phoboslab/pl_mpeg/tree/master
I was able to compile a ...
- Wed Jan 08, 2025 8:18 am
- Forum: Coding Questions
- Topic: Audio-Filter - please try, comment, optimise, notify bugs
- Replies: 10
- Views: 6651
Re: Audio-Filter - please try, comment, optimise, notify bugs
Hi there,
working on the filter, I got many things working. But this BassBooster is not working as intended. It should enhance low frequencies below the given frequency. Here is a working example, which seems to do something, but not the intended amplification below 400 Hertz.
Global ...
working on the filter, I got many things working. But this BassBooster is not working as intended. It should enhance low frequencies below the given frequency. Here is a working example, which seems to do something, but not the intended amplification below 400 Hertz.
Global ...
- Sun Jan 05, 2025 3:19 pm
- Forum: Coding Questions
- Topic: Audio-Filter - please try, comment, optimise, notify bugs
- Replies: 10
- Views: 6651
Re: Audio-Filter - please try, comment, optimise, notify bugs
On MacOS, there is no Asm backend available, AFAIK, only C.
That's incorrect. Until Ventura the Asm backend is working like a charm. But you have to use pbcompilerasm (in the Compilers folder) instead of pbcompiler . Even in Sonoma and Sequoia the Asm backend is working if you put
Import "-fno ...