Re: [Faudiostream-users] Web IDE VST output on Mac (codesign issues)

2023-07-16 Thread Seth Shafer
Thank you Stéphane and Henrik.

I'm pasting a Reaper crash log at the end of this email. This is from a
crash just now for a Faust web IDE plugin named "sinewave.vst." This is
after I ran the codesign correction scripts from my first message.

I saw the JSFX export option and I'll check it out. However, I think
students will be less impressed with that compared to making VSTs or AUs.

VST3 would be great too and JUCE is a possibility. But it would be even
better for these undergraduates if the web IDE's VST output worked for Mac.

-Seth

-
Translated Report (Full Report Below)
-

Process:   reaper_host_x86_64 [92589]
Path:  /Applications/REAPER.app/Contents/Plugins/
reaper_host_x86_64.app/Contents/MacOS/reaper_host_x86_64
Identifier:com.cockos.reaperhostx8664
Version:   6.80.0_d140e13u (6.80.0_d140e13u)
Code Type: X86-64 (Translated)
Parent Process:REAPER [92588]
Responsible:   REAPER [92586]
User ID:   1116670758

Date/Time: 2023-07-16 12:42:07.0918 -0500
OS Version:macOS 13.2.1 (22D68)
Report Version:12
Anonymous UUID:036D35E7-C2F0-9378-18F0-9DE815450FCA

Sleep/Wake UUID:   14C58374-0B2F-41FF-AE3E-F12E9BE78A2F

Time Awake Since Boot: 35 seconds
Time Since Wake:   904 seconds

System Integrity Protection: enabled

Crashed Thread:0  */br_s  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:   0x0001, 0x

Termination Reason:Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [92589]

Thread 0 Crashed:: */br_s Dispatch queue: com.apple.main-thread
0   sinewave 0x10b581327 VSTPluginMain + 23
1   reaper_host_x86_64   0x102e3c9f3
VST_BridgeSlaveHost::Create(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*) + 141
2   reaper_host_x86_64   0x102e3aac8
DispatchConMsg(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*, bool) + 170
3   reaper_host_x86_64   0x102e3acba
RunMainThreadQueue(SHM_MsgReplyConnection*) + 82
4   reaper_host_x86_64   0x102e44a0b
SHM_MsgReplyConnection::RunInternal(int,
SHM_MsgReplyConnection::WaitingMessage**) + 477
5   reaper_host_x86_64   0x102e3b772 main + 407
6   dyld 0x20323f310 start + 2432

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime  0x7ff7ffcd9614 0x7ff7ffcd5000 + 17940
1   runtime  0x7ff7ffce5530 0x7ff7ffcd5000 + 66864
2   runtime  0x7ff7ffce6f30 0x7ff7ffcd5000 + 73520

Thread 2:
0   runtime  0x7ff7ffcf787c 0x7ff7ffcd5000 + 141436


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00010b581310  rbx: 0x000102e3ca8a  rcx: 0x
 rdx: 0x
  rdi: 0x  rsi: 0x0001  rbp: 0x00030a166690
 rsp: 0x00030a166680
   r8: 0x   r9: 0x01ff  r10: 0x18a0
 r11: 0x63ecb0f0
  r12: 0x632c1200  r13: 0x00013df0cfb0  r14: 0x7fdb6e1045d0
 r15: 0x
  rip:rfl: 0x0202
 tmp0: 0x00010b581327 tmp1: 0x8548d3ffc057f8c5 tmp2: 0x00e8df89481f74c0


Binary Images:
   0x10b58 -0x10b5acfff sinewave (1.0.0)
