This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from contextlib import contextmanager | |
| import numpy as np | |
| import torch | |
| from torch import Tensor, ByteTensor | |
| import torch.nn.functional as F | |
| from torch.autograd import Variable | |
| import pycuda.driver | |
| from pycuda.gl import graphics_map_flags | |
| from glumpy import app, gloo, gl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MIT License | |
| Copyright (c) 2017 Jan Schlüter | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ### steps #### | |
| # Verify the system has a cuda-capable gpu | |
| # Download and install the nvidia cuda toolkit and cudnn | |
| # Setup environmental variables | |
| # Verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| USAGE: | |
| morphagene_ableton.py -w <inputwavfile> -l <inputlabels> -o <outputfile>' | |
| Instructions in Ableton: | |
| Insert locators as splice markers in your project (Create > Add Locator) | |
| Export Audio/Video with | |
| Sample Rate: 48000 Hz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const fetch = require('node-fetch'); | |
| const msautils = require('./utils'); | |
| let apikey; | |
| function setApiKey(_apikey) { | |
| apikey = _apikey; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //! @brief Pattern file recorder/playback | |
| //! | |
| //! The purpose is to allow capure and playback of streamed pattern data. The | |
| //! recorder is intended to capture raw data and sync packets directly from the | |
| //! listener (ie, before mapping or color/brightness manipulation is applied). | |
| //! During playback, the raw packets are sent to the mapper for processing. | |
| //! This allows the mapping and output settings to be adjusted after recording. | |
| //! | |
| //! Packets are recorded with a time resolution of 1 ms. | |
| //! |
OlderNewer