19 Jun '13 - 11:32 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 ... 6
1  Developments / BASS / Re: BASSMIDI - Playback using hardware or software-emulated synthesizer on: 5 Jul '12 - 03:59
i have no idea which Developer language you are using..
for the delphi i think the best is MidiFile2 and MidiPlayer2 written by silhwan hjun

see shot what i have do with it...

greets
ReplyReply Reply with quoteQuote
2  Developments / XMPlay / Re: XMPlay MIDI plugin on: 14 Jun '12 - 00:28
yes you are right

greets
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: An incorrect Version of Bass was loaded 2.3. instead of 2.4. on: 6 Jun '12 - 09:40
I am not sure, but tested it on my machine. It loaded correctly from the Libs-Folder, alternatively from the Exe-Folder, but not from the System-Folder (i copied Bass there). Maybe it is also unlikely
that the user has Bass in the system-folder because the Bass.dlls are not installed (i think). I will check that out.

you can change the path as your want ..
Sample!

        BassPath = "%Path%;" & Application.StartupPath & "\BassLib"
        Win32Api.SetEnvironmentVariable("Path", BassPath)

that always works for me

greets
ReplyReply Reply with quoteQuote
4  Developments / BASS / Re: An incorrect Version of Bass was loaded 2.3. instead of 2.4. on: 6 Jun '12 - 08:26
It uses the right path to the Libs/x86-Folder.

and you are sure that no further bass.dll exists in the system path of the user?

greets
ReplyReply Reply with quoteQuote
5  Developments / BASS / Re: ASIO and BassVis on: 13 Apr '12 - 12:46
translate of this code has no effect for you.
The code by Ian@un4seen has solved the problem.



Good
then I saved my work Smiley

greets
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: ASIO and BassVis on: 12 Apr '12 - 11:48
create a simple sample for me with YOUR problem and i will check it here on Win7 with latest BassVis do.
translate of this code has no effect for you.

Mediaportal used ASIO with BassVis without problem
Helium Music Manager used ASIO with BassVis without problem

so i have no idea what your do.

greets
ReplyReply Reply with quoteQuote
7  Developments / BASS / Re: ASIO and BassVis on: 11 Apr '12 - 10:52
procedure TMainForm.TimerFFTTimer(Sender: TObject);
begin
  ...
  BASS_ChannelGetData(Stream, @FFTData, BASS_DATA_FFT1024);
  ...
end

Why your use own fft Data for Winamp Plugin? I have no specified function for Winamp 
BassVis do this for you with

BASSVIS_RenderChannel(@mVisParam, Stream);

DO NOT USE THIS IN A TIMER OR SYNPROC.. only one call after BASSVIS_ExecutePlugin.
your timer function has no effect. (only for Sonique and Aimp Plugin) with

BASSVIS_AIMP2VIS_RenderStreamToDC
BASSVIS_SONIQUEVIS_RenderStreamToDC

for that use Messages instead of Timer see Sample2.
procedure TfrmMain.RenderProc(var Msg: TMessage);

greets
ReplyReply Reply with quoteQuote
8  Developments / BASS / Re: ASIO and BassVis on: 9 Apr '12 - 19:09
When i use ASIO and BassVis at the same time, the music becomes fast and has some noise, how can I avoid it?
When running xmplay with ASIO and xmp-WaVis, the same thing does not appear.

I can not reproduce..

greets
ReplyReply Reply with quoteQuote
9  Developments / BASS / Re: BASS_DSHOW Video Library on: 12 Oct '11 - 03:23
No NO... I am not...
I am awaiting 1 function more than 15 days Sad



you has buy the software?
when not! then make no trouble here and WAIT

greets
ReplyReply Reply with quoteQuote
10  Developments / BASS / Virtual Midi Piano on: 15 Sep '11 - 19:21
link in my signature

greets
ReplyReply Reply with quoteQuote
11  Developments / BASS / Re: BASS_DSHOW Video Library on: 8 Sep '11 - 04:47
oops.. changed
ReplyReply Reply with quoteQuote
12  Developments / BASS / Re: Problems to Use de Bass.Net C# Samples on: 8 Sep '11 - 04:12
you can set the Path self like this.. sniped

