You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be great to be able to load samples as base64 strings directly in the code.
This would make a piece of strudel much more self contained, as it does not depend on external resources.
The editor could truncate / hide base64 strings using https://codemirror.net/docs/ref/#view.Decoration%5Ereplace to not clutter the screen with characters.
maybe the base64 strings can be obtained by running:
samples(...).convert64
though it should probably only convert the sounds that are actually used in the pattern.
to find out which ones are used, the pattern could be queried for 100 cycles or something, then the above would be replaced automatically by:
samples({bd: '<base64>',sd'<base64>',hh['<base64>','<base64>'],// remaining sounds that are used in the first 100 cycles or something});
The text was updated successfully, but these errors were encountered:
it would be great to be able to load samples as base64 strings directly in the code.
This would make a piece of strudel much more self contained, as it does not depend on external resources.
The editor could truncate / hide base64 strings using https://codemirror.net/docs/ref/#view.Decoration%5Ereplace to not clutter the screen with characters.
maybe the base64 strings can be obtained by running:
though it should probably only convert the sounds that are actually used in the pattern.
to find out which ones are used, the pattern could be queried for 100 cycles or something, then the above would be replaced automatically by:
The text was updated successfully, but these errors were encountered: