Search found 212 matches

by zylesea
Tue Jan 18, 2011 7:01 pm
Forum: General programming
Topic: Create bitmap from array
Replies: 1
Views: 2536

Create bitmap from array

How do I create a bitmap from an arry and plot that as a brush or sprite? Given I want to do some kind of oscilloscope I now draw lined from one sample point of my array to the next. For k=0 To 498 last_temp_o=temp_o m=k*5 temp_o=noise[m+2]+noise[m+4] temp_o=temp_o/4 Line (k+12, 180+temp_o,k+12,180+...
by zylesea
Wed Nov 24, 2010 9:29 pm
Forum: General programming
Topic: gapless sample replay - how to do?
Replies: 7
Views: 6129

gapless sample replay - how to do?

I am writing a program where I calulate some data and replay that as sample. But the replay is stuttering. Let's assume the basic layout of the program looks like that: Function p_DoSomethingComputingIntensive() ... [many operations]... EndFunction Function p_CalculateSample() For k=0 To 2499 noise[...