SFXR - pure GLBasic code

Previous topic - Next topic

bigsofty

@Gary: That's quite an unusual approach Gary, one that has definitely got me thinking, thank you.  :booze:
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Hemlos

Genious.  :nw:
I have a slew of sheet music ready for this.
I love music composition, i want a copy!

And as erico mentioned, is there an ability to use all the octaves?

Bing ChatGpt is pretty smart :O

matchy

#32
 8) =D :good:

http://www.glbasic.com/forum/index.php?topic=8515.msg71988#msg71988

Threading does the trick for timing but is not related to sfxr. Also it just creates short, fixed length wav file using just one sfxr command, then the wav is loaded back in realtime. Not really complex at all although directly driving the output would be better, like the real deal:  :rtfm:
http://www.drpetter.se/project_musagi.html


mentalthink

It´s a very nice project... I think putting a more good looking UI, can be very nice... the trouble perhaps it´s in mobile devices, isn´t it?¿, I think when I try the port of gernnot, runs very Slowly for make the sounds in real time...

Nice nice!!!  :booze: :booze:

bigsofty

Quote from: matchy on 2012-Oct-18
8) =D :good:

http://www.glbasic.com/forum/index.php?topic=8515.msg71988#msg71988

Threading does the trick for timing but is not related to sfxr. Also it just creates short, fixed length wav file using just one sfxr command, then the wav is loaded back in realtime. Not really complex at all although directly driving the output would be better, like the real deal:  :rtfm:
http://www.drpetter.se/project_musagi.html

Wow, Musagi looks great.

What we really need is OpenAL buffers for better creation of the waves in real time without push/pulling off of the HD for real time filtering etc.

This looks like it performs amazingly well though. BTW how many octaves does it support?
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

mentalthink

#35
HI Bigsofty today I found this... perhaps it´s very easy make a port... of openAL...

I never touch BlitzBasic, but I think a lot of people in the forum knows how works...
http://tools.mirage-lab.com/

The Open Al it´s a free wrapper for BlitzBasic... I don´t know if comes whit the source code....  :blink: ,
perhaps it´s possible make something whit this for GLbasic?¿...


MrTAToad

It could be but only for Windows (and possibly Mac)

mentalthink

uhmmm!!! ok Sorry!!!

bigsofty

I think Gernot IIRC may be updating the SDL mixer to be used across all platforms, with buffer support. Even if it has no buffer support, when all the supported platforms are using the same API it's much easier to do this sort of thing via Inline.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Hark0

Hi!

Any progress or method about SFXR data -> RAM?

I need to generate many sound chiptune style sounds at realtime very fast...

TIA!
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic