buzzchurch.com Forum Index The Buzz Congregation
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Peer machines for new Buzz
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    buzzchurch.com Forum Index -> The Monastery
View previous topic :: View next topic  
Author Message
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Wednesday November 12th, 2008 21:19    Post subject: Peer machines for new Buzz Reply with quote

I'm currently updating my peer library to work better with the new Buzz betas. For those who don't know, my peer library is the core of most of my peer machines, and also the peer machines by Kodream, Quence, Usr, Jmmcd, Kazuya, Intoxicat, IX, and possibly others I've forgotten. It's up to those developers to update their machines, but hopefully the process will be relatively quick and painless for them once I've done all the hard work Smile

So anyway, this archive contains updated versions of PeerChord, PeerCtrl, PeerLFO and PAL:

http://btdsys.lazytrap.com/remository?func=startdown&id=36

Please abuse them and let me know what problems you encounter. I'm particularly interested to know how well it works when multiple instances of these machines control each other, or when they control other "old" peer machines.

Caveats:
* This will only work in new buzz, because I'm too lazy to support legacy software. It also won't work in buze, but presumably (hopefully!) this is only temporary until libzzub catches up with the new buzz08 callbacks (if it hasn't already -- unfortunately trac.zeitherrschaft.org seems to be down so I couldn't check the present status).
* Requires VC++ 2005 runtimes (msvcr80.dll, msvcp80.dll, mfc80.dll) -- if you get LoadLibrary errors, try installing this.

Also, for devs, the new peerlib is here. The API docs should contain all the info you need.


Last edited by btd on Wednesday December 17th, 2008 14:09; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Domtron
Pope


Joined: 04 Feb 2006
Posts: 1078
Location: why?

PostPosted: Wednesday November 12th, 2008 22:37    Post subject: Reply with quote

Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message Visit poster's website
wayfinder
my afro is puffy what are you talking about


Joined: 08 Aug 2004
Posts: 1609
Location: Berlin, Germany

PostPosted: Wednesday November 12th, 2008 23:12    Post subject: Reply with quote

Yay!
_________________
wayfinder
Back to top
View user's profile Send private message Visit poster's website AIM Address
Hamst3r
Pope


Joined: 13 Aug 2004
Posts: 1127
Location: Los Angeles

PostPosted: Thursday November 13th, 2008 0:41    Post subject: Reply with quote

btdsys is a sexy man-animal. A maniseximal.
_________________
- Hamst3r
THA | Hamst3r.com | Myspace | Twitter | Podcast | Forum
Back to top
View user's profile Send private message Visit poster's website
mortal1
Archbishop


Joined: 08 Jun 2008
Posts: 584
Location: Seattle

PostPosted: Thursday November 13th, 2008 2:31    Post subject: Reply with quote

Hamst3r wrote:
btdsys is a sexy man-animal. A maniseximal.


Yeah he is.
Back to top
View user's profile Send private message
IX
Cardinal


Joined: 29 May 2005
Posts: 899
Location: mcr:uk

PostPosted: Thursday November 13th, 2008 10:50    Post subject: Reply with quote

You're a star.
Back to top
View user's profile Send private message
mcbpete
Monk


Joined: 18 Nov 2005
Posts: 406
Location: UK

PostPosted: Thursday November 13th, 2008 11:56    Post subject: Reply with quote

This has made me a very happy man !
Thankyou Dance
Back to top
View user's profile Send private message Visit poster's website
IX
Cardinal


Joined: 29 May 2005
Posts: 899
Location: mcr:uk

PostPosted: Thursday November 13th, 2008 12:15    Post subject: Reply with quote

Got a crash after loading an old file then starting a new one. I've narrowed it down to the following procedure:

1. open Buzz and create a PeerCtrl, save the song and exit.

2. Open Buzz, reload the song.

3. Create a new song and insert a PeerCtrl.

4. Insert any other machine (tried 4 gens and an effect) == crash

Edit: Working fine now. Taking abuse in good humour.


Last edited by IX on Thursday November 13th, 2008 17:13; edited 1 time in total
Back to top
View user's profile Send private message
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Thursday November 13th, 2008 12:46    Post subject: Reply with quote

d9 wrote:
Got a crash after loading an old file then starting a new one.


D'oh! I think I fixed it, please re-download.
Back to top
View user's profile Send private message Visit poster's website
80#080
Bishop


Joined: 18 Mar 2005
Posts: 279
Location: Irrpin UA

PostPosted: Thursday November 13th, 2008 13:09    Post subject: Reply with quote

Thank you so much! This is a HUGE relief and a boost in the workflow!

Cant wait till peerlfo and peerchord are due too.
_________________
+---repent---+
AMD Phenom 2 X3 + ECHO Mia


Last edited by 80#080 on Thursday November 13th, 2008 20:37; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
mute
Angel


Joined: 13 Aug 2004
Posts: 3385

PostPosted: Thursday November 13th, 2008 15:52    Post subject: Reply with quote

kick. ass. im so tired of my multi-peer chains breaking their targets Smile
_________________
http://www.lazytrap.com/
Back to top
View user's profile Send private message
ps
Choir Girl


Joined: 09 Nov 2004
Posts: 81
Location: coimbra / gaia

PostPosted: Thursday November 13th, 2008 18:10    Post subject: Reply with quote

any chance to embbed an OSC loader into that update? Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
McGrbv
Archbishop


Joined: 25 Jul 2006
Posts: 604
Location: The bog where are lots of common vipers

PostPosted: Thursday November 13th, 2008 19:12    Post subject: Reply with quote

Cool
_________________
Let's get a buzz from Buzz...


Last edited by McGrbv on Thursday November 13th, 2008 21:15; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tinga
Monk


Joined: 16 Feb 2005
Posts: 477
Location: Earth

PostPosted: Thursday November 13th, 2008 19:27    Post subject: Reply with quote

Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message Visit poster's website
mcbpete
Monk


Joined: 18 Nov 2005
Posts: 406
Location: UK

PostPosted: Thursday November 13th, 2008 21:41    Post subject: Reply with quote

Hmm, I'm not exactly sure what's going on. In the below bmx (I've linked this file in the past), PeerLFO seems to be 'talking' to PeerCTRL, and PeerCTRL seems to be altering the values, but PeerCTRL doesn't actually appear to actually control MTrk in any way ....

http://ilovecubus.co.uk/pete/yoshi.bmx

(In old Buzz it cycles pseudo randomly between the chords)

I can't quite follow where I've gone wrong....
Back to top
View user's profile Send private message Visit poster's website
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Thursday November 13th, 2008 22:38    Post subject: Reply with quote

mcbpete wrote:
PeerLFO seems to be 'talking' to PeerCTRL, and PeerCTRL seems to be altering the values, but PeerCTRL doesn't actually appear to actually control MTrk in any way ....


Yep, this is precisely the kind of problem that I'm aiming to fix. In this particular case, PeerLFO is the machine which will need to be updated to get things working properly.
Back to top
View user's profile Send private message Visit poster's website
mcbpete
Monk


Joined: 18 Nov 2005
Posts: 406
Location: UK

PostPosted: Thursday November 13th, 2008 22:44    Post subject: Reply with quote

Awesome stuff, I thought I was just going wrong somewhere. Looking forward to the progress on this awesome little thing !
Back to top
View user's profile Send private message Visit poster's website
tinga
Monk


Joined: 16 Feb 2005
Posts: 477
Location: Earth

PostPosted: Thursday November 13th, 2008 23:44    Post subject: Reply with quote

Seems (works really great, i'd try with a ten level chain of peerctrl and the delay is quasi=0!) to work faster than in the old buzz. (no inertia >0.3 needed like in the 1.5, actualy peer state need an inertia>0.3 to work)
Does it mean peer machines work better in the new buzz? with no delay, just few ms...
PeerCtrl was the first peer machine, PeerLfo the second, maybe the next update for this lovely machine?
my fear black out.
Thx for this miraculous update.
Back to top
View user's profile Send private message Visit poster's website
kibibu
Pope


Joined: 11 Mar 2005
Posts: 1379
Location: Ballarat, Victoria, Australia

PostPosted: Friday November 14th, 2008 4:37    Post subject: Reply with quote

you guys are crazy, my brain twists enough with one level of peer-indirection. I'd love to see peer connection visualization happen one of these days!
_________________

core i7 920, 6gb ram, windows 7
p4 2.4ghz, 1gb ram, xp home

kibibu
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jus tone
Altar Boy


Joined: 03 Oct 2004
Posts: 41

PostPosted: Friday November 14th, 2008 7:13    Post subject: Reply with quote

kibibu wrote:
I'd love to see peer connection visualization happen one of these days!


you mean something like BTDSys PAL?
Back to top
View user's profile Send private message
cellophanemonk
Cardinal


Joined: 04 Sep 2008
Posts: 985
Location: Lethbridge AB Canada

PostPosted: Friday November 14th, 2008 7:30    Post subject: Reply with quote

jus tone wrote:
kibibu wrote:
I'd love to see peer connection visualization happen one of these days!


you mean something like BTDSys PAL?


It doesn't seem to work in Newbuzz
_________________
Check out my group "Jeskola Buzz Buzzers" on facebook
Windows 7\
AMD Athlon 64 X2 6000+\2GB ram\8800gt\M-audio Ozonic
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Monday November 17th, 2008 12:51    Post subject: Reply with quote

Peer connection visualisation, eh? Well, alright. Oh, and I've updated PeerLFO as well.

http://btdsys.lazytrap.com/remository?func=startdown&id=36

PAL2 needs the new peer lib to tell it what's going on, so it will currently only show assignments for Ctrl and LFO. Also, it's now accessed through the right-click menu of supported peer machines. Also, I'm still using a pointer hack to determine machines' screen positions, so there is a small but nonzero chance that it will break in a future buzz build. If oskari were to add a callback for getting machine positions, however... How YOU doin?
Back to top
View user's profile Send private message Visit poster's website
tinga
Monk


Joined: 16 Feb 2005
Posts: 477
Location: Earth

PostPosted: Monday November 17th, 2008 13:00    Post subject: Reply with quote

Btd wrote:
Peer connection visualisation, eh? Well, alright. Oh, and I've updated PeerLFO as well.

Very Happy Very Happy LOL LOL LOL Dance Dance LOL LOL LOL Very Happy Very Happy
Back to top
View user's profile Send private message Visit poster's website
tinga
Monk


Joined: 16 Feb 2005
Posts: 477
Location: Earth

PostPosted: Monday November 17th, 2008 14:02    Post subject: Reply with quote

A lfo day for me...
The song of lfos in new buzz puts a big smile on my face.
lfo-->peerscale works now.
Great times!
Back to top
View user's profile Send private message Visit poster's website
IX
Cardinal


Joined: 29 May 2005
Posts: 899
Location: mcr:uk

PostPosted: Monday November 17th, 2008 15:03    Post subject: Reply with quote

Dance You so rock. How long before the library gets released?
Back to top
View user's profile Send private message
ags
Archbishop


Joined: 21 Aug 2004
Posts: 668
Location: UK

PostPosted: Monday November 17th, 2008 15:18    Post subject: Reply with quote

If anyone gets
Code:
---------------------------
ShowPAL
---------------------------
Failed to load Buzz\Gear\BTDSys PAL2.dll.
---------------------------
OK   
---------------------------

You need to install the VC++ runtimes linked in the first post.
New PeerLFO appears to load without it, but trying to select show PAL will let you know if you have what you need.
_________________
Buzz & clones builds RSS/Twitter
Nice Weather for Airstrikes
Back to top
View user's profile Send private message Visit poster's website
flat
Priest


Joined: 04 Sep 2004
Posts: 199

PostPosted: Monday November 17th, 2008 16:13    Post subject: Reply with quote

thank you, these a r e . G R E A T . n e w s, btdman - you are THE IT.

(we still calmly waiting, very very patiently, for the other peer machines to join this new generation)
Back to top
View user's profile Send private message
McGrbv
Archbishop


Joined: 25 Jul 2006
Posts: 604
Location: The bog where are lots of common vipers

PostPosted: Monday November 17th, 2008 16:48    Post subject: Reply with quote

Very Happy
_________________
Let's get a buzz from Buzz...
Back to top
View user's profile Send private message Visit poster's website
mortal1
Archbishop


Joined: 08 Jun 2008
Posts: 584
Location: Seattle

PostPosted: Monday November 17th, 2008 18:58    Post subject: Reply with quote

xoxo
Back to top
View user's profile Send private message
phekda
Deacon


Joined: 27 Sep 2008
Posts: 109
Location: Belgium

PostPosted: Monday November 17th, 2008 19:04    Post subject: Reply with quote

great news! keep up the good work...
thanks
Back to top
View user's profile Send private message MSN Messenger
cellophanemonk
Cardinal


Joined: 04 Sep 2008
Posts: 985
Location: Lethbridge AB Canada

PostPosted: Monday November 17th, 2008 20:52    Post subject: Reply with quote

Most of my songs using peerlfo, and peer ctrl are crashing, I'm getting this error message. I can load the song, and it will play for a few seconds.

Code:
AppName: buzz.exe    AppVer: 1.0.0.1    ModName: polac vst 1.1.dll.fixed
ModVer: 0.0.0.0    Offset: 000229fc


I also sometimes get MuteX errors

and sometimes this

Code:
Runtime Error!
Program I:\Jeskola Buzz\buzz.exe

This application has requested the runtime to terminate it in an unusual way.


I have VC++ 2008 express edition installed.

I haven't been able to detect any sort of pattern as to why I get different error messages, because I've gotten different ones with the same song.

I tried loading peerlfo, and peer ctrl in new songs, and it works, PAL and everything, and a couple songs using peerLFO do load and play without issue.

Hopefully someone knows whats going on. Anyone else had this happen or am I the only one?

Edit: after playing around some more, It seems that it is only crashing when loading a song saved before I updated the peermachines, and ones where I'm using the machine to control Polacs VST loader.[/b]
_________________
Check out my group "Jeskola Buzz Buzzers" on facebook
Windows 7\
AMD Athlon 64 X2 6000+\2GB ram\8800gt\M-audio Ozonic
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
tinga
Monk


Joined: 16 Feb 2005
Posts: 477
Location: Earth

PostPosted: Tuesday November 18th, 2008 3:38    Post subject: Reply with quote

New peer ctrl don't control other machines attributes, and it has only 3 attributes, the other version 1.5 has 4. and i've some trouble, is there 2 peerctrl 1.5 ? (one has 2 attributes and another 1.5 has 4), i'm tired...
Back to top
View user's profile Send private message Visit poster's website
mortal1
Archbishop


Joined: 08 Jun 2008
Posts: 584
Location: Seattle

PostPosted: Tuesday November 18th, 2008 4:41    Post subject: Reply with quote

tinga wrote:
New peer ctrl don't control other machines attributes, and it has only 3 attributes, the other version 1.5 has 4. and i've some trouble, is there 2 peerctrl 1.5 ? (one has 2 attributes and another 1.5 has 4), i'm tired...


Confirmed about machine attributes missing from assignment dialog.

Also, PAL shows all connections as "foo" Smile
Back to top
View user's profile Send private message
kibibu
Pope


Joined: 11 Mar 2005
Posts: 1379
Location: Ballarat, Victoria, Australia

PostPosted: Tuesday November 18th, 2008 4:50    Post subject: Reply with quote

There doesn't appear to be a non-hack way of setting attributes
_________________

core i7 920, 6gb ram, windows 7
p4 2.4ghz, 1gb ram, xp home

kibibu
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Tuesday November 18th, 2008 12:04    Post subject: Reply with quote

cellophanemonk wrote:
Most of my songs using peerlfo, and peer ctrl are crashing


Any chance you could let me see one of those bmxs?

tinga wrote:
it has only 3 attributes, the other version 1.5 has 4.


There was an attribute to turn "next tick" control changes on or off, but it's no longer needed (it was a workaround for a problem in oldbuzz -- my subtick control change hack didn't update slider positions). Removing attributes doesn't break compatibility, does it?

kibibu wrote:
There doesn't appear to be a non-hack way of setting attributes


Correct. I was going to mention it to oskari, but he's probably sick of getting feature requests from me Wink
Back to top
View user's profile Send private message Visit poster's website
mcbpete
Monk


Joined: 18 Nov 2005
Posts: 406
Location: UK

PostPosted: Tuesday November 18th, 2008 20:31    Post subject: Reply with quote

Ace, my songs are now working a charm. Many thanks btd !
Back to top
View user's profile Send private message Visit poster's website
oskari
yeah, seriously.


Joined: 08 Jun 2007
Posts: 402

PostPosted: Wednesday November 19th, 2008 0:30    Post subject: Reply with quote

btd wrote:

Correct. I was going to mention it to oskari, but he's probably sick of getting feature requests from me Wink


Just tell me what you need and I'll probably implement it. I really like what you are doing.
Back to top
View user's profile Send private message Visit poster's website
kibibu
Pope


Joined: 11 Mar 2005
Posts: 1379
Location: Ballarat, Victoria, Australia

PostPosted: Wednesday November 19th, 2008 0:50    Post subject: Reply with quote

oskari wrote:

Just tell me what you need and I'll probably implement it. I really like what you are doing.


I don't know exactly what btd needs, but PeerTune messes with attributes - it uses the available GetMachineInfo() to grab the attribute details, but then has to use a hack to get access to a CMachineInterface * for messing with AttrVals and to call AttributesChanged() directly.

I think I based it on btd's code originally.
_________________

core i7 920, 6gb ram, windows 7
p4 2.4ghz, 1gb ram, xp home

kibibu
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
btd
Cardinal


Joined: 13 Aug 2004
Posts: 778
Location: York, UK

PostPosted: Wednesday November 19th, 2008 1:35    Post subject: Reply with quote

oskari wrote:
Just tell me what you need and I'll probably implement it. I really like what you are doing.


Like kibibu described, all I need is a callback like
Code:
void ChangeAttribute(CMachine* pmac, int attribute, int value);

which sets AttrVals[attribute] = value and calls AttributesChanged.

Also:
btd wrote:
PAL [...] still using a pointer hack to determine machines' screen positions

Specifically, I mean the float x,y coordinates which are 164 and 168 bytes into CMachine. A couple of callbacks to retrieve those values would make PAL a bit more future-proof.

Thanks oskari Smile
Back to top
View user's profile Send private message Visit poster's website
kibibu
Pope


Joined: 11 Mar 2005
Posts: 1379
Location: Ballarat, Victoria, Australia

PostPosted: Wednesday November 19th, 2008 2:01    Post subject: Reply with quote

btd wrote:

Code:
void ChangeAttribute(CMachine* pmac, int attribute, int value);

which sets AttrVals[attribute] = value and calls AttributesChanged.

This really would be better as two steps though, like the ControlChangeImmediate/SendControlChanges combo
_________________

core i7 920, 6gb ram, windows 7
p4 2.4ghz, 1gb ram, xp home

kibibu
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    buzzchurch.com Forum Index -> The Monastery All times are GMT + 1 Hour
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group