<1eb0c9b8-b980-3ab8-9777-32af66d420c3> /Users/USER/Desktop/*/sinewave
   0x102e36000 -0x102e51fff com.cockos.reaperhostx8664
(6.80.0_d140e13u) <676dd667-1475-3c7f-b480-b1ae6e96d64b>
/Applications/REAPER.app/Contents/Plugins/
reaper_host_x86_64.app/Contents/MacOS/reaper_host_x86_64
   0x203239000 -0x2032d0fff dyld (*)
 /usr/lib/dyld
0x7ff7ffcd5000 - 0x7ff7ffd04fff runtime (*)
 /usr/libexec/rosetta/runtime

External Modification Summary:
  Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
  Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
  Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=380.1M resident=0K(0%)
swapped_out_or_unallocated=380.1M(100%)
Writable regions: Total=824.8M written=0K(0%) resident=0K(0%)
swapped_out=0K(0%) unallocated=824.8M(100%)

VIRTUAL   REGION
REGION TYPESIZECOUNT (non-coalesced)
=== ===  ===
Activity Tracing   256K1
Kernel Alloc Once8K1
MALLOC   163.2M   16
MALLOC guard page   96K4
MALLOC_MEDIUM (reserved) 120.0M1 

[Faudiostream-users] Web IDE VST output on Mac (codesign issues)

2023-07-15 Thread Seth Shafer
Hi all,

I'm prepping materials for teaching FAUST this Fall and attempted to export
a VST via the web IDE. The resulting plugin triggered codesign errors on my
MacOS 13.2.1. I tried the typical terminal commands to remedy:

sudo xattr -cr PLUGIN.vst
sudo xattr -r -d com.apple.quarantine PLUGIN.vst
sudo codesign --force --deep --sign PLUGIN.vst

Following this, I opened Reaper and re-scanned, resulting in a crash of the
vst host, plugin still not showing up.

Does anyone have any suggestions for building audio plugins on the current
MacOS using the web IDE export options? (Hoping to find a web IDE solution
since this is in a lab where students do not have admin privileges.)

Thanks.
-Seth
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [scale:log] / [scale:exp] behaviour in faustIDE vs. faust2caqt

2021-08-30 Thread Seth Shafer
Is the [scale:xx] attribute working in the IDE yet? I was able to get it
working a couple weeks ago, then this week the same code seems to break
functionality:

vol=hslider("Volume[style:knob][scale:log]",0,-70,0,0.01);
process=vol;

Strangely, the slider works at https://faust.grame.fr/ide/, but not at
https://faustide.grame.fr/.

Any help would be greatly appreciated!



On Wed, Jan 20, 2021 at 6:43 AM Till Bovermann  wrote:

> according to stéphane (via slack), currently implemented as [scale:XXX]
> for the C++ interface:
>
> ```
> hslider("name[scale:linear]", [...]); // default
> hslider("name[scale:exp]", [...]); // exponential
> hslider("name[scale:log]", [...]); // logarithmic, atm. not implemented in
> Web IDE
> ```
>
> implementations are in
>
> https://github.com/grame-cncm/faust/blob/master-dev/architecture/faust/gui/ValueConverter.h
>
> ```
> (
> ValueConverter
> LogValueConverter
> ExpValueConverter
> )
> ```
>
> cheers
> Till
>
>
> --
> Till Bovermann
>
> https://tai-studio.org | http://lfsaw.de |
> https://www.instagram.com/_lfsaw/
>
>
>
>
>
>
>
>
>
>
>
> > On 20. Jan 2021, at 13:31, Till Bovermann  wrote:
> >
> > thanks!
> >
> >
> > out of curiosity; is there a place where I can see which scale-types are
> implemented?
> >
> > cheers
> >   Till
> >
> >
> >
> > --
> > Till Bovermann
> >
> > https://tai-studio.org | http://lfsaw.de |
> https://www.instagram.com/_lfsaw/
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >> On 20. Jan 2021, at 11:36, Stéphane Letz  wrote:
> >>
> >> scale:log are not implemented in the Faust Web IDE, added on the TODO
> list.
> >>
> >> Stéphane
> >>
> >>> Le 20 janv. 2021 à 09:32, Till Bovermann  a écrit :
> >>>
> >>> Hello :)
> >>>
> >>>
> >>> I discovered that the scale identifier behaves differently in faustIDE
> to how it behaves in e.g. faust2caqt:
> >>>
> >>>
> >>> // this in faustIDE
> >>> peakB = hslider("[3]peakB[scale:exp]",500,50,1,0.1);
> >>>
> >>> // behaves like this in faust2caqt
> >>> peakB = hslider("[3]peakB[scale:log]",500,50,1,0.1);
> >>>
> >>>
> >>> I guess this is some kind of misunderstanding/different interpretation
> of the keyword somewhere?
> >>>
> >>>
> >>> cheers
> >>> Till
> >>>
> >>>
> >>> --
> >>> Till Bovermann
> >>>
> >>> https://tai-studio.org | http://lfsaw.de |
> https://www.instagram.com/_lfsaw/
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ___
> >>> Faudiostream-users mailing list
> >>> Faudiostream-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> >>
> >
> >
> >
> > ___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
>
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Online Editor - Knob Not Working

2019-09-08 Thread Seth Shafer
Hi, I'm testing some simple ideas in the Online Editor and the knob UI
isn't working. I see the knob, it displays the default value, but it
doesn't respond to any mouse clicks. I've tried this on Chrome
76.0.3809.132 primarily, but also on Firefox and Safari. I'm running MacOS
10.13.6. Does anyone else experience this?
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users