Search found 166 matches

by bojan.dosen
Jan 08, 2014 10:34
Forum: General
Topic: FFT algorithm - help [Solved]
Replies: 5
Views: 738

Re: FFT algorithm - help

Thank you! That's exactly what I was looking for! :)
by bojan.dosen
Jan 06, 2014 17:58
Forum: General
Topic: FFT algorithm - help [Solved]
Replies: 5
Views: 738

FFT algorithm - help [Solved]

Ok, I just want to transform from time domain data to frequency domain data. I found this FFT algorithm: https://cs.uwaterloo.ca/~kogeddes/cs487/LectureMaterials/Chapter_4_Materials/FFTalgorithm.pdf and translated it to FB: Function fft(A As Short Ptr, n As Integer, ByVal w As ULongInt) As Short Ptr...
by bojan.dosen
May 12, 2013 11:52
Forum: Tips and Tricks
Topic: GDI+ icon stack animation
Replies: 0
Views: 686

GDI+ icon stack animation

Here is example how to animate with GDI+. Compile Stack.bas and create folder named "icons". Put some PNG icons in folder and run application. > Zipped example < Stack.bas #Include Once "windows.bi" #Include Once "win/gdiplus.bi" #Define scrx 400 #Define scry 800 #Defin...
by bojan.dosen
May 06, 2013 22:24
Forum: Tips and Tricks
Topic: YouTube viewer
Replies: 2
Views: 859

Re: YouTube viewer

Hi there, Code is free to use, so you can change it whatever you want. :) When i use "/watch?v=" option instead "/v/", I get thick video control bar, and it resizes itself when you resize the window. I wanted to video start play immediately, so I added autoplay option. I forgot t...
by bojan.dosen
May 02, 2013 22:41
Forum: Tips and Tricks
Topic: YouTube viewer
Replies: 2
Views: 859

YouTube viewer

Here is simple example how to view YouTube videos in you application with using IE wrapper: iewrapper.bi #Include Once "windows.bi" '' '' IE Wrapper Class '' Type IID Data1 As UInteger Data2 As UShort Data3 As UShort Data4(7) As UByte End Type Type IUnknown QueryInterface As Function(ByVal...
by bojan.dosen
Apr 19, 2013 21:32
Forum: DOS
Topic: DOS COM files
Replies: 7
Views: 2487

Re: DOS COM files

Huh... okay. Thank you!
I needed to know that, so I will use assembly for that stuff then. I'm writing some kind of boot-loader which runs code from binary file (.bin, .com... whatever) in root folder and i thought that fb can help me to write that kind of code (for binary file ofc).
by bojan.dosen
Apr 18, 2013 18:40
Forum: DOS
Topic: DOS COM files
Replies: 7
Views: 2487

DOS COM files

Is it possible to create com files with FreeBASIC and how? Without exe header and other linked files, just binary code.
by bojan.dosen
Apr 13, 2013 9:54
Forum: General
Topic: Extended lib xml file problem
Replies: 4
Views: 405

Re: Extended lib xml file problem

Ok, thank you. I will wait for update.
by bojan.dosen
Apr 10, 2013 21:41
Forum: General
Topic: Extended lib xml file problem
Replies: 4
Views: 405

Extended lib xml file problem

I have some problems reading "unicode" hex code from xml attribute. Is this maybe bug? #include "ext/xml.bi" Dim As ext.xml.tree file file.load("file.xml") ? file.root->child("characters")->child("char", 0)->attribute("unicode") ... file.xm...
by bojan.dosen
Apr 08, 2013 16:35
Forum: Windows
Topic: MCI video overlay
Replies: 5
Views: 1816

Re: MCI video overlay

Thanks.
Yeah, it seems I would need to create new topmost transparent window over the video, with text in it.
by bojan.dosen
Apr 07, 2013 11:14
Forum: Windows
Topic: MCI video overlay
Replies: 5
Views: 1816

Re: MCI video overlay

Thanks. But I tried that. Problem is that there is a lot of flickering because video updates itself over and over again. I even tried with: Case WM_TIMER ... SendMessage(video, WM_SETREDRAW, TRUE, 0) ... SendMessage(video, WM_SETREDRAW, FALSE, 0) ... But then image just freezes a lot.
by bojan.dosen
Apr 04, 2013 20:51
Forum: Windows
Topic: MCI video overlay
Replies: 5
Views: 1816

MCI video overlay

Hi there, I need to display video file in child window so I'm using MCI. I tried to draw directly to child window in which video is displayed but there is lot of flickering and overlay image or text is barely visible. Then I tried to copy child window's device context into the new child window and t...
by bojan.dosen
Mar 24, 2013 11:50
Forum: Windows
Topic: Graphics library that won't suspend while being dragged?
Replies: 7
Views: 912

Re: fb v0.24 examples problems

Hi, You don't need to replace fbgfx. This bug can be fixed with custom window procedure and hidden fbgfx window. Custom procedure gets all pixels from fbgfx buffer and draw it back to visible window. When you drag window, it continues to paint itself. And also, you can re-size window as this is not ...
by bojan.dosen
Jan 08, 2013 19:52
Forum: Windows
Topic: Sound recording
Replies: 2
Views: 906

Re: Sound recording

That is exactly what I was looking for!
Thank you!
by bojan.dosen
Jan 06, 2013 12:39
Forum: Windows
Topic: Sound recording
Replies: 2
Views: 906

Sound recording

Hi, I was playing with this example for recording a sound form microphone: http://www.freebasic.net/forum/viewtopic.php?t=11127 and I tried to create an application that plays sound directly from microphone but I stuck. Here is my part of code: #Include Once "windows.bi" #Include Once &quo...

Go to advanced search