Search found 41 matches

by rgwan
Jun 25, 2012 6:34
Forum: Community Discussion
Topic: Could FBC has IDE in Linux?
Replies: 1
Views: 2025

Could FBC has IDE in Linux?

Could FBC has IDE in Linux?
To write GUI programs in command-line is too difficult……
I think GAMBAS 's IDE is good enough……to introducers ……
So……why not create a ide seems like VB/GAMBAS 's IDE?
by rgwan
Nov 06, 2011 12:51
Forum: Linux
Topic: How can I get all usable COM Port ?
Replies: 2
Views: 1108

How can I get all usable COM Port ?

Sub GetUsableCOM() 'Only Linux Dim Max_COM(15) As String Dim UsableCOM(15) As String Dim Bauds(7) As Integer Dim As Integer i,j Max_COM(0)= "/dev/ttyS0" Max_COM(1)= "/dev/ttyS1" Max_COM(2)= "/dev/ttyS2" Max_COM(3)= "/dev/ttyS3" Max_COM(4)= "/dev/tts/0&qu...
by rgwan
Oct 25, 2011 4:27
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

podvornyak wrote:E0xactly.
.....How can I get samples?
by rgwan
Oct 24, 2011 11:24
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

I want to make a midi synthesizer. it can change wave pitch and save sound in wave file.or play to speaker. oh.my english is very poor..... For a synthesiser you just need to generate the sound itself. Create an empty sound object and fill it with data (ie a sinus wave: frequency = tone height, amp...
by rgwan
Oct 24, 2011 11:23
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

I will only get 32 max.polyphone.So my program is not too fit into memory and cpu. For looping samples like that - IFAIK you have to load them into memory - or re-invent the wheel somehow. Like writing to disk and playback - perhaps like a looped tape recorder - or TRAM (circular memory in SBLive D...
by rgwan
Oct 23, 2011 9:58
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

I want to make a midi synthesizer.
it can change wave pitch and save sound in wave file.or play to speaker.
oh.my english is very poor.....
by rgwan
Oct 23, 2011 7:31
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

loops can come in basically in 2 flavors; if these loops are 'inter sample' as in "wavetable synthesis", to allow for an unlimited sustain to a sounds envelope; simply 'looping' (like described), while technically possible, is musically unusable. Look into 'wave table synthesis sample tun...
by rgwan
Oct 23, 2011 6:51
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

Here is my Huan le Song program. ' ############# ' # test7.bas # '############# ' example of: ' fbs_Set_PlugPath() ' fbs_Init() ' fbs_Get_PlugRate() ' fbs_Load_MP3File() ' fbs_Play_Wave() ' fbs_Set_SoundSpeed() !!! #libpath "../lib" #include "../inc/fbsound.bi" const plug_path = ...
by rgwan
Oct 23, 2011 6:10
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

Thanks. But I don't know who function can split wave and how to create WAVE file. For example: I have two WAVE file for piano. C1 and C2 I will use fbs_Set_SoundSpeed() to change the pitch to play "An die Freude" . For example. I get C#1 will use fbs_Set_SoundSpeed(hSnd,1/12 *2) I get D1 w...
by rgwan
Oct 22, 2011 5:45
Forum: Libraries Questions
Topic: How to use FBSound loop?
Replies: 18
Views: 6708

How to use FBSound loop?

for example,I have a wave file.
<-HEADER-><LOOP>
I want to get this effect.
first,play the Header section.
and play loop in the Loop section.
I probably to change the pitch.
So,how can i do.
by rgwan
Oct 03, 2011 12:30
Forum: Libraries & Headers
Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 242
Views: 92392

rgwan@rgwan-desktop:~/software/basic-program/KHS/fbsound0.12$ ./rebuildlib.sh build cpu layer build fbsound build plug alsa src/plug-alsa.bas(215) 错误 41: 变量未声明, alsa_pcm_drain_playback 在 'alsa_pcm_drain_playback _Me.hDevice' build plug dsp build plug arts ready! have fun with FreeBASIC and FBSound r...
by rgwan
Sep 10, 2011 8:49
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6305

I think default value on unix-like system must be dynamic. Typically only when built part of a distribution (since then you have dependancy control making sure the best libs are there) Otherwise you probably want static. But if a package has many fb program.You will know difference of static and dy...
by rgwan
Sep 10, 2011 8:40
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6305

I think default value on unix-like system must be dynamic. Typically only when built part of a distribution (since then you have dependancy control making sure the best libs are there) Otherwise you probably want static. but I think,in a have package manager linux.you can set the package depends on...
by rgwan
Sep 10, 2011 5:43
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6305

I think default value on unix-like system must be dynamic.
by rgwan
Sep 07, 2011 14:53
Forum: Beginners
Topic: How to use getenv()?
Replies: 6
Views: 1680

Thanks for help!