| View previous topic :: View next topic |
| Author |
Message |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Wednesday November 12th, 2008 21:19 Post subject: Peer machines for new Buzz |
|
|
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
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 |
|
 |
Domtron Pope

Joined: 04 Feb 2006 Posts: 1078 Location: why?
|
Posted: Wednesday November 12th, 2008 22:37 Post subject: |
|
|
 |
|
| Back to top |
|
 |
wayfinder my afro is puffy what are you talking about

Joined: 08 Aug 2004 Posts: 1609 Location: Berlin, Germany
|
Posted: Wednesday November 12th, 2008 23:12 Post subject: |
|
|
Yay! _________________ wayfinder |
|
| Back to top |
|
 |
Hamst3r Pope
Joined: 13 Aug 2004 Posts: 1127 Location: Los Angeles
|
|
| Back to top |
|
 |
mortal1 Archbishop
Joined: 08 Jun 2008 Posts: 584 Location: Seattle
|
Posted: Thursday November 13th, 2008 2:31 Post subject: |
|
|
| Hamst3r wrote: | | btdsys is a sexy man-animal. A maniseximal. |
Yeah he is. |
|
| Back to top |
|
 |
IX Cardinal

Joined: 29 May 2005 Posts: 899 Location: mcr:uk
|
Posted: Thursday November 13th, 2008 10:50 Post subject: |
|
|
| You're a star. |
|
| Back to top |
|
 |
mcbpete Monk

Joined: 18 Nov 2005 Posts: 406 Location: UK
|
Posted: Thursday November 13th, 2008 11:56 Post subject: |
|
|
This has made me a very happy man !
Thankyou  |
|
| Back to top |
|
 |
IX Cardinal

Joined: 29 May 2005 Posts: 899 Location: mcr:uk
|
Posted: Thursday November 13th, 2008 12:15 Post subject: |
|
|
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 |
|
 |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Thursday November 13th, 2008 12:46 Post subject: |
|
|
| 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 |
|
 |
80#080 Bishop

Joined: 18 Mar 2005 Posts: 279 Location: Irrpin UA
|
Posted: Thursday November 13th, 2008 13:09 Post subject: |
|
|
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 |
|
 |
mute Angel
Joined: 13 Aug 2004 Posts: 3385
|
Posted: Thursday November 13th, 2008 15:52 Post subject: |
|
|
kick. ass. im so tired of my multi-peer chains breaking their targets  _________________ http://www.lazytrap.com/ |
|
| Back to top |
|
 |
ps Choir Girl

Joined: 09 Nov 2004 Posts: 81 Location: coimbra / gaia
|
Posted: Thursday November 13th, 2008 18:10 Post subject: |
|
|
any chance to embbed an OSC loader into that update?  |
|
| Back to top |
|
 |
McGrbv Archbishop

Joined: 25 Jul 2006 Posts: 604 Location: The bog where are lots of common vipers
|
Posted: Thursday November 13th, 2008 19:12 Post subject: |
|
|
 _________________ 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 |
|
 |
tinga Monk

Joined: 16 Feb 2005 Posts: 477 Location: Earth
|
Posted: Thursday November 13th, 2008 19:27 Post subject: |
|
|
 |
|
| Back to top |
|
 |
mcbpete Monk

Joined: 18 Nov 2005 Posts: 406 Location: UK
|
Posted: Thursday November 13th, 2008 21:41 Post subject: |
|
|
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 |
|
 |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Thursday November 13th, 2008 22:38 Post subject: |
|
|
| 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 |
|
 |
mcbpete Monk

Joined: 18 Nov 2005 Posts: 406 Location: UK
|
Posted: Thursday November 13th, 2008 22:44 Post subject: |
|
|
| Awesome stuff, I thought I was just going wrong somewhere. Looking forward to the progress on this awesome little thing ! |
|
| Back to top |
|
 |
tinga Monk

Joined: 16 Feb 2005 Posts: 477 Location: Earth
|
Posted: Thursday November 13th, 2008 23:44 Post subject: |
|
|
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 |
|
 |
kibibu Pope

Joined: 11 Mar 2005 Posts: 1379 Location: Ballarat, Victoria, Australia
|
Posted: Friday November 14th, 2008 4:37 Post subject: |
|
|
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 |
|
 |
jus tone Altar Boy
Joined: 03 Oct 2004 Posts: 41
|
Posted: Friday November 14th, 2008 7:13 Post subject: |
|
|
| kibibu wrote: | | I'd love to see peer connection visualization happen one of these days! |
you mean something like BTDSys PAL? |
|
| Back to top |
|
 |
