Search found 89 matches

by jmg
Aug 06, 2009 9:45
Forum: General
Topic: Delphi6 DLL to FB handling problems
Replies: 6
Views: 2726

Does this mean that the import library is missing? If so, how can we create it? The Osc_DLL.dll is downloaded from the link above. http://brnstin.googlepages.com/ This has Osc_DLL_DOC.txt in the zip, that has more Function calls info, I think the DLL needs to be present during compile, to correctly...
by jmg
Aug 05, 2009 2:11
Forum: General
Topic: Delphi6 DLL to FB handling problems
Replies: 6
Views: 2726

Great!! -
Cdecl looks like the magic word :)

Side question: I see the
#ifndef __OSCDLL_BI__
#define __OSCDLL_BI__


but if the main code uses

#include once "oscdll.bi"

can those #IFDEF be safely skipped
by jmg
Aug 04, 2009 23:50
Forum: General
Topic: Better way to emulate Oscilloscope display?
Replies: 24
Views: 4266

some updates: FMOD can read/record from the Sound channels. I also found a quite nice looking Oscilloscope as a Delphi DLL, http://brnstin.googlepages.com/ but have not quite nailed linking this into FB. (see other post) I can create & link a dummy FB_dll (.bas/.bi), but the same .bi & Delph...
by jmg
Aug 04, 2009 23:41
Forum: General
Topic: Delphi6 DLL to FB handling problems
Replies: 6
Views: 2726

Delphi6 DLL to FB handling problems

In trying to get FB to talk to a Delphi (6?) DLL, there are some strange messages, so I created a FB dummy replacement, and created my own tinydll to check the calls. Results are below: If I create a FB DLL using export, then the .BI works, and the DLL hookson as expected. If I remove export, I get ...
by jmg
Aug 03, 2009 23:23
Forum: Projects
Topic: VISG: visual and smart GUI builder
Replies: 107
Views: 79620

re Codge

Codge is a HOMYNYM of the root for cogitate, so it could be apt in that way as well ;)

cog·i·tate (kj-tt)
intr. & tr.v. cog·i·tat·ed, cog·i·tat·ing, cog·i·tates
To take careful thought or think carefully about; ponder. See Synonyms at think.
by jmg
Aug 02, 2009 5:13
Forum: Libraries Questions
Topic: fbsound to read from the sound pathway (other sources)
Replies: 3
Views: 1380

Why you need the number of playing sounds from other applications ? I want to measure external Audio (Mic or Line IN), so that means hook into 'record' the playing pathway - if fbsound cannot do this, that is a pity - as I was getting it to 'behave' quite well on generate Does FMOD allow this recor...
by jmg
Aug 01, 2009 5:22
Forum: Libraries Questions
Topic: fbsound to read from the sound pathway (other sources)
Replies: 3
Views: 1380

fbsound to read from the sound pathway (other sources)

fbsound has plenty of examples that start playing a file, and then listen to that, but no examples of how to listen to an external source. Trying the obvious fbs_Get_PlayingSounds() as integer Get the number of current playing sounds seems to not 'see' other sources sounds ? - it always reports 0, w...
by jmg
Jul 31, 2009 23:10
Forum: Sources, Examples, Tips and Tricks
Topic: Precision Tone generation using fbsound
Replies: 11
Views: 3254

you can't write the playpointer? Correct, I first tried a simple Read/Change one end slightly/write back as per your example, on all 3 pointers. bs_Get_SoundPointers(hSound,[@lpStart],[@lpPlay],[@lpEnd]) fbs_Set_SoundPointers(hSound,[lpStart],[lpPlay],[lpEnd]) , and it really lost the plot, until I...
by jmg
Jul 31, 2009 21:32
Forum: Sources, Examples, Tips and Tricks
Topic: Precision Tone generation using fbsound
Replies: 11
Views: 3254

you play a one second sound more than once (looping) now you can change lpStart and lpEnd while it plays. Thanks for the hint : I searched for those and found an example (Test26?) However a trial of the sample revealed attempts to write-back ALL pointers was erratic, and corrupted an 'unchanged' va...
by jmg
Jul 31, 2009 5:00
Forum: Sources, Examples, Tips and Tricks
Topic: Precision Tone generation using fbsound
Replies: 11
Views: 3254

Thanks for the reply, - I'm not trying to get too tricky here at all :) Simpler is better, and I'm right now trying to get the annoying clicks out of the system on a Buffer-Reload. Looping is now great, I've removed the clicks there, but 'new freq' change should ideally be clickless... Is there a li...
by jmg
Jul 31, 2009 2:11
Forum: Libraries Questions
Topic: fbsound quirks and details
Replies: 4
Views: 1385

Do you try the realtime pitchshifter on your own created waveforms ? Tried a merge of Test20, and Test05J, with some interesting effects: I did a 20 step triangle move in Frequency. It does vary the pitch, but it also had some strange amplitude variations, and some even more weird 'bounce' effects ...
by jmg
Jul 30, 2009 19:52
Forum: Libraries Questions
Topic: fbsound quirks and details
Replies: 4
Views: 1385

Thanks, I'll try that. The Stereo/Mono issue is behaving like a 'buried sticky bit' viz - the system is stereo most of the time, but as I run various Sound programs, it seems some can flip that to mono. It's not looking quite as predictable as I thought - do you know of any Libcalls that can set Mon...
by jmg
Jul 30, 2009 19:42
Forum: Sources, Examples, Tips and Tricks
Topic: Precision Tone generation using fbsound
Replies: 11
Views: 3254

test05.bas was a great starting point. Feel free to put that test05J into your bundle of files with fbsound :) I'll look at pitch shifter - I saw a couple of files that looked like they used that. I was thinking about changing frequencies next, perhaps on a LSB granularity, but also wanted to do tha...
by jmg
Jul 30, 2009 11:05
Forum: Libraries Questions
Topic: fbsound quirks and details
Replies: 4
Views: 1385

another update : I have posted the modified/tested code in Projects http://www.freebasic.net/forum/viewtopic.php?t=14251&highlight= and it seems the Stereo/Mono issue is still somewhat 'sticky'. The SW I thought always caused it, is not alone... seems others flick the mono switch as well. There ...
by jmg
Jul 30, 2009 10:59
Forum: General
Topic: Better way to emulate Oscilloscope display?
Replies: 24
Views: 4266

I've looked at the SW at http://www.qsl.net/dl4yhf/spectra1.html and it is quite impressive. A good link. It uses FFT for the frequency, and also averages, and so gives a useful comparison, and has one of the better FFT Digits/seconds I have seen. FFT however has variable error vs frequency which ma...