Axoloti TEST release 1.0.8


#83

Use axo_runtime_win-1.0.7.zip instead
The runtime did not change since several releases.


#84

will do, thanks! Looking forward to it!


#85

I'm loving the GitHub library integration.
Think I've found a bug though:

I tried adding a custom private GitHub-based library, with the same account details (but different repo URL) I use for uploading my custom objects to the Contrib repo.

After doing this, I restarted the Patcher. I could then no longer invoke the object-browser. I also couldn't turn off my new private library (or any of the other libraries, in fact) using the checkbox in the Patcher Preferences.

It was possible to remove the new library using the '-' button in the Patcher prefs, so I did this and all was well once again.

I got a load of red error messages in the console, which I didn't copy, unfortunately. I will try doing the same thing again, and grab the error output.

a|x


#86

Here's the log.

Sync Successful : factory (1.0.8,anon)
Sync Successful : community (master,toneburst)
Sync (pull) FAILED : toneburst.Private (master,toneburst)
org.eclipse.jgit.api.errors.RefNotAdvertisedException: Remote origin did not advertise Ref for branch master. This Ref may not exist in the remote or may be hidden by permission settings.
org.eclipse.jgit.api.errors.RefNotAdvertisedException: Remote origin did not advertise Ref for branch master. This Ref may not exist in the remote or may be hidden by permission settings.
	at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:294)
	at axoloti.utils.AxoGitLibrary.pull(AxoGitLibrary.java:180)
	at axoloti.utils.AxoGitLibrary.sync(AxoGitLibrary.java:104)
	at axoloti.menus.FileMenu.jMenuSyncActionPerformed(FileMenu.java:260)
	at axoloti.menus.FileMenu.access$400(FileMenu.java:49)
	at axoloti.menus.FileMenu$5.actionPerformed(FileMenu.java:132)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
	at java.awt.MenuItem.processEvent(MenuItem.java:628)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

search path : /Users/adrin009/Documents/axoloti/axoloti-factory/objects
search path : /Users/adrin009/Documents/axoloti/objects
search path : /Users/adrin009/Documents/axoloti/axoloti-contrib/objects
search path : /Users/adrin009/Documents/axoloti/toneburst.private/objects
finished loading objects

a|x


#87

check that your private repo has a master branch.
if your using a different branch then you will need to put this in revision.

(also check your permission settings, if its not authenticated properly it may be it cannot access the branch)


#88

Will try that, thanks.

a|x


#89

Tried 1.0.8, running on Debian Jessie.

Two major things so far: One thing is that changing code in the object editor doesn't seem to have any effect. With 1.0.6 I could just change anything, reload the patch, and the change would take effect.

Secondly, when trying to create a polyphonic patch, using the description in the Axoloto Synthesis Tutorial on youtube (https://www.youtube.com/watch?v=d7Xv99v1RwI), I get a bunch of compilation errors in the console window (and the patch refuses to load, needless to say). Thought I'd saved the error log, but it appears not; I can create a new one if necessary.


#90

the object editor is a little broken in 1.0.8, but Ive already committed fixes for it in development.
(quite a few changes required)

I've been running poly patches, so yeah I think Id need to see errors,
or perhaps you can just post the patch with the issue here.


#91

hi there,
I'm also having problems to add to the contributor's library right now...
I moved to a new computer,so I entered my git accounts data and hit 'init'.
now,things don't work anymore.
here's the log:

Link to firmware CRC A50E988A
Status: factory (1.0.8,anon) : OK ( 1.0.8,dirty )
Changes for: factory (1.0.8,anon)
untracked: patches/mono_looper1.axp
Status : home : OK
USB device found
not accesseable : -12
USB device found
connected
Authentic Axoloti Core
Firmware version: 1.0.0.1, crc=0xA50E988A, entrypoint=0x20011000
Sync (pull) FAILED : community (master,rbrt23)
org.eclipse.jgit.api.errors.NoHeadException: Pull on repository without HEAD currently not supported
org.eclipse.jgit.api.errors.NoHeadException: Pull on repository without HEAD currently not supported
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:197)
at axoloti.utils.AxoGitLibrary.pull(AxoGitLibrary.java:180)
at axoloti.utils.AxoGitLibrary.sync(AxoGitLibrary.java:104)
at axoloti.dialogs.AxolotiLibraryEditor.jSyncBtnActionPerformed(AxolotiLibraryEditor.java:426)
at axoloti.dialogs.AxolotiLibraryEditor.access$500(AxolotiLibraryEditor.java:29)
at axoloti.dialogs.AxolotiLibraryEditor$6.actionPerformed(AxolotiLibraryEditor.java:209)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1673)
at java.awt.Component.setVisible(Component.java:1625)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at axoloti.dialogs.AxolotiLibraryEditor.(AxolotiLibraryEditor.java:53)
at axoloti.dialogs.PreferencesFrame.editLibraryRow(PreferencesFrame.java:573)
at axoloti.dialogs.PreferencesFrame.jEditLibActionPerformed(PreferencesFrame.java:556)
at axoloti.dialogs.PreferencesFrame.access$1100(PreferencesFrame.java:40)
at axoloti.dialogs.PreferencesFrame$13.actionPerformed(PreferencesFrame.java:314)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Saving preferences...
preferences path : C:\Users\rbrt\Documents\axoloti\axoloti.prefs


#92

sorry for posting all that unformatted error-crap..

anyway,it looks like hitting 'init' in 'preferences/git/community' messed things
up severely-
afterwards, axoloti wouldn't connect on startup of the axoloti app anymore,
and I couldn't create new objects anymore.
I reinstalled the axoloti app and trashed all it's data,now I'm fine again.
syncing also works again as expected.


#93

Ive fixed an issue with this in development, so 1.0.9 should be ok.

basically windows could not re-init correctly as it was not closing the repository correctly.
its only an issue when you try to re-init it.

iirc, you can work around by... deleting the offending repo directory
axoloti home / axoloti-contrib and restart axoloti.
obviously make sure you back up any changes you have made in the directory first...

only an issue on windows which is why I hadn't spotted it before - I do my dev work, and general playing with axoloti on mac OS X, only test occasionally on windows - though johanness does the opposite, so we usually should catch issues on both between us, this slipped though the net :wink:


#94

Here are the patch files. The error message I get is:

Generate code complete
Start creating directory on sdcard : /polysynth
creating dir: /polysynth
Done creating directory
Changing working directory on sdcard : /polysynth
Axoloti says: file error: FR_NOT_ENABLED, filename:"/polysynth"
Change working directory: /polysynth
Done changing working directory
Start compiling patch
Axoloti says: file error: FR_NOT_ENABLED, filename:"/polysynth"
Compiling patch... with /opt/Axoloti/app/firmware
BDIR = /home/ricard/axoloti/build
FIRMWARE = .
RM
rm -f /home/ricard/axoloti/build/xpatch.o /home/ricard/axoloti/build/xpatch.elf /home/ricard/axoloti/build/xpatch.bin /home/ricard/axoloti/build/xpatch.d /home/ricard/axoloti/build/xpatch.map /home/ricard/axoloti/build/xpatch.lst
APP
arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -H -I/opt/Axoloti/app/CMSIS/Include -I/opt/Axoloti/app/chibios/os/ports/common/ARMCMx/CMSIS/include -I/opt/Axoloti/app/chibios/os/ports/common/ARMCMx -I/opt/Axoloti/app/chibios/os/ports/GCC/ARMCMx -I/opt/Axoloti/app/chibios/os/ports/GCC/ARMCMx/STM32F4xx -I/opt/Axoloti/app/chibios/os/kernel/include -I/opt/Axoloti/app/chibios/os/hal/include -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32F4xx -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/GPIOv2 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/I2Cv1 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/OTGv1 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/RTCv2 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/SPIv1 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/TIMv1 -I/opt/Axoloti/app/chibios/os/hal/platforms/STM32/USARTv1 -I/opt/Axoloti/app/chibios/boards/ST_STM32F4_DISCOVERY -I/opt/Axoloti/app/chibios/ext/fatfs/src -I. -I/opt/Axoloti/app/chibios -Winvalid-pch -MD -MP --include /home/ricard/axoloti/build/xpatch.h -c /home/ricard/axoloti/build/xpatch.cpp -o /home/ricard/axoloti/build/xpatch.o
! /home/ricard/axoloti/build/xpatch.h.gch
/home/ricard/axoloti/build/xpatch.cpp: In member function 'void rootc::instancesimplesynth__1::voice::instancekeyb__1::MidiInHandler(midi_device_t, uint8_t, uint8_t, uint8_t, uint8_t)':
/home/ricard/axoloti/build/xpatch.cpp:482:14: error: 'class rootc::instancesimplesynth__1::voice' has no member named 'GetModulationTable'
&parent->GetModulationTable()[parent->MODULATOR_instancekeyb__1_velocity*NMODULATIONTARGETS],
^
/home/ricard/axoloti/build/xpatch.cpp:488:14: error: 'class rootc::instancesimplesynth__1::voice' has no member named 'GetModulationTable'
&parent->GetModulationTable()[parent->MODULATOR_instancekeyb__1_note*NMODULATIONTARGETS],
^
/home/ricard/axoloti/build/xpatch.cpp:499:14: error: 'class rootc::instancesimplesynth__1::voice' has no member named 'GetModulationTable'
&parent->GetModulationTable()[parent->MODULATOR_instancekeyb__1_releasevelocity*NMODULATIONTARGETS],
^
Makefile.patch:58: recipe for target '/home/ricard/axoloti/build/xpatch.bin' failed
make: *** [/home/ricard/axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 2
Compiling patch failed ( /home/ricard/polysynth.axp )

I guess I should get my act together and try building the development version.

simplesynth.axs (5.7 KB)polysynth.axp (818 Bytes)


#95

this bug is present in the development version as well..
@johannes looks like a sub patch doesnt have a modulation table generated, perhaps due to the modulation refactoring?


#96

I can't seem to sync my custom GitHub library.

The Patcher console doesn't display any errors, but I can't sync in either direction. New files in my local folder don't get uploaded to GitHub, and files added manually to the GitHub repo don't get downloaded to my machine when I sync from the Patcher.

Here's the entry from the log, after attempting to sync:

Sync Successful : factory (1.0.8,anon)
Sync Successful : community (master,toneburst)
Sync Successful : axoloti.private (master,toneburst)
search path : /Users/alx/Documents/axoloti/axoloti-factory/objects
search path : /Users/alx/Documents/axoloti/objects
search path : /Users/alx/Documents/axoloti/axoloti-contrib/objects
search path : /Users/alx/Documents/axoloti/toneburst.private/objects
finished loading objects

And there's my settings in the Patcher prefs:

I tried Initing the library, and syncing using the Sync button in the prefs, as above. No effect.
My GitHub repo does have a Master branch.

I have a suspicion it's to do with my using the same GitHub account for both my private library and the Contrib library, but this shouldn't break things, as it must be quite a common scenario, I'd have though.

Any ideas?

a|x


#97

no idea... as from the above, everything is correct, there is no error.

but no, the two things are completely unrelated. as far as the code is concerned the url being similar/pointing to the same server is irrelevant.
also I will point out that , I have both the contrib and factory (both hosted on github) against my account (as I'm able to contribute to factory), and do not have an issue.

have you checked the directory does not contain your object?
if its got the same name/uuid then the object browser will not be able to show both.

note: there is little I can do to support private reports, as I have no access (and frankly, not the time either), the code is tested, as I've illustrated in my video... and of course, its the same code that is working for both factory and contrib.


#98

If it's not working for me, then there's a good chance it will fail for others, too, I'd have thought.

a|x


#99

It's not a question of the Browser not showing the object

When I put a new object in the local directory, it doesn't get uploaded to my GitHub repo.

If I manually add the .axo to the remote repo, and remove it from the local directory, it's not copied back down when I attempt to sync.

Syncing isn't working in either direction for my private repo (though it works fine for Factory and Contrib libraries).

UUID, SHA are unique.

a|x


#100

But I've no reports of it not working , and it does work for me as I explained. ... I can test again but don't have time at the moment

Does the local directory look like a git repo , does git command line tools work on it?

I assume you have done the obvious and checked your password etc and done an init


#101

Yep, done that. It'a the same account details that work for the Contrib library.

I'll try some more tests when I get home.

If I can't get it to work, I will just use GitHub Desktop to sync the local directory with my GitHub repo.

thanks, and sorry to be a pain. I know you're busy.

a|x


#102

I know what your doing wrong!

you have added a contributor prefix, that means your objects/patches have to be in a subdirectory with that prefix. like you have in the community library.
I notice in your github repo, you are not doing this, so my guess is your probably not doing the on your local machine either.

you don't have to have this prefix if you don't want to.. its only a requirement for the community library, as a way to stop users trashing each others objects :smile:

you will see in my video I do have it, but thats because, I like to have the same structure as the library, so when I move them from private to contributor the name doesnt change, and so existing patches work.

this actually becomes less important in the next version, as by default we use the UUID, which now does not include the name/directory structure - but I still think its not a 'bad practice', but its up to the user.