cellophanemonk Cardinal
Joined: 04 Sep 2008 Posts: 985 Location: Lethbridge AB Canada
|
Posted: Friday November 14th, 2008 7:30 Post subject: |
|
|
| 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 |
|
 |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Monday November 17th, 2008 12:51 Post subject: |
|
|
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...  |
|
| Back to top |
|
 |
tinga Monk

Joined: 16 Feb 2005 Posts: 477 Location: Earth
|
Posted: Monday November 17th, 2008 13:00 Post subject: |
|
|
| Btd wrote: | | Peer connection visualisation, eh? Well, alright. Oh, and I've updated PeerLFO as well. |
 |
|
| Back to top |
|
 |
tinga Monk

Joined: 16 Feb 2005 Posts: 477 Location: Earth
|
Posted: Monday November 17th, 2008 14:02 Post subject: |
|
|
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 |
|
 |
IX Cardinal

Joined: 29 May 2005 Posts: 899 Location: mcr:uk
|
Posted: Monday November 17th, 2008 15:03 Post subject: |
|
|
You so rock. How long before the library gets released? |
|
| Back to top |
|
 |
ags Archbishop
Joined: 21 Aug 2004 Posts: 668 Location: UK
|
Posted: Monday November 17th, 2008 15:18 Post subject: |
|
|
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 |
|
 |
flat Priest

Joined: 04 Sep 2004 Posts: 199
|
Posted: Monday November 17th, 2008 16:13 Post subject: |
|
|
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 |
|
 |
McGrbv Archbishop

Joined: 25 Jul 2006 Posts: 604 Location: The bog where are lots of common vipers
|
Posted: Monday November 17th, 2008 16:48 Post subject: |
|
|
 _________________ Let's get a buzz from Buzz... |
|
| Back to top |
|
 |
mortal1 Archbishop
Joined: 08 Jun 2008 Posts: 584 Location: Seattle
|
Posted: Monday November 17th, 2008 18:58 Post subject: |
|
|
| xoxo |
|
| Back to top |
|
 |
phekda Deacon

Joined: 27 Sep 2008 Posts: 109 Location: Belgium
|
Posted: Monday November 17th, 2008 19:04 Post subject: |
|
|
great news! keep up the good work...
thanks |
|
| Back to top |
|
 |
cellophanemonk Cardinal
Joined: 04 Sep 2008 Posts: 985 Location: Lethbridge AB Canada
|
Posted: Monday November 17th, 2008 20:52 Post subject: |
|
|
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 |
|
 |
tinga Monk

Joined: 16 Feb 2005 Posts: 477 Location: Earth
|
Posted: Tuesday November 18th, 2008 3:38 Post subject: |
|
|
| 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 |
|
 |
mortal1 Archbishop
Joined: 08 Jun 2008 Posts: 584 Location: Seattle
|
Posted: Tuesday November 18th, 2008 4:41 Post subject: |
|
|
| 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"  |
|
| Back to top |
|
 |
kibibu Pope

Joined: 11 Mar 2005 Posts: 1379 Location: Ballarat, Victoria, Australia
|
Posted: Tuesday November 18th, 2008 4:50 Post subject: |
|
|
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 |
|
 |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Tuesday November 18th, 2008 12:04 Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
mcbpete Monk

Joined: 18 Nov 2005 Posts: 406 Location: UK
|
Posted: Tuesday November 18th, 2008 20:31 Post subject: |
|
|
| Ace, my songs are now working a charm. Many thanks btd ! |
|
| Back to top |
|
 |
oskari yeah, seriously.
Joined: 08 Jun 2007 Posts: 402
|
Posted: Wednesday November 19th, 2008 0:30 Post subject: |
|
|
| btd wrote: |
Correct. I was going to mention it to oskari, but he's probably sick of getting feature requests from me  |
Just tell me what you need and I'll probably implement it. I really like what you are doing. |
|
| Back to top |
|
 |
kibibu Pope

Joined: 11 Mar 2005 Posts: 1379 Location: Ballarat, Victoria, Australia
|
Posted: Wednesday November 19th, 2008 0:50 Post subject: |
|
|
| 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 |
|
 |
btd Cardinal

Joined: 13 Aug 2004 Posts: 778 Location: York, UK
|
Posted: Wednesday November 19th, 2008 1:35 Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
kibibu Pope

Joined: 11 Mar 2005 Posts: 1379 Location: Ballarat, Victoria, Australia
|
Posted: Wednesday November 19th, 2008 2:01 Post subject: |
|
|
| 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 |
|
 |
|