Search found 761 matches

by badidea
Jul 15, 2018 13:23
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Same behaviour (tuut...tuuuuuuuut, no prints)
by badidea
Jul 13, 2018 12:49
Forum: Community Discussion
Topic: Next generation name is FB++ ?
Replies: 64
Views: 1907

Re: Next generation name is FB++ ?

The chm file works fast here (linux). The only crappy thing here is my current viewer "xCHM", KDE's "KCHM" works better.
If it is slow, it is probably the virus scanner. Somehow Microsoft thought is was a good idea to make a 'Compiled Help File'.
by badidea
Jul 13, 2018 12:37
Forum: Beginners
Topic: Does FBIDE compile differently to other IDEs ?[solved]
Replies: 11
Views: 316

Re: Does FBIDE compile differently to other IDEs ?

Compile should only depend on compile options, not on what/who invokes the compiler.
There is probably a memory leak in the code, causing this difference.
by badidea
Jul 12, 2018 22:07
Forum: Projects
Topic: The island - An RTS game
Replies: 114
Views: 6107

Re: The island - An RTS game

Perhaps. But I can't really compare to other similar FB games, because I don't know so much. I can't run the executable (because of linux here) or compile (because of missing linux fmod lib), so I cannot judge how much functionality is in the game now. But if I look at your coding style, I does not...
by badidea
Jul 11, 2018 17:52
Forum: Projects
Topic: The island - An RTS game
Replies: 114
Views: 6107

Re: The island - An RTS game

0.5 MB bas file, that's a lot of code.

A nice open source (not in FreeBASIC) settlers like game is Widelands
by badidea
Jul 11, 2018 8:44
Forum: General
Topic: Saving top half ot array/stack
Replies: 6
Views: 139

Re: Saving top half ot array/stack

IchMagBier wrote:The lower part needs to be completly gone. I am saving the "history" of files (I don't know the right word for it. The text you can redo/undo via Ctrl+Z/Y) in that stack and I don't want it to grow to an infinite size.

Sounds like a "Circular buffer"
by badidea
Jul 09, 2018 21:50
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Back at pc. Last code does not print anything here. But still "tuut......tuuuuuuuuuuuut" where ..... is a short one time silence.
by badidea
Jul 02, 2018 18:17
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

I hope someone else can test, not near a computer for the next 10 days.
by badidea
Jun 27, 2018 23:09
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Here https://stackoverflow.com/questions/146 ... or-speaker they talk about snd_pcm_dump_sw_setup() to show details and tweaking a ~/.asoundrc file.
by badidea
Jun 27, 2018 21:23
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Yes, the sine wave I made sounds pretty good on both FBC 32bit and FBC 64bit. I'll try a different system... Different laptop (Samsung ultrabook series 5) Ubuntu 16.04 64-bit, FBC 64-bit 1.0.5: OK And a real beauty: Netbook, Samsung, Xubuntu 14.04 32-bit, FBC 32-bit 1.0.0: OK after short hick-up(?) ...
by badidea
Jun 27, 2018 19:56
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Check sawtooth, that's what I meant. Anyway, seems to produce sound here, which is nice.
I am reading this for better understanding.
by badidea
Jun 27, 2018 19:29
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

I think that triangle wave is not continues when between 2 buffers. Suggestion: const as integer N = 4096 dim as short Buffer(N-1) for i as integer=0 to N-1 step 2 Buffer(i)=(i mod 128) * 20 'L Buffer(i+1)=(i mod 128) * 20 'R next do ... or for i as integer=0 to N-1 step 2 Buffer(i) = (sin((i/100)*(...
by badidea
Jun 27, 2018 18:16
Forum: Linux
Topic: Help testing ALSA streaming
Replies: 18
Views: 430

Re: Help testing ALSA streaming

Aborting due to runtime error 6 (out of bounds array access) at line 393 of alsa.bas::()
With fbc32 -w all -exx -mt "alsa.bas"
If I ignore that, it does not sound well. Stuttering on fbc32 & fbc64
System: Ubuntu Mate 16.04 64-bit
by badidea
Jun 25, 2018 22:29
Forum: Community Discussion
Topic: Tutorials?
Replies: 29
Views: 743

Re: Tutorials?

I once tried to write a tutorial while making a game. I didn't get very far with the game and the tutorial stalled even earlier: https://nr100.home.xs4all.nl/badidea/tank_game_tut/tutorial_05.html Don't pay too much attention to the contents, typos and font size variations. It is funny to read now.

Go to advanced search