[DllImport("kernel32.dll", EntryPoint = "SetEnvironmentVariableA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int SetEnvironmentVariable(string lpName, string lpValue);
//  ...............
string BassPath;
BassPath = Path.Combine(Application.StartupPath, "BassLib");
SetEnvironmentVariable("Path", BassPath);

your path should then .. "bin\Debug\BassLib or bin\Release\BassLib"

copy bass.dll after SetEnvironmentVariable in the Folder "BassLib"

greets
ReplyReply Reply with quoteQuote
13  Developments / BASS / Re: Problems to Use de Bass.Net C# Samples on: 7 Sep '11 - 09:51
should be in Debug/Released Folder
ReplyReply Reply with quoteQuote
14  Developments / BASS / Re: Bass_Vis News and Released Infos on: 7 Sep '11 - 08:29
Bass_Vis v. 2.4.2.5

  • fixed:
    DLL Load function for Aimp2 Plugins if a different File Type as *.dll in plugin path
  • fixed:
    small Memory leak in Delphi Example


greets
ReplyReply Reply with quoteQuote
15  Developments / BASS / Re: Bass_Vis News and Released Infos on: 28 Aug '11 - 14:20
hi emil, i know english is not your first language so perhaps you mis-read my intentions.
I was just trying to let you know nicely and in private why i will not be continuing with trying to use BassVis and offering some information and help in case you thought it might be a problem with BassVis.
Seems you are absolutely sure it isnt a problem in BassVis so I'll leave it at that

You are right
Is not my native language Wink
But understood everything
--------------------
Ich habe kein Problem mit BassVis
Da funktioniert alles wie du an meinem ScreenShot sehen kannst.
Ich denke es ist ein Problem mit deiner Programmierung

gruss
-------------------
Translate with bing
I have no problem with BassVis
Since everything like you work most can see my ScreenShot.
I think it is a problem with your programming

greeting

ReplyReply Reply with quoteQuote
16  Developments / BASS / Re: Bass_Vis News and Released Infos on: 28 Aug '11 - 11:43
Quote
from stevenmmm
Quote
hi emil,
i know you dont want me to correspond by private message but i'm just letting you know i am almost at the point of giving up with this in case you are wondering why i dont give any more feedback.
I have things working really well for most of the plugins, except for two bassbox plugins (Inteference.dll and Vortex.dll). The other bassbox plugins work fine (eg. BassBoxSL.dll).
for Inteference.dll and Vortex.dll i get all sorts of strange behavior. For example, while things start out normally with them, when the screen is resized the window still shows and renders but the CPU goes up to 100% and becomes unresponsive to keys, and my app becomes unresponsive.
I can't reproduce this on your example so i'm not expecting it can be solved - I just dont know why its doing it only for those 2 plugins. And as such i can't proceed with using BassVis for my application for now. Just for your information all the BassBox plugins work fine with BassSfx so it might give some clues.
If you do want to look into this, i'm happy to run a debug version if that will help.

Quote
giving up with this
no prob for me Wink

Quote
except for two bassbox plugins (Inteference.dll and Vortex.dll).
then your should contact the Author of this plugin.

Quote
The other bassbox plugins work fine (eg. BassBoxSL.dll).
All Plugin used the some Function in Bassvis (no difference) also should work

Quote
when the screen is resized the window still shows and renders but the CPU goes up to 100% and becomes unresponsive to keys, and my app becomes unresponsive.
then any is wrong in your resize event (programmatically) by you Smiley
i can do with it in my application what i want without any prob and max 8% CPU (for this two plugin) when running my Television to the some time.

Quote
I just dont know why its doing it only for those 2 plugins
contact the Author

Quote
And as such i can't proceed with using BassVis for my application for now.

No prob for me.

Quote
Just for your information all the BassBox plugins work fine with BassSfx so it might give some clues.
then any is wrong programmatically by you Smiley

Quote
i'm happy to run a debug version if that will help.
why i should do this?
i have tell you do not send a privat message(mail) to me..

Edit: Pic Remove

greets
ReplyReply Reply with quoteQuote
17  Developments / BASS / Re: Bass_Vis News and Released Infos on: 27 Aug '11 - 13:58
thank you emil for the updated example, and i now have bassbox working.
One thing i cant get working is resizing a winamp visualisation. When the size of the panel needs to change, i dont know how to get the visualisation to resize. Using BASSVIS_Resize() works with the other plugins but not winamp ones.
Secondly, for fullscreen mode i know you said it can be acheived by double clicking on the panel, but in some cases i want to switch programmatically.

your should create a tmp variable for BASSVIS_PARAM in resize event

Dim myVisParam As BASSVIS_PARAM
----
  Case BASSVISKind.BASSVISKIND_WINAMP
  ----
    myVisParam.VisHandle = Panel.Handle
    myVisParam.Kind = BASSVISKind.BASSVISKIND_WINAMP
    ' Not the some as myVisParam.VisHandle
    If mVisParam.Vishandle <> 0 Then
        BassVis.BASSVIS_Resize(myVisParam , 0, 0, Panel.Width, Panel.Height)


now the plugin self should resize to your container when resize panel
that is only for Winamp all other Plugin to work like normal methode

       ' use default declare Param "mVisParam"
        Case BASSVISKIND_SONIQUE, BASSVISKIND_BASSBOX
            If mVisParam.Vishandle <> 0 Then
                BassVis.BASSVIS_Resize(mVisParam, 0, 0, Panel.Width, Panel.Height)

Quote
but in some cases i want to switch programmatically.
Not understand what your mean

i have programming BassVis for Winamp Plugin like Winamp self
so you can interact with him
Fullscreen.. see Winamp! work for plugin like you use doubleclick on the visualization Window
also what your whant to do? exactly so i can help..


Hmm is that what your want?

   Private Sub btnAMPFullScreen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAMPFullScreen.Click

        Dim nRect As Win32Api.Rect

        If mVisParam.VisHandle <> 0 Then
            ' turn Window Handle
            If myVisParam Is Nothing Then
                myVisParam = New BASSVIS_PARAM(BASSVISKind.BASSVISKIND_WINAMP)
            End If
            myVisParam.VisHandle = picPlgSource.Handle
            ' Set Fullcreen or not
            FullScreen = Not FullScreen

            If FullScreen Then
                'Set Picturebox invisible befor resize
                picPlgSource.Visible = False
                Win32Api.GetWindowRect(Win32Api.GetDesktopWindow, nRect)
                ' Set VisPort to DesktopWindow
                BassVis.BASSVIS_SetVisPort(mVisParam, _
                                    picPlgSource.Handle, _
                                    Win32Api.GetDesktopWindow, _
                                    0, _
                                    0, _
                                    nRect.Right, _
                                    nRect.Bottom)
                ' SetOnTop
                Win32Api.SetWindowPos(picPlgSource.Handle, HWND_TOPMOST, 0, 0, 0, 0, _
                                   Win32Api.SWP_NOACTIVATE Or Win32Api.SWP_NOSIZE Or Win32Api.SWP_NOMOVE)
                ' deactivate all input events for the Picturebox in Fullscreen mode
                picPlgSource.Enabled = False
                ' now resize Winamp plugin to new resolution
                BassVis.BASSVIS_Resize(myVisParam, 0, 0, nRect.Right, nRect.Bottom)
                ' show the Picturebox so you can see the visualization after resize
                picPlgSource.Visible = True
            Else
                ' move Picturebox on original position
                picPlgSource.Width = 338
                picPlgSource.Height = 240
                ' set VisPort back to Me
                BassVis.BASSVIS_SetVisPort(mVisParam, _
                                    picPlgSource.Handle, _
                                    Me.Handle, _
                                    483, _
                                    15, _
                                    picPlgSource.Width, _
                                    picPlgSource.Height)

                ' NoTopMost
                Win32Api.SetWindowPos(picPlgSource.Handle, HWND_NOTOPMOST, 0, 0, 0, 0, _
                                   Win32Api.SWP_NOACTIVATE Or Win32Api.SWP_NOSIZE Or Win32Api.SWP_NOMOVE)

                ' enable Picturebox so you has the input interact with Winamp Plugin again
                picPlgSource.Enabled = True
                ' Resizing Winamp Plugin
                BassVis.BASSVIS_Resize(myVisParam, 0, 0, picPlgSource.Width, picPlgSource.Height)
                ' refresh my Application Window
                Me.Refresh()
            End If
        End If

    End Sub

you can use this for Keys or other programmatically Wink
i think is not a good way manipulate interact with the plugins

greets
ReplyReply Reply with quoteQuote
18  Developments / BASS / Re: Bass_Vis News and Released Infos on: 26 Aug '11 - 21:27
download the archive again
I added the sample BassBox
for vb.net

greets
ReplyReply Reply with quoteQuote
19  Developments / BASS / Re: Bass_Vis News and Released Infos on: 26 Aug '11 - 16:47
emil, i am really pleased you are doing this and am now trying to incorporate into my app. However i have run into some problems with BassBox plugins. I have sent you a PM with some info


you has a problem?
i will see on the weekend and put a sample for it in VB.NET to..

greets
ReplyReply Reply with quoteQuote
20  Developments / BASS / Re: Bass_Vis News and Released Infos on: 25 Aug '11 - 23:35
Great job Emil

Thank you

OT:
And good news
I feel a little better
and there is progress

greets
ReplyReply Reply with quoteQuote
Pages: [1] 2 3 ... 6
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines