Search found 10 matches

by hub73
Tue Aug 09, 2022 8:50 pm
Forum: Coding Questions
Topic: Get MIDI Pad Keypressed
Replies: 7
Views: 1291

Re: Get MIDI Pad Keypressed

Thanks. Have you some code to detect and choose the MIDI device ?
by hub73
Sat Aug 06, 2022 7:00 am
Forum: Coding Questions
Topic: Get MIDI Pad Keypressed
Replies: 7
Views: 1291

Re: Get MIDI Pad Keypressed

Have you tried to light a pad button from purebasic ?
by hub73
Fri Aug 05, 2022 9:51 pm
Forum: Coding Questions
Topic: Get MIDI Pad Keypressed
Replies: 7
Views: 1291

Re: Get MIDI Pad Keypressed

Many thanks for your code blueb. It works too with mine midi controler !
by hub73
Wed Aug 03, 2022 12:47 am
Forum: Coding Questions
Topic: Get MIDI Pad Keypressed
Replies: 7
Views: 1291

Get MIDI Pad Keypressed

Hello.
i've an Eagletone Tinypad PAD USB connected to my PC (Windows 10)
I only want to determine which key (pad) is pressed to trigger a sound in my web radio program. (without velocity). Do you have a recent code snippet to do this ? I searched the forum but nothing really worked in my case. Thank ...
by hub73
Mon Mar 14, 2022 9:05 am
Forum: Coding Questions
Topic: Record card sound output with Bass library
Replies: 0
Views: 475

Record card sound output with Bass library

Hello everybody !
Do you have some code to record the current card sound output to a wav (or ogg file) with Bass Library ? i've this vb code from the un4ssen doc. But i find nothing into my pbi files for purebasic about a 'WaveWriter' function So i can't translate the following code to purebasic ...
by hub73
Mon Feb 28, 2022 1:32 am
Forum: Coding Questions
Topic: Bass library, VST and IceCast
Replies: 6
Views: 1040

Re: Bass library, VST and IceCast

it works. Thanks to all the coders for their great help !



Procedure.s StringToANSI(s.s)

#AutoLength=-1
Protected buffer.s
buffer=Space(StringByteLength(s,#PB_Ascii))
PokeS(@buffer,s,#AutoLength,#PB_Ascii)

ProcedureReturn buffer

EndProcedure
Procedure Son_desactiver_vst()

BASS_VST ...
by hub73
Fri Feb 25, 2022 11:55 pm
Forum: Coding Questions
Topic: Bass library, VST and IceCast
Replies: 6
Views: 1040

Re: Bass library, VST and IceCast

Could you help me with the pbi :

Prototype.l BASS_Encode_CastInit(handle.l, server.p-utf8, pass.p-utf8, content.p-utf8, name.p-utf8, url.p-utf8, genre.p-utf8, desc.p-utf8, headers.p-utf8, bitrate.l, pub.l)

from here :
http://www.un4seen.com/doc/#bassenc/BASS_Encode_CastInit.html

to convert ...
by hub73
Fri Feb 25, 2022 9:53 am
Forum: Coding Questions
Topic: Bass library, VST and IceCast
Replies: 6
Views: 1040

Re: Bass library, VST and IceCast

i've this into the pbi : Prototype.l BASS_Encode_CastInit(handle.l, server.p-utf8, pass.p-utf8, content.p-utf8, name.p-utf8, url.p-utf8, genre.p-utf8, desc.p-utf8, headers.p-utf8, bitrate.l, pub.l)

with @MonServeur, i've 'incorrect parameter, string is expected
by hub73
Fri Feb 25, 2022 9:43 am
Forum: Coding Questions
Topic: Bass library, VST and IceCast
Replies: 6
Views: 1040

Re: Bass library, VST and IceCast

all ideas are good for me ! i'll test that. Do you mean that i must modify to long inside the pbi files too ? Thanks Mike.
by hub73
Fri Feb 25, 2022 12:20 am
Forum: Coding Questions
Topic: Bass library, VST and IceCast
Replies: 6
Views: 1040

Bass library, VST and IceCast

Hello !

My project is a french webradio : Radio Les Floralies.

i'm trying to use Bass library, include stereotool vst too. And next broadcast to my icecast server inside my purebasic program.

But it's difficult to understand what's wrong today inside my code.

You can see my post inside the BASS ...