This patch has suddenly stopped loading?


#1

The inset is the sub patch, and the patch loaded fine until I connected a midi device [specifically a drum machine] to the midi in. It worked fine, I removed the drum machine, then this happened?

Since then I get this error message

Start compiling patch
BDIR = C:\Users\barry\DOCUME~1\axoloti/build
FIRMWARE = .
RM
APP
! C:\Users\barry\DOCUME~1\axoloti/build/xpatch.h.gch
. C:/Users/barry/Documents/axoloti/axoloti-factory/objects/osc/brds/brds_analog.h
C:\Users\barry\DOCUME~1\axoloti/build/xpatch.cpp: In member function 'void rootc::instanceSimpe_space_2_space_OSC::MidiInHandler(midi_device_t, uint8_t, uint8_t, uint8_t, uint8_t)':
C:\Users\barry\DOCUME~1\axoloti/build/xpatch.cpp:778:6: error: 'attr_mididevice' was not declared in this scope
if ( attr_mididevice > 0 && dev > 0 && attr_mididevice != dev) return;
^
C:\Users\barry\DOCUME~1\axoloti/build/xpatch.cpp:779:6: error: 'attr_midiport' was not declared in this scope
if ( attr_midiport > 0 && port > 0 && attr_midiport != port) return;
^
make: *** [C:\Users\barry\DOCUME~1\axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 1
Compiling patch failed ( C:\Users\barry\Documents\axoloti\patches\bouncy.axp )

Other patches are working fine!

Any ideas? Haven't altered the patch in any way!

Barry


#2

ok, this was not caused by you plugging something in... as its a compilation error.

Id need to test the patch to see whats going on... id guess something to do with the sub patch settings, possibly to do with midi selector being turned on/off? might be worth saving patch, then restarting axoloti, then load patch... to see if its some state glitch.

a more general point, this is not how you build polyphonic patches...
to be polyphonic, you need to all that you have in your main patch into the sub patch... since you need the midi/adsr and vcas all to have multiple instances.
have a look at File->Library->Factory->Demo->Synths->organ


#3

Sorry I haven't responded!

The board is working fine and I've sorted out the sub patching issue having done some research.

The patching video on YouTube is pretty misleading though [https://youtu.be/d7Xv99v1RwI]. Might want to take it down at some point as it's one of the first things that comes up if you search for "Axoloti tutorial" on Google.

Thanks for the all the help along the way. I do have other questions, but I'll post them in the proper forums when I've finished researching everything I need for this project

Have fun :slight_smile:

Barry


#4

what about it is misleading/confusing in particular?
perhaps @johannes could add annotations, if there are some things that are now out of date etc.

its a bit of a general problem with youtube videos for software, as the software gets updated so the videos become 'dated' , but its quite time consuming to create videos, so newer version are not forthcoming.

... Ive considered doing a series of videos on axoloti patching, but this is one of the reasons Ive been hesitant.

anyway, glad your up n running and patching away :slight_smile:


#5

Sounds like a good idea :slight_smile: sorry haven't replied or been here for a while, I've been setting up my studio. I've decided to keep it as open as possible, so I'm probably just going to put it in a box, maybe with a few rotary controllers, posibly get a second board to handle efects. I think it's mostly going to be controlled from my BeatStep Pro.